diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-06-18 02:25:17 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-06-17 20:49:29 +0000 |
commit | df7becb8e537e7dd8c57dedc3decd82ee3e452de (patch) | |
tree | 26333bfbaf40ea0037a2f654cbbaafa8d6bd036f /res/layout | |
parent | 4809acffc5051a943c535d355f588d7d30bc4eaa (diff) | |
parent | b6679d2b5250c7675010d6e228f68d60baa9be4b (diff) | |
download | packages_apps_Settings-df7becb8e537e7dd8c57dedc3decd82ee3e452de.zip packages_apps_Settings-df7becb8e537e7dd8c57dedc3decd82ee3e452de.tar.gz packages_apps_Settings-df7becb8e537e7dd8c57dedc3decd82ee3e452de.tar.bz2 |
Merge "Fix Language & Input Settings layouts padding - part 2"
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/preference_inputmethod.xml | 1 | ||||
-rw-r--r-- | res/layout/preference_tts_engine.xml | 14 |
2 files changed, 13 insertions, 2 deletions
diff --git a/res/layout/preference_inputmethod.xml b/res/layout/preference_inputmethod.xml index d0d23e3..9e3d5e3 100644 --- a/res/layout/preference_inputmethod.xml +++ b/res/layout/preference_inputmethod.xml @@ -43,6 +43,7 @@ <RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginStart="15dip" android:layout_marginEnd="6dip" android:layout_marginTop="6dip" android:layout_marginBottom="6dip" 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> |