summaryrefslogtreecommitdiffstats
path: root/res/layout/grid_picker_dialog.xml
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2014-10-21 16:51:54 -0700
committerAlan Viverette <alanv@google.com>2014-10-21 16:51:54 -0700
commit285fb047113b3af35f780941361c715b56efcdb0 (patch)
treee39fcac01b54de50a66c959d273a9aa5a9d8a580 /res/layout/grid_picker_dialog.xml
parent2f90c4cd52326b712e4f886976f27d6610162a82 (diff)
downloadpackages_apps_Settings-285fb047113b3af35f780941361c715b56efcdb0.zip
packages_apps_Settings-285fb047113b3af35f780941361c715b56efcdb0.tar.gz
packages_apps_Settings-285fb047113b3af35f780941361c715b56efcdb0.tar.bz2
Adjust caption preset picker items dimens for Material
BUG: 18027521 Change-Id: Icce397410af495639df0b6852b21c159ec103ed8
Diffstat (limited to 'res/layout/grid_picker_dialog.xml')
-rw-r--r--res/layout/grid_picker_dialog.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/res/layout/grid_picker_dialog.xml b/res/layout/grid_picker_dialog.xml
index a52f079..1e04188 100644
--- a/res/layout/grid_picker_dialog.xml
+++ b/res/layout/grid_picker_dialog.xml
@@ -17,16 +17,21 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent" >
+ android:layout_height="match_parent"
+ android:paddingStart="24dp"
+ android:paddingTop="16dp"
+ android:paddingEnd="24dp">
<GridView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:columnWidth="112dp"
+ android:horizontalSpacing="16dp"
+ android:verticalSpacing="16dp"
android:numColumns="auto_fit"
+ android:columnWidth="96dp"
android:scrollbarStyle="insideOverlay"
- android:stretchMode="spacingWidthUniform" />
+ android:stretchMode="columnWidth" />
<!-- HACK: Setting minHeight has no effect within a dialog layout,
so this view keeps the minimum height above 300dp. -->