diff options
author | 2013-02-18 00:26:15 -0800 | |
---|---|---|
committer | 2013-02-18 00:26:15 -0800 | |
commit | c4932d2616388c8102bc253d3e8501f4e3d1ab67 (patch) | |
tree | 15ff7c51bf120ed6ed9f1075879bfe5204a3a06e /java | |
parent | a2f89c525d06499cc5d39208c9fc64d3a0d35c49 (diff) | |
parent | da348e11ad43b5eaf70a6bad8551a86cd43a6512 (diff) | |
download | latinime-c4932d2616388c8102bc253d3e8501f4e3d1ab67.tar.gz latinime-c4932d2616388c8102bc253d3e8501f4e3d1ab67.tar.xz latinime-c4932d2616388c8102bc253d3e8501f4e3d1ab67.zip |
am da348e11: Fix layout direction of Keyboard and Suggestions view
* commit 'da348e11ad43b5eaf70a6bad8551a86cd43a6512':
Fix layout direction of Keyboard and Suggestions view
Diffstat (limited to 'java')
-rw-r--r-- | java/res/layout/input_view.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/res/layout/input_view.xml b/java/res/layout/input_view.xml index 40eff3839..136e18cd5 100644 --- a/java/res/layout/input_view.xml +++ b/java/res/layout/input_view.xml @@ -43,8 +43,11 @@ android:layout_width="@dimen/suggestions_strip_padding" android:layout_height="@dimen/suggestions_strip_height" style="?attr/suggestionsStripBackgroundStyle" /> + <!-- To ensure that key preview popup is correctly placed when the current system locale is + one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. --> <com.android.inputmethod.latin.suggestions.SuggestionStripView android:id="@+id/suggestion_strip_view" + android:layoutDirection="ltr" android:layout_weight="1.0" android:layout_width="0dp" android:layout_height="@dimen/suggestions_strip_height" @@ -56,8 +59,11 @@ style="?attr/suggestionsStripBackgroundStyle" /> </LinearLayout> + <!-- To ensure that key preview popup is correctly placed when the current system locale is + one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. --> <com.android.inputmethod.keyboard.MainKeyboardView android:id="@+id/keyboard_view" + android:layoutDirection="ltr" android:layout_alignParentBottom="true" android:layout_width="match_parent" android:layout_height="wrap_content" /> |