blob: 0b682d19876c0a3a80bbf791079d7c9bba748f6c [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. -->
28 <View
29 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"
44 android:layout_height="@dimen/suggestions_strip_height"
45 android:gravity="center_vertical"
46 android:paddingRight="@dimen/suggestions_strip_padding"
47 android:paddingLeft="@dimen/suggestions_strip_padding"
48 style="?attr/suggestionStripViewStyle" />
Ken Wakasac160a392013-08-30 07:50:37 +000049
Satoshi Kataoka51699372013-08-30 10:28:01 +000050 <!-- To ensure that key preview popup is correctly placed when the current system locale is
51 one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. -->
52 <com.android.inputmethod.keyboard.MainKeyboardView
53 android:id="@+id/keyboard_view"
54 android:layoutDirection="ltr"
55 android:layout_width="match_parent"
56 android:layout_height="wrap_content" />
57 </LinearLayout>
58 <include
59 layout="@layout/emoji_keyboard_view" />
Tadashi G. Takaokaf451ed22011-09-20 16:16:34 +090060</com.android.inputmethod.latin.InputView>