summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-11-28 17:41:16 -0800
committerJeff Sharkey <jsharkey@android.com>2012-11-29 14:50:11 -0800
commit4166ec39ecd8a2066f4426e1b359a0b1f95af05e (patch)
tree5dc172a9379623a8abc95b8e8c331f3dddde387f /res/layout
parentc2b43dbee88e3cc12f267610fc077b021f31207a (diff)
downloadpackages_apps_settings-4166ec39ecd8a2066f4426e1b359a0b1f95af05e.zip
packages_apps_settings-4166ec39ecd8a2066f4426e1b359a0b1f95af05e.tar.gz
packages_apps_settings-4166ec39ecd8a2066f4426e1b359a0b1f95af05e.tar.bz2
Use uniform font size for APNs and timezones. DO NOT MERGE.
Also get rid of some orange highlight! Bug: 7632945 Change-Id: I6a4b59f4eef81b128d128f5a429fb96f6366843a
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/apn_preference_layout.xml19
1 files changed, 9 insertions, 10 deletions
diff --git a/res/layout/apn_preference_layout.xml b/res/layout/apn_preference_layout.xml
index 76c9c3d..b79b0b9 100644
--- a/res/layout/apn_preference_layout.xml
+++ b/res/layout/apn_preference_layout.xml
@@ -23,15 +23,14 @@
<RelativeLayout
android:id="@+android:id/text_layout"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="16sp"
- android:layout_marginEnd="6sp"
- android:layout_marginTop="6sp"
- android:layout_marginBottom="6sp"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip"
+ android:gravity="center_vertical"
android:layout_weight="1"
android:focusable="true"
- android:background="@android:drawable/menuitem_background">
+ android:background="?android:attr/selectableItemBackground">
<TextView
android:id="@+android:id/title"
@@ -39,7 +38,7 @@
android:layout_height="wrap_content"
android:focusable="true"
android:singleLine="true"
- android:textAppearance="?android:attr/textAppearanceLarge" />
+ android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+android:id/summary"
@@ -57,8 +56,8 @@
android:id="@+android:id/apn_radiobutton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginStart="4dip"
- android:layout_marginEnd="4dip"
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="8dip"
android:layout_gravity="center_vertical"
android:clickable="true" />