| 14792 |
manas |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<!-- Copyright (C) 2012 Jake Wharton
|
|
|
3 |
Copyright (C) 2011 Patrik Ã…kerfeldt
|
|
|
4 |
|
|
|
5 |
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
6 |
you may not use this file except in compliance with the License.
|
|
|
7 |
You may obtain a copy of the License at
|
|
|
8 |
|
|
|
9 |
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
10 |
|
|
|
11 |
Unless required by applicable law or agreed to in writing, software
|
|
|
12 |
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
13 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
14 |
See the License for the specific language governing permissions and
|
|
|
15 |
limitations under the License.
|
|
|
16 |
-->
|
|
|
17 |
|
|
|
18 |
<resources>
|
|
|
19 |
<declare-styleable name="ViewPagerIndicator">
|
|
|
20 |
<!-- Style of the circle indicator. -->
|
|
|
21 |
<attr name="vpiCirclePageIndicatorStyle" format="reference"/>
|
|
|
22 |
<!-- Style of the icon indicator's views. -->
|
|
|
23 |
<attr name="vpiIconPageIndicatorStyle" format="reference"/>
|
|
|
24 |
<!-- Style of the line indicator. -->
|
|
|
25 |
<attr name="vpiLinePageIndicatorStyle" format="reference"/>
|
|
|
26 |
<!-- Style of the title indicator. -->
|
|
|
27 |
<attr name="vpiTitlePageIndicatorStyle" format="reference"/>
|
|
|
28 |
<!-- Style of the tab indicator's tabs. -->
|
|
|
29 |
<attr name="vpiTabPageIndicatorStyle" format="reference"/>
|
|
|
30 |
<!-- Style of the underline indicator. -->
|
|
|
31 |
<attr name="vpiUnderlinePageIndicatorStyle" format="reference"/>
|
|
|
32 |
</declare-styleable>
|
|
|
33 |
|
|
|
34 |
<attr name="centered" format="boolean" />
|
|
|
35 |
<attr name="selectedColor" format="color" />
|
|
|
36 |
<attr name="strokeWidth" format="dimension" />
|
|
|
37 |
<attr name="unselectedColor" format="color" />
|
|
|
38 |
|
|
|
39 |
<declare-styleable name="CirclePageIndicator">
|
|
|
40 |
<!-- Whether or not the indicators should be centered. -->
|
|
|
41 |
<attr name="centered" />
|
|
|
42 |
<!-- Color of the filled circle that represents the current page. -->
|
|
|
43 |
<attr name="fillColor" format="color" />
|
|
|
44 |
<!-- Color of the filled circles that represents pages. -->
|
|
|
45 |
<attr name="pageColor" format="color" />
|
|
|
46 |
<!-- Orientation of the indicator. -->
|
|
|
47 |
<attr name="android:orientation"/>
|
|
|
48 |
<!-- Radius of the circles. This is also the spacing between circles. -->
|
|
|
49 |
<attr name="radius" format="dimension" />
|
|
|
50 |
<!-- Whether or not the selected indicator snaps to the circles. -->
|
|
|
51 |
<attr name="snap" format="boolean" />
|
|
|
52 |
<!-- Color of the open circles. -->
|
|
|
53 |
<attr name="strokeColor" format="color" />
|
|
|
54 |
<!-- Width of the stroke used to draw the circles. -->
|
|
|
55 |
<attr name="strokeWidth" />
|
|
|
56 |
<!-- View background -->
|
|
|
57 |
<attr name="android:background"/>
|
|
|
58 |
</declare-styleable>
|
|
|
59 |
|
|
|
60 |
<declare-styleable name="LinePageIndicator">
|
|
|
61 |
<!-- Whether or not the indicators should be centered. -->
|
|
|
62 |
<attr name="centered" />
|
|
|
63 |
<!-- Color of the unselected lines that represent the pages. -->
|
|
|
64 |
<attr name="unselectedColor" />
|
|
|
65 |
<!-- Color of the selected line that represents the current page. -->
|
|
|
66 |
<attr name="selectedColor" />
|
|
|
67 |
<!-- Width of each indicator line. -->
|
|
|
68 |
<attr name="lineWidth" format="dimension" />
|
|
|
69 |
<!-- Width of each indicator line's stroke. -->
|
|
|
70 |
<attr name="strokeWidth" />
|
|
|
71 |
<!-- Width of the gap between each indicator line. -->
|
|
|
72 |
<attr name="gapWidth" format="dimension" />
|
|
|
73 |
<!-- View background -->
|
|
|
74 |
<attr name="android:background"/>
|
|
|
75 |
</declare-styleable>
|
|
|
76 |
|
|
|
77 |
<declare-styleable name="TitlePageIndicator">
|
|
|
78 |
<!-- Screen edge padding. -->
|
|
|
79 |
<attr name="clipPadding" format="dimension" />
|
|
|
80 |
<!-- Color of the footer line and indicator. -->
|
|
|
81 |
<attr name="footerColor" format="color" />
|
|
|
82 |
<!-- Height of the footer line. -->
|
|
|
83 |
<attr name="footerLineHeight" format="dimension" />
|
|
|
84 |
<!-- Style of the indicator. Default is triangle. -->
|
|
|
85 |
<attr name="footerIndicatorStyle">
|
|
|
86 |
<enum name="none" value="0" />
|
|
|
87 |
<enum name="triangle" value="1" />
|
|
|
88 |
<enum name="underline" value="2" />
|
|
|
89 |
</attr>
|
|
|
90 |
<!-- Height of the indicator above the footer line. -->
|
|
|
91 |
<attr name="footerIndicatorHeight" format="dimension" />
|
|
|
92 |
<!-- Left and right padding of the underline indicator. -->
|
|
|
93 |
<attr name="footerIndicatorUnderlinePadding" format="dimension" />
|
|
|
94 |
<!-- Padding between the bottom of the title and the footer. -->
|
|
|
95 |
<attr name="footerPadding" format="dimension" />
|
|
|
96 |
<!-- Position of the line. -->
|
|
|
97 |
<attr name="linePosition">
|
|
|
98 |
<enum name="bottom" value="0"/>
|
|
|
99 |
<enum name="top" value="1"/>
|
|
|
100 |
</attr>
|
|
|
101 |
<!-- Color of the selected title. -->
|
|
|
102 |
<attr name="selectedColor" />
|
|
|
103 |
<!-- Whether or not the selected item is displayed as bold. -->
|
|
|
104 |
<attr name="selectedBold" format="boolean" />
|
|
|
105 |
<!-- Color of regular titles. -->
|
|
|
106 |
<attr name="android:textColor" />
|
|
|
107 |
<!-- Size of title text. -->
|
|
|
108 |
<attr name="android:textSize" />
|
|
|
109 |
<!-- Padding between titles when bumping into each other. -->
|
|
|
110 |
<attr name="titlePadding" format="dimension" />
|
|
|
111 |
<!-- Padding between titles and the top of the View. -->
|
|
|
112 |
<attr name="topPadding" format="dimension" />
|
|
|
113 |
<!-- View background -->
|
|
|
114 |
<attr name="android:background"/>
|
|
|
115 |
</declare-styleable>
|
|
|
116 |
|
|
|
117 |
<declare-styleable name="UnderlinePageIndicator">
|
|
|
118 |
<!-- Whether or not the selected indicator fades. -->
|
|
|
119 |
<attr name="fades" format="boolean" />
|
|
|
120 |
<!-- Length of the delay to fade the indicator. -->
|
|
|
121 |
<attr name="fadeDelay" format="integer" />
|
|
|
122 |
<!-- Length of the indicator fade to transparent. -->
|
|
|
123 |
<attr name="fadeLength" format="integer" />
|
|
|
124 |
<!-- Color of the selected line that represents the current page. -->
|
|
|
125 |
<attr name="selectedColor" />
|
|
|
126 |
<!-- View background -->
|
|
|
127 |
<attr name="android:background"/>
|
|
|
128 |
</declare-styleable>
|
|
|
129 |
</resources>
|