diff options
author | Jason Monk <jmonk@google.com> | 2015-05-12 11:33:34 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-05-12 14:58:09 -0400 |
commit | c27f9e179adef2061e0000385f350874a7772c4e (patch) | |
tree | 05499c81aaf1111f2757121fc0adfdfef83b2d3f /res/layout/single_button_panel.xml | |
parent | 41f47bbcb301ebdf27069ccb76395d303bf17144 (diff) | |
download | packages_apps_Settings-c27f9e179adef2061e0000385f350874a7772c4e.tar.gz packages_apps_Settings-c27f9e179adef2061e0000385f350874a7772c4e.tar.bz2 packages_apps_Settings-c27f9e179adef2061e0000385f350874a7772c4e.zip |
App info > storage updates
- Fix button theme
- Hide move dropdown when can't move
- Cleanup by switching to using a horizontal preference layout, rather
than custom layouts
Bug: 21060534
Change-Id: I2cc3ab4063ff6b4dfe873f9152b34130d702faae
Diffstat (limited to 'res/layout/single_button_panel.xml')
-rwxr-xr-x | res/layout/single_button_panel.xml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/res/layout/single_button_panel.xml b/res/layout/single_button_panel.xml index 5f1fee9c5..2af176569 100755 --- a/res/layout/single_button_panel.xml +++ b/res/layout/single_button_panel.xml @@ -22,15 +22,20 @@ 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:gravity="bottom" - android:paddingTop="4dip" + android:paddingTop="6dip" + android:paddingBottom="6dip" android:orientation="horizontal"> <Button android:id="@+id/button" android:layout_width="120dip" android:layout_weight="0.4" android:layout_height="wrap_content" - android:layout_gravity="center_vertical" /> + android:layout_gravity="center_vertical" + android:backgroundTint="?android:attr/colorAccent" + android:textColor="@android:color/white" /> <Space android:layout_width="0dip" android:layout_height="wrap_content" |