diff options
author | Winson Chung <winsonc@google.com> | 2013-07-16 11:11:32 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2013-07-17 11:15:22 -0700 |
commit | d2be381d36485059d0108ae89cfe57a30a7a8499 (patch) | |
tree | 105185b3b15aed3a1ea825a8f6f73e54a1c5fec2 /res/layout/apps_customize_pane.xml | |
parent | b5da44583957ffe9b0311074eeb77d33e753a9e5 (diff) | |
download | android_packages_apps_Trebuchet-d2be381d36485059d0108ae89cfe57a30a7a8499.tar.gz android_packages_apps_Trebuchet-d2be381d36485059d0108ae89cfe57a30a7a8499.tar.bz2 android_packages_apps_Trebuchet-d2be381d36485059d0108ae89cfe57a30a7a8499.zip |
Removing old scroll indicator and adding page indicator dots.
Change-Id: I44c5b4b532e8464010d45dd0a3dfeccb2d475216
Diffstat (limited to 'res/layout/apps_customize_pane.xml')
-rw-r--r-- | res/layout/apps_customize_pane.xml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/res/layout/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml index 7efe48638..c64b7cead 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" /> <FrameLayout android:id="@+id/animation_buffer" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#FF000000" android:visibility="gone" /> - <include - android:id="@+id/paged_view_indicator" - layout="@layout/scroll_indicator" + android:id="@+id/page_indicator" + layout="@layout/page_indicator" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="bottom" /> + android:layout_gravity="bottom|center_horizontal" + android:layout_marginBottom="@dimen/apps_customize_page_indicator_margin" /> </FrameLayout> </LinearLayout> |