summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2014-06-24 15:29:08 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2014-06-25 13:59:18 -0700
commit676e9c1167997bde348b368289e2eb27acdf3093 (patch)
treea145fb7f71849231fa1f39bbdf8ffbc8319466f3 /res/layout
parent8b44132467a61b19f0953d0129ddddbfb91dc80b (diff)
downloadpackages_apps_Settings-676e9c1167997bde348b368289e2eb27acdf3093.zip
packages_apps_Settings-676e9c1167997bde348b368289e2eb27acdf3093.tar.gz
packages_apps_Settings-676e9c1167997bde348b368289e2eb27acdf3093.tar.bz2
Update Dashboard layout - part 2
- follow UX spec - tablet UI support - tuning for phone UI See bug: #15384992 Setting Dashboard - padding updates Change-Id: I26fc6a51a4bb608399f319206c27f58c21b4aa64
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/dashboard.xml3
-rw-r--r--res/layout/dashboard_category.xml2
-rw-r--r--res/layout/settings_main.xml4
3 files changed, 8 insertions, 1 deletions
diff --git a/res/layout/dashboard.xml b/res/layout/dashboard.xml
index 6c1ab8f..3c5fc88 100644
--- a/res/layout/dashboard.xml
+++ b/res/layout/dashboard.xml
@@ -19,6 +19,9 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbarStyle="outsideOverlay"
+ android:paddingStart="@dimen/dashboard_side_margin"
+ android:paddingEnd="@dimen/dashboard_side_margin"
+ android:clipToPadding="false"
android:background="@color/dashboard_background_color">
<LinearLayout
diff --git a/res/layout/dashboard_category.xml b/res/layout/dashboard_category.xml
index 0c4f9b6..01afa5d 100644
--- a/res/layout/dashboard_category.xml
+++ b/res/layout/dashboard_category.xml
@@ -18,6 +18,8 @@
android:id="@+id/category"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:paddingStart="@dimen/dashboard_category_padding_start"
+ android:paddingEnd="@dimen/dashboard_category_padding_end"
android:orientation="vertical"
android:background="@android:color/white"
android:layout_marginBottom="8dip"
diff --git a/res/layout/settings_main.xml b/res/layout/settings_main.xml
index ea16d1c..a06096a 100644
--- a/res/layout/settings_main.xml
+++ b/res/layout/settings_main.xml
@@ -20,7 +20,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_height="match_parent"
- android:layout_width="match_parent">
+ android:layout_width="match_parent"
+ android:background="@color/dashboard_background_color">
<LinearLayout
android:orientation="vertical"
@@ -39,6 +40,7 @@
android:id="@+id/prefs"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="@android:color/white"
/>
</LinearLayout>