diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-06-02 17:14:11 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-06-02 17:14:11 -0700 |
commit | e89aecdd0fb19d73c18ce3fe14f6591ddbe85aee (patch) | |
tree | 2fdc31914cc6ec33e75a141e89084ef313f7e8dc /res/layout | |
parent | e9cb75c636234e44c94b38a877f3c60091d907dc (diff) | |
download | packages_apps_Settings-e89aecdd0fb19d73c18ce3fe14f6591ddbe85aee.zip packages_apps_Settings-e89aecdd0fb19d73c18ce3fe14f6591ddbe85aee.tar.gz packages_apps_Settings-e89aecdd0fb19d73c18ce3fe14f6591ddbe85aee.tar.bz2 |
Setting Dashboard - padding updates
- following UX design for N5 device
See bug #15384992
Change-Id: Id548ae0937b1aa9b7a9e1ae5c6a6b8299ff51eb6
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/dashboard.xml | 4 | ||||
-rw-r--r-- | res/layout/dashboard_category.xml | 3 | ||||
-rw-r--r-- | res/layout/dashboard_tile.xml | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/res/layout/dashboard.xml b/res/layout/dashboard.xml index c6c7292..3c6e096 100644 --- a/res/layout/dashboard.xml +++ b/res/layout/dashboard.xml @@ -18,8 +18,8 @@ android:id="@+id/dashboard" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingStart="@*android:dimen/preference_fragment_padding_side" - android:paddingEnd="@*android:dimen/preference_fragment_padding_side" + android:paddingStart="@dimen/dashboard_padding_start" + android:paddingEnd="@dimen/dashboard_padding_end" android:scrollbarStyle="outsideOverlay" android:background="@color/dashboard_background_color"> diff --git a/res/layout/dashboard_category.xml b/res/layout/dashboard_category.xml index 1099dda..6e90fa9 100644 --- a/res/layout/dashboard_category.xml +++ b/res/layout/dashboard_category.xml @@ -23,10 +23,11 @@ <TextView android:id="@+id/category_title" android:layout_width="match_parent" android:layout_height="@dimen/dashboard_category_title_height" + android:paddingStart="@dimen/dashboard_category_title_padding_start" android:singleLine="true" android:ellipsize="marquee" android:gravity="center_vertical" - android:textAppearance="@style/TextAppearance.Small" + android:textAppearance="@style/TextAppearance.CategoryTitle" android:textAlignment="viewStart" /> diff --git a/res/layout/dashboard_tile.xml b/res/layout/dashboard_tile.xml index 2a811b2..5553050 100644 --- a/res/layout/dashboard_tile.xml +++ b/res/layout/dashboard_tile.xml @@ -39,7 +39,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" - android:textAppearance="@style/TextAppearance.Medium" + android:textAppearance="@style/TextAppearance.TileTitle" android:ellipsize="marquee" android:fadingEdge="horizontal" /> |