Add dot page indicator to preview screen pager.
Change-Id: I4fa5aba28ad20be17bd5fa8d3c6a06d8a9a4a64a
This commit is contained in:
@@ -100,6 +100,15 @@
|
||||
<attr name="keywords" format="string" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For DotsPageIndicator -->
|
||||
<declare-styleable name="DotsPageIndicator">
|
||||
<attr name="dotDiameter" format="dimension" />
|
||||
<attr name="dotGap" format="dimension" />
|
||||
<attr name="animationDuration" format="integer" />
|
||||
<attr name="pageIndicatorColor" format="color" />
|
||||
<attr name="currentPageIndicatorColor" format="color" />
|
||||
</declare-styleable>
|
||||
|
||||
<attr name="switchBarTheme" format="reference" />
|
||||
<attr name="switchBarMarginStart" format="dimension" />
|
||||
<attr name="switchBarMarginEnd" format="dimension" />
|
||||
|
@@ -358,4 +358,10 @@
|
||||
<style name="SetupWizardStorageStyle" parent="@style/SuwThemeMaterial.Light">
|
||||
<item name="android:colorAccent">#ff009688</item>
|
||||
</style>
|
||||
|
||||
<style name="PreviewPagerPageIndicator">
|
||||
<item name="dotGap">8dp</item>
|
||||
<item name="pageIndicatorColor">@android:color/tertiary_text_light</item>
|
||||
<item name="currentPageIndicatorColor">@android:color/primary_text_light</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user