aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-03-29 15:58:26 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-03-29 15:58:26 +0900
commit2eb8781dc2e42d55474fb6e5c461c56c066b8363 (patch)
tree638e0224ab71ba91adee8ac1d5dc5907add31e28 /java/res/layout
parentfc50a410782008e510fb95aa69d583a8f8e40c3f (diff)
downloadlatinime-2eb8781dc2e42d55474fb6e5c461c56c066b8363.tar.gz
latinime-2eb8781dc2e42d55474fb6e5c461c56c066b8363.tar.xz
latinime-2eb8781dc2e42d55474fb6e5c461c56c066b8363.zip
Separate leftward arrow from "add to dictionary" hint text
Bug: 6008875 Change-Id: I2be1698e485bc6541163771f41b8b82eaa3cee7a
Diffstat (limited to 'java/res/layout')
-rw-r--r--java/res/layout/hint_add_to_dictionary.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/java/res/layout/hint_add_to_dictionary.xml b/java/res/layout/hint_add_to_dictionary.xml
new file mode 100644
index 000000000..73de44fae
--- /dev/null
+++ b/java/res/layout/hint_add_to_dictionary.xml
@@ -0,0 +1,36 @@
+<?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/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/suggestionBackgroundStyle" />