blob: 52b5eccc6ddea2d60a712db263f87e98b344b2aa [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. Takaoka070760d2011-06-13 14:46:37 +090028 <!-- On tablets, the candidate strip is centered with horizontal paddings on both sides because
29 width of the landscape mode is too long for the candidate strip. This LinearLayout is
30 required to hold the paddings. -->
31 <LinearLayout
32 android:id="@+id/candidates_container"
33 android:orientation="horizontal"
satoka0f87392010-05-14 22:20:13 +090034 android:layout_width="match_parent"
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090035 android:layout_height="@dimen/candidate_strip_minimum_height"
36 android:gravity="bottom"
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090037 >
38 <View
39 android:layout_width="@dimen/candidate_strip_padding"
40 android:layout_height="@dimen/candidate_strip_height"
41 style="?attr/suggestionsStripBackgroundStyle" />
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090042 <com.android.inputmethod.latin.CandidateView
43 android:id="@+id/candidates"
44 android:layout_weight="1.0"
45 android:layout_width="0dp"
46 android:layout_height="@dimen/candidate_strip_height"
47 android:gravity="center_vertical"
48 style="?attr/suggestionsStripBackgroundStyle" />
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090049 <View
50 android:layout_width="@dimen/candidate_strip_padding"
51 android:layout_height="@dimen/candidate_strip_height"
52 style="?attr/suggestionsStripBackgroundStyle" />
53 </LinearLayout>
54
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090055 <LinearLayout
56 android:id="@+id/candidates_pane_container"
57 android:orientation="horizontal"
58 android:layout_width="match_parent"
59 android:layout_height="wrap_content"
60 android:visibility="gone"
61 style="?attr/suggestionsStripBackgroundStyle"
62 >
63 <View
64 android:layout_width="@dimen/candidate_strip_padding"
65 android:layout_height="@dimen/candidate_strip_height" />
66 <FrameLayout
67 android:id="@+id/candidates_pane"
68 android:layout_weight="1.0"
69 android:layout_width="0dp"
70 android:layout_height="match_parent" />
71 <View
72 android:layout_width="@dimen/candidate_strip_padding"
73 android:layout_height="@dimen/candidate_strip_height" />
74 </LinearLayout>
75
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090076 <com.android.inputmethod.keyboard.LatinKeyboardView
77 android:id="@+id/keyboard_view"
78 android:layout_alignParentBottom="true"
79 android:layout_width="match_parent"
80 android:layout_height="wrap_content" />
Tadashi G. Takaokac150acc2011-05-23 18:30:21 +090081</LinearLayout>