summaryrefslogtreecommitdiffstats
path: root/res/layout/preference_tts_engine.xml
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2014-06-17 19:22:42 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2014-06-17 19:22:42 -0700
commitb6679d2b5250c7675010d6e228f68d60baa9be4b (patch)
tree6cade771923b15da0d2a801ea04c41aff0436fc8 /res/layout/preference_tts_engine.xml
parente767d2ea97ef67dca22bdd3e0a18c47299923960 (diff)
downloadpackages_apps_Settings-b6679d2b5250c7675010d6e228f68d60baa9be4b.zip
packages_apps_Settings-b6679d2b5250c7675010d6e228f68d60baa9be4b.tar.gz
packages_apps_Settings-b6679d2b5250c7675010d6e228f68d60baa9be4b.tar.bz2
Fix Language & Input Settings layouts padding - part 2
- make padding consistent with the rest of the Settings App - make input methods and tts engines list item consistent See bug: #15384992 Setting Dashboard - padding updates Change-Id: I403adc579adcf4bc31bc198677463177a41bb5ec
Diffstat (limited to 'res/layout/preference_tts_engine.xml')
-rw-r--r--res/layout/preference_tts_engine.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/res/layout/preference_tts_engine.xml b/res/layout/preference_tts_engine.xml
index a9d0043..db0febe 100644
--- a/res/layout/preference_tts_engine.xml
+++ b/res/layout/preference_tts_engine.xml
@@ -18,8 +18,11 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical">
+
<LinearLayout
android:id="@+id/tts_engine_pref"
android:layout_width="wrap_content"
@@ -29,15 +32,15 @@
android:clickable="true"
android:focusable="true"
android:background="?android:attr/selectableItemBackground">
+
<RadioButton
android:id="@+id/tts_engine_radiobutton"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_marginStart="10dip"
- android:layout_marginEnd="4dip"
android:layout_gravity="center_vertical"
android:orientation="vertical"
android:clickable="true" />
+
<RelativeLayout
android:id="@+id/tts_engine_pref_text"
android:layout_width="wrap_content"
@@ -47,6 +50,7 @@
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1">
+
<TextView
android:id="@android:id/title"
android:layout_width="wrap_content"
@@ -55,6 +59,7 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:ellipsize="marquee"
android:fadingEdge="horizontal"/>
+
<TextView
android:id="@android:id/summary"
android:layout_width="wrap_content"
@@ -66,14 +71,18 @@
android:textSize="13sp"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="4" />
+
</RelativeLayout>
+
</LinearLayout>
+
<View
android:layout_width="2dip"
android:layout_height="match_parent"
android:layout_marginTop="5dip"
android:layout_marginBottom="5dip"
android:background="@android:drawable/divider_horizontal_dark" />
+
<ImageView
android:id="@+id/tts_engine_settings"
android:layout_width="wrap_content"
@@ -86,4 +95,5 @@
android:clickable="true"
android:focusable="true"
android:background="?android:attr/selectableItemBackground" />
+
</LinearLayout>