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-port | |
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-port')
-rw-r--r-- | res/layout-port/launcher.xml | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index 30eba1c7d..0fee045fc 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -33,20 +33,12 @@ <!-- Keep these behind the workspace so that they are not visible when we go into AllApps --> <include - android:id="@+id/dock_divider" - layout="@layout/workspace_divider" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/button_bar_height" - android:layout_gravity="bottom" /> - - <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_marginBottom="@dimen/button_bar_height" /> + android:layout_gravity="bottom|center_horizontal" + android:layout_marginBottom="@dimen/button_bar_height_plus_padding" /> <!-- The workspace contains 5 screens of cells --> <com.android.launcher3.Workspace @@ -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"> </com.android.launcher3.Workspace> |