blob: 40eff3839d5edefc6e86b6bb909b3f6204c1f1f4 [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. Takaokaf451ed22011-09-20 16:16:34 +090021<com.android.inputmethod.latin.InputView
Tadashi G. Takaokac150acc2011-05-23 18:30:21 +090022 xmlns:android="http://schemas.android.com/apk/res/android"
Tadashi G. Takaokac150acc2011-05-23 18:30:21 +090023 android:orientation="vertical"
24 android:layout_width="match_parent"
25 android:layout_height="wrap_content"
26>
Tadashi G. Takaokac8b0e572012-03-07 15:30:16 +090027 <!-- The height of key_preview_backing view will automatically be determined by code. -->
Tadashi G. Takaokaabb0c772011-09-02 21:03:18 +090028 <View
29 android:id="@+id/key_preview_backing"
30 android:layout_width="match_parent"
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +090031 android:layout_height="0dp" />
Tadashi G. Takaokaabb0c772011-09-02 21:03:18 +090032
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090033 <!-- On tablets, the suggestions strip is centered with horizontal paddings on both sides
34 because width of the landscape mode is too long for the suggestions strip. This
35 LinearLayout is required to hold the paddings. -->
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090036 <LinearLayout
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090037 android:id="@+id/suggestions_container"
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090038 android:orientation="horizontal"
satoka0f87392010-05-14 22:20:13 +090039 android:layout_width="match_parent"
Tadashi G. Takaoka2b9eb152011-06-24 07:52:35 +090040 android:layout_height="wrap_content"
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090041 >
42 <View
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090043 android:layout_width="@dimen/suggestions_strip_padding"
44 android:layout_height="@dimen/suggestions_strip_height"
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090045 style="?attr/suggestionsStripBackgroundStyle" />
Tadashi G. Takaoka47026712012-07-23 15:28:28 +090046 <com.android.inputmethod.latin.suggestions.SuggestionStripView
47 android:id="@+id/suggestion_strip_view"
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090048 android:layout_weight="1.0"
49 android:layout_width="0dp"
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090050 android:layout_height="@dimen/suggestions_strip_height"
Tadashi G. Takaokaf9211292011-06-20 23:23:33 +090051 android:gravity="center_vertical"
Tadashi G. Takaoka47026712012-07-23 15:28:28 +090052 style="?attr/suggestionStripViewStyle" />
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090053 <View
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +090054 android:layout_width="@dimen/suggestions_strip_padding"
55 android:layout_height="@dimen/suggestions_strip_height"
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090056 style="?attr/suggestionsStripBackgroundStyle" />
57 </LinearLayout>
58
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +090059 <com.android.inputmethod.keyboard.MainKeyboardView
Tadashi G. Takaoka070760d2011-06-13 14:46:37 +090060 android:id="@+id/keyboard_view"
61 android:layout_alignParentBottom="true"
62 android:layout_width="match_parent"
63 android:layout_height="wrap_content" />
Tadashi G. Takaokaf451ed22011-09-20 16:16:34 +090064</com.android.inputmethod.latin.InputView>