blob: 7bfda3ae27ce5112bbe2dddb51b1ff67ea8fda23 [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:layout_width="match_parent"
24 android:layout_height="wrap_content"
Satoshi Kataoka51699372013-08-30 10:28:01 +000025 android:gravity="bottom|center_horizontal"
26 android:orientation="vertical" >
Ken Wakasac160a392013-08-30 07:50:37 +000027 <!-- The height of key_preview_backing view will automatically be determined by code. -->
Yohei Yukawa1a1c5e02014-08-16 12:34:01 +090028 <RelativeLayout
Ken Wakasac160a392013-08-30 07:50:37 +000029 android:id="@+id/key_preview_backing"
30 android:layout_width="match_parent"
31 android:layout_height="0dp" />
Satoshi Kataoka51699372013-08-30 10:28:01 +000032 <LinearLayout
33 android:id="@+id/main_keyboard_frame"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:orientation="vertical" >
Ken Wakasac160a392013-08-30 07:50:37 +000037
Satoshi Kataoka51699372013-08-30 10:28:01 +000038 <!-- To ensure that key preview popup is correctly placed when the current system locale is
39 one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. -->
40 <com.android.inputmethod.latin.suggestions.SuggestionStripView
41 android:id="@+id/suggestion_strip_view"
42 android:layoutDirection="ltr"
43 android:layout_width="match_parent"
Ken Wakasa2fa36932013-12-13 17:09:16 +090044 android:layout_height="@dimen/config_suggestions_strip_height"
Satoshi Kataoka51699372013-08-30 10:28:01 +000045 android:gravity="center_vertical"
Satoshi Kataoka51699372013-08-30 10:28:01 +000046 style="?attr/suggestionStripViewStyle" />
Ken Wakasac160a392013-08-30 07:50:37 +000047
Satoshi Kataoka51699372013-08-30 10:28:01 +000048 <!-- To ensure that key preview popup is correctly placed when the current system locale is
49 one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. -->
50 <com.android.inputmethod.keyboard.MainKeyboardView
51 android:id="@+id/keyboard_view"
52 android:layoutDirection="ltr"
53 android:layout_width="match_parent"
54 android:layout_height="wrap_content" />
55 </LinearLayout>
56 <include
Satoshi Kataokad76b5522013-10-07 11:28:57 +090057 layout="@layout/emoji_palettes_view" />
Tadashi G. Takaokaf451ed22011-09-20 16:16:34 +090058</com.android.inputmethod.latin.InputView>