aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-01-27 19:04:40 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-01-28 15:47:54 +0900
commitbcd30bf3e74c7c10d5b69a54cdf90c6b682a0747 (patch)
tree4e07acc6048ccb2a965100f25d5ffb9d088928de /java/res/layout
parent02b087090e9a4fe1a388bd18939711f988931744 (diff)
downloadlatinime-bcd30bf3e74c7c10d5b69a54cdf90c6b682a0747.tar.gz
latinime-bcd30bf3e74c7c10d5b69a54cdf90c6b682a0747.tar.xz
latinime-bcd30bf3e74c7c10d5b69a54cdf90c6b682a0747.zip
Suggestion strip honors RTL layout
Bug: 9126496 Change-Id: Ia4a1c52bd2a80ea7fe6b9529f2767fee5f9e8aeb
Diffstat (limited to 'java/res/layout')
-rw-r--r--java/res/layout/hint_add_to_dictionary.xml36
-rw-r--r--java/res/layout/suggestions_strip.xml2
2 files changed, 1 insertions, 37 deletions
diff --git a/java/res/layout/hint_add_to_dictionary.xml b/java/res/layout/hint_add_to_dictionary.xml
deleted file mode 100644
index d42908260..000000000
--- a/java/res/layout/hint_add_to_dictionary.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-**
-** Copyright 2012, The Android Open Source Project
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-** http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
--->
-
-<!-- This is derived from suggestion_word.xml without minWidth attribute and padding -->
-<TextView
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:textSize="@dimen/config_suggestion_text_size"
- android:gravity="center"
- android:paddingLeft="0dp"
- android:paddingTop="0dp"
- android:paddingRight="0dp"
- android:paddingBottom="0dp"
- android:focusable="false"
- android:clickable="false"
- android:singleLine="true"
- android:ellipsize="none"
- style="?attr/suggestionWordStyle" />
diff --git a/java/res/layout/suggestions_strip.xml b/java/res/layout/suggestions_strip.xml
index 2ffac179c..85d60e681 100644
--- a/java/res/layout/suggestions_strip.xml
+++ b/java/res/layout/suggestions_strip.xml
@@ -37,7 +37,7 @@
<include
layout="@layout/suggestion_divider" />
<include
- layout="@layout/hint_add_to_dictionary"
+ layout="@layout/suggestion_word"
android:id="@+id/hint_add_to_dictionary" />
</LinearLayout>
</merge>