diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-land/launcher.xml | 2 | ||||
-rw-r--r-- | res/layout-port/launcher.xml | 2 | ||||
-rw-r--r-- | res/layout-sw720dp/launcher.xml | 2 | ||||
-rw-r--r-- | res/layout/apps_customize_pane.xml | 13 | ||||
-rw-r--r-- | res/values/attrs.xml | 2 |
5 files changed, 16 insertions, 5 deletions
diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 91fdf45..d84ffaa 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -52,7 +52,7 @@ android:layout_marginRight="@dimen/button_bar_height" android:layout_gravity="right" /> <include - android:id="@+id/paged_view_indicator" + android:id="@+id/paged_view_indicator_horizontal" layout="@layout/scroll_indicator" android:layout_width="wrap_content" android:layout_height="wrap_content" diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index c1afe11..bee7716 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -45,7 +45,7 @@ android:layout_marginBottom="@dimen/button_bar_height" android:layout_gravity="bottom" /> <include - android:id="@+id/paged_view_indicator" + android:id="@+id/paged_view_indicator_horizontal" layout="@layout/scroll_indicator" android:layout_width="wrap_content" android:layout_height="wrap_content" diff --git a/res/layout-sw720dp/launcher.xml b/res/layout-sw720dp/launcher.xml index 0e7f5fa..9631162 100644 --- a/res/layout-sw720dp/launcher.xml +++ b/res/layout-sw720dp/launcher.xml @@ -53,7 +53,7 @@ android:layout_marginBottom="@dimen/button_bar_height_plus_padding" android:layout_gravity="bottom|center_horizontal" /> <include - android:id="@+id/paged_view_indicator" + android:id="@+id/paged_view_indicator_horizontal" layout="@layout/scroll_indicator" android:layout_width="wrap_content" android:layout_height="wrap_content" diff --git a/res/layout/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml index a833611..2753408 100644 --- a/res/layout/apps_customize_pane.xml +++ b/res/layout/apps_customize_pane.xml @@ -78,11 +78,20 @@ android:visibility="gone" /> <include - android:id="@+id/paged_view_indicator" + android:id="@+id/paged_view_indicator_horizontal" layout="@layout/scroll_indicator" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="bottom" /> + android:layout_gravity="bottom" + android:visibility="gone" /> + + <include + android:id="@+id/paged_view_indicator_vertical" + layout="@layout/scroll_indicator" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="right" + android:visibility="gone" /> </FrameLayout> </LinearLayout> diff --git a/res/values/attrs.xml b/res/values/attrs.xml index f8fbf21..ffe202f 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -106,7 +106,9 @@ <attr name="pageSpacing" format="dimension" /> <!-- The padding for the scroll indicator area --> <attr name="scrollIndicatorPaddingLeft" format="dimension" /> + <attr name="scrollIndicatorPaddingTop" format="dimension" /> <attr name="scrollIndicatorPaddingRight" format="dimension" /> + <attr name="scrollIndicatorPaddingBottom" format="dimension" /> </declare-styleable> <!-- AppsCustomizePagedView specific attributes. These attributes are used to |