diff --git a/res/drawable-hdpi/active_page.png b/res/drawable-hdpi/active_page.png new file mode 100644 index 0000000000..ce2d5b1699 Binary files /dev/null and b/res/drawable-hdpi/active_page.png differ diff --git a/res/drawable-hdpi/inactive_page.png b/res/drawable-hdpi/inactive_page.png new file mode 100644 index 0000000000..2186f519a8 Binary files /dev/null and b/res/drawable-hdpi/inactive_page.png differ diff --git a/res/drawable-mdpi/active_page.png b/res/drawable-mdpi/active_page.png new file mode 100644 index 0000000000..9e23eccb0b Binary files /dev/null and b/res/drawable-mdpi/active_page.png differ diff --git a/res/drawable-mdpi/inactive_page.png b/res/drawable-mdpi/inactive_page.png new file mode 100644 index 0000000000..9468a62edb Binary files /dev/null and b/res/drawable-mdpi/inactive_page.png differ diff --git a/res/drawable-xhdpi/active_page.png b/res/drawable-xhdpi/active_page.png new file mode 100644 index 0000000000..c43e67c40f Binary files /dev/null and b/res/drawable-xhdpi/active_page.png differ diff --git a/res/drawable-xhdpi/inactive_page.png b/res/drawable-xhdpi/inactive_page.png new file mode 100644 index 0000000000..ae3f9885b7 Binary files /dev/null and b/res/drawable-xhdpi/inactive_page.png differ diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 6dfbf21a51..8ee1413ee1 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -45,9 +45,7 @@ launcher:cellCountY="@integer/cell_count_y" launcher:pageSpacing="@dimen/workspace_page_spacing" launcher:scrollIndicatorPaddingLeft="@dimen/qsb_bar_height" - launcher:scrollIndicatorPaddingRight="@dimen/button_bar_height"> - - + launcher:scrollIndicatorPaddingRight="@dimen/button_bar_height" /> - - - - - - + android:layout_gravity="bottom|center_horizontal" + android:layout_marginBottom="@dimen/button_bar_height_plus_padding" /> diff --git a/res/layout-sw600dp-land/launcher.xml b/res/layout-sw600dp-land/launcher.xml new file mode 100644 index 0000000000..8e45028b87 --- /dev/null +++ b/res/layout-sw600dp-land/launcher.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout-sw720dp/launcher.xml b/res/layout-sw720dp/launcher.xml index dff3b26419..852d1ec21c 100644 --- a/res/layout-sw720dp/launcher.xml +++ b/res/layout-sw720dp/launcher.xml @@ -33,19 +33,11 @@ - - @@ -62,6 +54,7 @@ launcher:cellCountX="@integer/cell_count_x" launcher:cellCountY="@integer/cell_count_y" launcher:pageSpacing="@dimen/workspace_page_spacing" + launcher:pageIndicator="@id/page_indicator" launcher:scrollIndicatorPaddingLeft="@dimen/workspace_divider_padding_left" launcher:scrollIndicatorPaddingRight="@dimen/workspace_divider_padding_right"> diff --git a/res/layout/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml index 7efe486382..c64b7ceadd 100644 --- a/res/layout/apps_customize_pane.xml +++ b/res/layout/apps_customize_pane.xml @@ -55,6 +55,7 @@ android:id="@+id/apps_customize_pane_content" android:layout_width="match_parent" android:layout_height="match_parent" + android:layout_marginBottom="@dimen/apps_customize_page_indicator_height" android:layout_gravity="center" launcher:maxAppCellCountX="@integer/apps_customize_maxCellCountX" launcher:maxAppCellCountY="@integer/apps_customize_maxCellCountY" @@ -70,20 +71,21 @@ launcher:widgetCountY="@integer/apps_customize_widget_cell_count_y" launcher:clingFocusedX="@integer/apps_customize_cling_focused_x" launcher:clingFocusedY="@integer/apps_customize_cling_focused_y" - launcher:maxGap="@dimen/workspace_max_gap" /> + launcher:maxGap="@dimen/workspace_max_gap" + launcher:pageIndicator="@+id/page_indicator" /> - + android:layout_gravity="bottom|center_horizontal" + android:layout_marginBottom="@dimen/apps_customize_page_indicator_margin" /> diff --git a/res/layout/page_indicator.xml b/res/layout/page_indicator.xml new file mode 100644 index 0000000000..8aae752c53 --- /dev/null +++ b/res/layout/page_indicator.xml @@ -0,0 +1,20 @@ + + + + diff --git a/res/layout/page_indicator_marker.xml b/res/layout/page_indicator_marker.xml new file mode 100644 index 0000000000..0260e7e4eb --- /dev/null +++ b/res/layout/page_indicator_marker.xml @@ -0,0 +1,34 @@ + + + + + + diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 0c37e3ce92..1545083791 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -97,6 +97,8 @@ + + diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 3fe53d274a..2bfb31cc72 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -77,6 +77,10 @@ 10dp 8dp + + 12dp + 4dp + 62dip