diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-06-17 15:53:39 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-06-17 15:53:39 -0700 |
commit | ef178541112ce9f22caeca789d393ba073dc662e (patch) | |
tree | 2c2c236ecea4733f36169104f12b67727f27daaa /res | |
parent | 726ee07aba1f7e3a76a5b8bd1d521af0788c8357 (diff) | |
download | packages_apps_Settings-ef178541112ce9f22caeca789d393ba073dc662e.zip packages_apps_Settings-ef178541112ce9f22caeca789d393ba073dc662e.tar.gz packages_apps_Settings-ef178541112ce9f22caeca789d393ba073dc662e.tar.bz2 |
Fix padding in DataUsageSummary layouts
- make it consistent with the rest of the Settings App
Change-Id: Ia0ae31dcea1f4d9f6e477edce076197193fbbb82
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/data_usage_cycles.xml | 4 | ||||
-rw-r--r-- | res/layout/data_usage_header.xml | 4 | ||||
-rw-r--r-- | res/layout/preference.xml | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/res/layout/data_usage_cycles.xml b/res/layout/data_usage_cycles.xml index 2a67d6b..02aa567 100644 --- a/res/layout/data_usage_cycles.xml +++ b/res/layout/data_usage_cycles.xml @@ -19,9 +19,7 @@ android:layout_width="match_parent" android:layout_height="40dip" android:orientation="horizontal" - android:gravity="center_vertical" - android:paddingStart="?android:attr/listPreferredItemPaddingStart" - android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> + android:gravity="center_vertical"> <TextView android:layout_width="wrap_content" diff --git a/res/layout/data_usage_header.xml b/res/layout/data_usage_header.xml index 0a8006b..bc92c34 100644 --- a/res/layout/data_usage_header.xml +++ b/res/layout/data_usage_header.xml @@ -19,7 +19,9 @@ android:layout_height="wrap_content" android:orientation="vertical" android:clipChildren="false" - android:clipToPadding="false"> + android:clipToPadding="false" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> <FrameLayout android:id="@+id/network_switches_container" diff --git a/res/layout/preference.xml b/res/layout/preference.xml index ef4444a..9645679 100644 --- a/res/layout/preference.xml +++ b/res/layout/preference.xml @@ -19,8 +19,6 @@ android:layout_height="wrap_content" android:minHeight="48dip" android:gravity="center_vertical" - android:paddingStart="@*android:dimen/preference_item_padding_side" - android:paddingEnd="?android:attr/scrollbarSize" android:background="?android:attr/selectableItemBackground"> <RelativeLayout |