blob: 328469517cbf8bd447ec7daa1fe7a6942f338c9c [file] [log] [blame]
satoka0f87392010-05-14 22:20:13 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +09005** Copyright 2011, The Android Open Source Project
satoka0f87392010-05-14 22:20:13 +09006**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11** http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
Tadashi G. Takaokac150acc2011-05-23 18:30:21 +090021<LinearLayout
22 xmlns:android="http://schemas.android.com/apk/res/android"
23 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
24 android:orientation="vertical"
25 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
27>
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090028 <!-- On tablets, the suggestions strip is centered with horizontal paddings on both sides
29 because width of the landscape mode is too long for the suggestions strip. This
30 LinearLayout is required to hold the paddings. -->
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090031 <LinearLayout
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090032 android:id="@+id/suggestions_container"
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090033 android:orientation="horizontal"
satoka0f87392010-05-14 22:20:13 +090034 android:layout_width="match_parent"
Tadashi G. Takaoka2b9eb152011-06-24 07:52:35 +090035 android:layout_height="wrap_content"
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090036 android:minHeight="@dimen/suggestions_strip_minimum_height"
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090037 android:gravity="bottom"
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090038 >
39 <View
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090040 android:layout_width="@dimen/suggestions_strip_padding"
41 android:layout_height="@dimen/suggestions_strip_height"
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090042 style="?attr/suggestionsStripBackgroundStyle" />
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090043 <com.android.inputmethod.latin.SuggestionsView
44 android:id="@+id/suggestions_view"
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090045 android:layout_weight="1.0"
46 android:layout_width="0dp"
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090047 android:layout_height="@dimen/suggestions_strip_height"
Tadashi G. Takaokaf9211292011-06-20 23:23:33 +090048 android:gravity="center_vertical"
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090049 style="?attr/suggestionsViewStyle" />
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090050 <View
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090051 android:layout_width="@dimen/suggestions_strip_padding"
52 android:layout_height="@dimen/suggestions_strip_height"
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090053 style="?attr/suggestionsStripBackgroundStyle" />
54 </LinearLayout>
55
56 <com.android.inputmethod.keyboard.LatinKeyboardView
57 android:id="@+id/keyboard_view"
58 android:layout_alignParentBottom="true"
59 android:layout_width="match_parent"
60 android:layout_height="wrap_content" />
Tadashi G. Takaokac150acc2011-05-23 18:30:21 +090061</LinearLayout>