From e73456465d7a841e2d043bc0ec688fad6db24d3d Mon Sep 17 00:00:00 2001 From: Clark Scheff Date: Wed, 23 Jul 2014 10:21:01 -0700 Subject: Allow indicating spacing for page indicator. Change-Id: I9e7ee402b0bc5556d4c853aa521f274659fbc39c --- res/layout/component_selector.xml | 5 ++++- res/values/vpi__attrs.xml | 2 ++ res/values/vpi__defaults.xml | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'res') diff --git a/res/layout/component_selector.xml b/res/layout/component_selector.xml index fadf2ee..a33eeb0 100644 --- a/res/layout/component_selector.xml +++ b/res/layout/component_selector.xml @@ -27,7 +27,10 @@ android:id="@+id/page_indicator" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="5dp" + android:paddingTop="8dp" + themes:radius="4dp" + themes:spacing="16dp" + themes:pageColor="@android:color/transparent" themes:fillColor="@android:color/white"/> diff --git a/res/values/vpi__attrs.xml b/res/values/vpi__attrs.xml index dbe72a2..e197d07 100644 --- a/res/values/vpi__attrs.xml +++ b/res/values/vpi__attrs.xml @@ -41,6 +41,8 @@ + + diff --git a/res/values/vpi__defaults.xml b/res/values/vpi__defaults.xml index b6c10dd..f1da62c 100644 --- a/res/values/vpi__defaults.xml +++ b/res/values/vpi__defaults.xml @@ -23,6 +23,7 @@ #808184 0 3dp + 12dp false #FFDDDDDD 1dp -- cgit v1.1