diff options
author | 2012-09-05 05:23:43 -0700 | |
---|---|---|
committer | 2012-09-05 05:23:43 -0700 | |
commit | ac5f878c94c568f5173fde816ae6ffcd40d71fdc (patch) | |
tree | 466cfbb791e0adb7f00548f9d438701116a792e6 /java/res/layout | |
parent | ea89c5e317d7b3e3723f65395fef0eb3a78774bc (diff) | |
parent | cce6473393db513cde393f3606fe6b57e049ea7a (diff) | |
download | latinime-ac5f878c94c568f5173fde816ae6ffcd40d71fdc.tar.gz latinime-ac5f878c94c568f5173fde816ae6ffcd40d71fdc.tar.xz latinime-ac5f878c94c568f5173fde816ae6ffcd40d71fdc.zip |
am cce64733: am 8a599c42: Merge "Utilize StateListDrawable for key preview background" into jb-mr1-dev
* commit 'cce6473393db513cde393f3606fe6b57e049ea7a':
Utilize StateListDrawable for key preview background
Diffstat (limited to 'java/res/layout')
-rw-r--r-- | java/res/layout/key_preview.xml | 6 | ||||
-rw-r--r-- | java/res/layout/key_preview_ics.xml | 27 |
2 files changed, 30 insertions, 3 deletions
diff --git a/java/res/layout/key_preview.xml b/java/res/layout/key_preview.xml index 6ed892e28..2fcd0c4dd 100644 --- a/java/res/layout/key_preview.xml +++ b/java/res/layout/key_preview.xml @@ -20,8 +20,8 @@ <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" - android:layout_height="80dp" - android:textSize="40dp" + android:layout_height="wrap_content" + android:background="@drawable/keyboard_key_feedback" android:minWidth="32dp" android:gravity="center" - /> +/> diff --git a/java/res/layout/key_preview_ics.xml b/java/res/layout/key_preview_ics.xml new file mode 100644 index 000000000..222e8846c --- /dev/null +++ b/java/res/layout/key_preview_ics.xml @@ -0,0 +1,27 @@ +<?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. +*/ +--> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@drawable/keyboard_key_feedback_ics" + android:minWidth="32dp" + android:gravity="center" +/> |