diff options
author | Tony Wickham <twickham@google.com> | 2016-05-16 09:54:06 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2016-05-17 18:53:57 -0700 |
commit | f549dab31d0fa3e4d0cf8d6025b20e49aafb2d59 (patch) | |
tree | a10ccc74b4d0ad6f353a0a6853950335156c748b /res/layout-port | |
parent | 192ae6ca71b0a1401ad44020b631c634a348597e (diff) | |
download | android_packages_apps_Trebuchet-f549dab31d0fa3e4d0cf8d6025b20e49aafb2d59.tar.gz android_packages_apps_Trebuchet-f549dab31d0fa3e4d0cf8d6025b20e49aafb2d59.tar.bz2 android_packages_apps_Trebuchet-f549dab31d0fa3e4d0cf8d6025b20e49aafb2d59.zip |
Add PageIndicator interface and custom PageIndicatorLine view.
- The current PageIndicator has been renamed to PageIndicatorDots
and PageIndicatorMarker has been renamed to PageIndicatorDot.
- PageIndicatorDots and PageIndicatorLine implement PageIndicator.
- PageIndicatorLine uses scroll progress and number of pages to
draw a line of the correct size and position.
- All of these page indicator files are now in a pageindicators package.
Bug: 27227498
Change-Id: I9230d2e0600ce583989bd31d0b0e252b148d15c2
Diffstat (limited to 'res/layout-port')
-rw-r--r-- | res/layout-port/launcher.xml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index f711274fc..4576e4d06 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -57,12 +57,10 @@ <!-- Keep these behind the workspace so that they are not visible when we go into AllApps --> - <include + <com.android.launcher3.pageindicators.PageIndicatorLine android:id="@+id/page_indicator" - layout="@layout/page_indicator" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" /> + android:layout_width="match_parent" + android:layout_height="1dp" /> <include android:id="@+id/app_info_drop_target_bar" |