summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/values/vpi__attrs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/base/resources/values/vpi__attrs.xml')
-rw-r--r--mobile/android/base/resources/values/vpi__attrs.xml59
1 files changed, 59 insertions, 0 deletions
diff --git a/mobile/android/base/resources/values/vpi__attrs.xml b/mobile/android/base/resources/values/vpi__attrs.xml
new file mode 100644
index 000000000..ffe895f22
--- /dev/null
+++ b/mobile/android/base/resources/values/vpi__attrs.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 Jake Wharton
+ Copyright (C) 2011 Patrik Ã…kerfeldt
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+ <declare-styleable name="ViewPagerIndicator">
+ <!-- Style of the circle indicator. -->
+ <attr name="vpiCirclePageIndicatorStyle" format="reference"/>
+ <!-- Style of the icon indicator's views. -->
+ <attr name="vpiIconPageIndicatorStyle" format="reference"/>
+ <!-- Style of the line indicator. -->
+ <attr name="vpiLinePageIndicatorStyle" format="reference"/>
+ <!-- Style of the title indicator. -->
+ <attr name="vpiTitlePageIndicatorStyle" format="reference"/>
+ <!-- Style of the tab indicator's tabs. -->
+ <attr name="vpiTabPageIndicatorStyle" format="reference"/>
+ <!-- Style of the underline indicator. -->
+ <attr name="vpiUnderlinePageIndicatorStyle" format="reference"/>
+ </declare-styleable>
+
+ <attr name="centered" format="boolean" />
+ <attr name="selectedColor" format="color" />
+ <attr name="strokeWidth" format="dimension" />
+ <attr name="unselectedColor" format="color" />
+
+ <declare-styleable name="CirclePageIndicator">
+ <!-- Whether or not the indicators should be centered. -->
+ <attr name="centered" />
+ <!-- Color of the filled circle that represents the current page. -->
+ <attr name="fillColor" format="color" />
+ <!-- Color of the filled circles that represents pages. -->
+ <attr name="pageColor" format="color" />
+ <!-- Orientation of the indicator. -->
+ <attr name="android:orientation"/>
+ <!-- Radius of the circles. This is also the spacing between circles. -->
+ <attr name="radius" format="dimension" />
+ <!-- Whether or not the selected indicator snaps to the circles. -->
+ <attr name="snap" format="boolean" />
+ <!-- Color of the open circles. -->
+ <attr name="strokeColor" format="color" />
+ <!-- Width of the stroke used to draw the circles. -->
+ <attr name="strokeWidth" />
+ <!-- View background -->
+ <attr name="android:background"/>
+ </declare-styleable>
+</resources>