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/page_indicator_marker.xml | |
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/page_indicator_marker.xml')
-rw-r--r-- | res/layout/page_indicator_marker.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/page_indicator_marker.xml b/res/layout/page_indicator_marker.xml index 564a95811..357a76186 100644 --- a/res/layout/page_indicator_marker.xml +++ b/res/layout/page_indicator_marker.xml @@ -13,7 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<com.android.launcher3.PageIndicatorMarker +<com.android.launcher3.pageindicators.PageIndicatorDot xmlns:android="http://schemas.android.com/apk/res/android" xmlns:launcher="http://schemas.android.com/apk/res-auto" android:layout_width="12dp" @@ -36,4 +36,4 @@ android:scaleX="0.5" android:scaleY="0.5" /> -</com.android.launcher3.PageIndicatorMarker> +</com.android.launcher3.pageindicators.PageIndicatorDot> |