satok | a0f8739 | 2010-05-14 22:20:13 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
Tadashi G. Takaoka | 13a7419 | 2011-05-24 21:08:20 +0900 | [diff] [blame] | 5 | ** Copyright 2011, The Android Open Source Project |
satok | a0f8739 | 2010-05-14 22:20:13 +0900 | [diff] [blame] | 6 | ** |
| 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. Takaoka | f451ed2 | 2011-09-20 16:16:34 +0900 | [diff] [blame] | 21 | <com.android.inputmethod.latin.InputView |
Tadashi G. Takaoka | c150acc | 2011-05-23 18:30:21 +0900 | [diff] [blame] | 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
Tadashi G. Takaoka | c150acc | 2011-05-23 18:30:21 +0900 | [diff] [blame] | 23 | android:orientation="vertical" |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="wrap_content" |
| 26 | > |
Ken Wakasa | c160a39 | 2013-08-30 07:50:37 +0000 | [diff] [blame] | 27 | <!-- 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" /> |
| 32 | |
Tadashi G. Takaoka | 52d220e | 2013-08-06 10:48:39 +0900 | [diff] [blame] | 33 | <!-- To ensure that key preview popup is correctly placed when the current system locale is |
| 34 | one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. --> |
| 35 | <com.android.inputmethod.latin.suggestions.SuggestionStripView |
| 36 | android:id="@+id/suggestion_strip_view" |
| 37 | android:layoutDirection="ltr" |
satok | a0f8739 | 2010-05-14 22:20:13 +0900 | [diff] [blame] | 38 | android:layout_width="match_parent" |
Tadashi G. Takaoka | 52d220e | 2013-08-06 10:48:39 +0900 | [diff] [blame] | 39 | android:layout_height="@dimen/suggestions_strip_height" |
Ken Wakasa | c160a39 | 2013-08-30 07:50:37 +0000 | [diff] [blame] | 40 | android:gravity="center_vertical" |
Tadashi G. Takaoka | 52d220e | 2013-08-06 10:48:39 +0900 | [diff] [blame] | 41 | android:paddingRight="@dimen/suggestions_strip_padding" |
| 42 | android:paddingLeft="@dimen/suggestions_strip_padding" |
| 43 | style="?attr/suggestionStripViewStyle" /> |
Ken Wakasa | c160a39 | 2013-08-30 07:50:37 +0000 | [diff] [blame] | 44 | |
Tadashi G. Takaoka | da348e1 | 2013-02-15 13:09:32 +0900 | [diff] [blame] | 45 | <!-- To ensure that key preview popup is correctly placed when the current system locale is |
| 46 | one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. --> |
Tadashi G. Takaoka | c8e45dd | 2012-07-23 10:27:14 +0900 | [diff] [blame] | 47 | <com.android.inputmethod.keyboard.MainKeyboardView |
Tadashi G. Takaoka | 070760d | 2011-06-13 14:46:37 +0900 | [diff] [blame] | 48 | android:id="@+id/keyboard_view" |
Tadashi G. Takaoka | da348e1 | 2013-02-15 13:09:32 +0900 | [diff] [blame] | 49 | android:layoutDirection="ltr" |
Ken Wakasa | c160a39 | 2013-08-30 07:50:37 +0000 | [diff] [blame] | 50 | android:layout_alignParentBottom="true" |
| 51 | android:layout_width="match_parent" |
Tadashi G. Takaoka | 070760d | 2011-06-13 14:46:37 +0900 | [diff] [blame] | 52 | android:layout_height="wrap_content" /> |
Tadashi G. Takaoka | f451ed2 | 2011-09-20 16:16:34 +0900 | [diff] [blame] | 53 | </com.android.inputmethod.latin.InputView> |