summaryrefslogtreecommitdiffstats
path: root/res/layout/page_indicator_marker.xml
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2013-09-19 15:03:00 -0400
committerDaniel Sandler <dsandler@android.com>2013-09-19 15:40:33 -0400
commitbb701aaa83889b208ba8910e08023c84693138d1 (patch)
treebcf30cfd3d7f27b06332aedb342efcb680f9e7ab /res/layout/page_indicator_marker.xml
parent94e01d606ff9c295989333a4825e6b60d1719f4b (diff)
downloadandroid_packages_apps_Trebuchet-bb701aaa83889b208ba8910e08023c84693138d1.tar.gz
android_packages_apps_Trebuchet-bb701aaa83889b208ba8910e08023c84693138d1.tar.bz2
android_packages_apps_Trebuchet-bb701aaa83889b208ba8910e08023c84693138d1.zip
Updated launcher assets part 2.
- fixed centering on new pagination indicators - also tuned the pagination animation a bit to make the size change feel more natural Bug: 10807054 Change-Id: I0953cff80bfeecf085172f710a4bc947133115ed
Diffstat (limited to 'res/layout/page_indicator_marker.xml')
-rw-r--r--res/layout/page_indicator_marker.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/res/layout/page_indicator_marker.xml b/res/layout/page_indicator_marker.xml
index ac7459de6..7c0c38920 100644
--- a/res/layout/page_indicator_marker.xml
+++ b/res/layout/page_indicator_marker.xml
@@ -21,15 +21,19 @@
android:layout_gravity="center_vertical">
<ImageView
android:id="@+id/inactive"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:scaleType="centerInside"
android:src="@drawable/ic_pageindicator_default"
/>
<ImageView
android:id="@+id/active"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:scaleType="centerInside"
android:src="@drawable/ic_pageindicator_current"
android:alpha="0"
+ android:scaleX="0.5"
+ android:scaleY="0.5"
/>
</com.android.launcher3.PageIndicatorMarker>