diff --git a/res/layout-land/dashboard_tile.xml b/res/layout-land/dashboard_tile.xml new file mode 100644 index 00000000000..a81779999a6 --- /dev/null +++ b/res/layout-land/dashboard_tile.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/dashboard.xml b/res/layout/dashboard.xml index 7917c969260..6c1ab8f440c 100644 --- a/res/layout/dashboard.xml +++ b/res/layout/dashboard.xml @@ -18,9 +18,6 @@ android:id="@+id/dashboard" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingStart="@dimen/dashboard_padding_start" - android:paddingEnd="@dimen/dashboard_padding_end" - android:paddingBottom="@dimen/dashboard_padding_bottom" android:scrollbarStyle="outsideOverlay" android:background="@color/dashboard_background_color"> @@ -28,6 +25,10 @@ android:id="@+id/dashboard_container" android:layout_width="match_parent" android:layout_height="match_parent" + android:paddingStart="@dimen/dashboard_padding_start" + android:paddingEnd="@dimen/dashboard_padding_end" + android:paddingTop="@dimen/dashboard_padding_top" + android:paddingBottom="@dimen/dashboard_padding_bottom" android:layout_gravity="center_horizontal" android:orientation="vertical" /> diff --git a/res/layout/dashboard_category.xml b/res/layout/dashboard_category.xml index afa038b87ad..0c4f9b62248 100644 --- a/res/layout/dashboard_category.xml +++ b/res/layout/dashboard_category.xml @@ -18,12 +18,15 @@ android:id="@+id/category" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical"> + android:orientation="vertical" + android:background="@android:color/white" + android:layout_marginBottom="8dip" + android:elevation="@dimen/dashboard_category_elevation"> @@ -27,31 +27,49 @@ android:layout_height="@dimen/dashboard_tile_image_size" android:scaleType="centerInside" android:layout_marginStart="@dimen/dashboard_tile_image_margin_start" - android:layout_marginEnd="@dimen/dashboard_tile_image_margin_end" - /> + android:layout_marginEnd="@dimen/dashboard_tile_image_margin_end" /> - + - + - + - + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/search_panel.xml b/res/layout/search_panel.xml index c892ff98baf..5e8d5875019 100644 --- a/res/layout/search_panel.xml +++ b/res/layout/search_panel.xml @@ -18,8 +18,8 @@ android:id="@+id/dashboard" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingStart="@dimen/search_results_padding_start" - android:paddingEnd="@dimen/search_results_padding_end" + android:paddingStart="@dimen/search_panel_padding_start" + android:paddingEnd="@dimen/search_panel_padding_end" android:background="@color/dashboard_background_color"> + android:orientation="vertical" + android:elevation="@dimen/search_panel_elevation"> @@ -50,6 +53,8 @@ diff --git a/res/layout/search_panel_results_header.xml b/res/layout/search_panel_results_header.xml index 07f77a76c21..7b3f1985399 100644 --- a/res/layout/search_panel_results_header.xml +++ b/res/layout/search_panel_results_header.xml @@ -15,7 +15,7 @@ --> + android:theme="@android:style/Theme.Material" + /> + + diff --git a/res/values-land/dimens.xml b/res/values-land/dimens.xml index 63550d7b878..c9192f1cba6 100755 --- a/res/values-land/dimens.xml +++ b/res/values-land/dimens.xml @@ -25,7 +25,27 @@ 100dp + + 8dp + 0dp + + + 4dp + 4dp + 4dp + 0dp + + + 12dp + 64dp + + 12dp + + + 4dp + 4dp + diff --git a/res/values/dimens.xml b/res/values/dimens.xml index eef43a76842..b0ba50f7266 100755 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -94,19 +94,24 @@ 16dp 72dp - - 1dp + + 0dp + 0dp - 1dp - 1dp - 1dp + 4dp + 4dp + 4dp + 0dp + + + 4dp 48dp - 15dp + 12dp 72dp @@ -115,7 +120,7 @@ 24dp - 16dp + 12dp 32dp @@ -126,18 +131,21 @@ 72dp 16dp - - 1dp - 1dp + + 4dp + + + 4dp + 4dp - 16dp + 12dp 24dp - 16dp + 12dp 32dp diff --git a/res/values/styles.xml b/res/values/styles.xml index f143ebc866c..99a203a5281 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -266,6 +266,7 @@