summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2013-02-20 17:50:52 +0100
committerDanny Baumann <dannybaumann@web.de>2013-02-23 13:00:36 +0100
commit86fa588dbe541952039fdafcfc0815ca9e8c20e3 (patch)
treebe625ac9afa349f292ebcc5f1d307a1a2413ff62 /res
parent12d1a5f8b7806ad83f65368020201b2cc93a6500 (diff)
downloadandroid_packages_apps_Eleven-86fa588dbe541952039fdafcfc0815ca9e8c20e3.tar.gz
android_packages_apps_Eleven-86fa588dbe541952039fdafcfc0815ca9e8c20e3.tar.bz2
android_packages_apps_Eleven-86fa588dbe541952039fdafcfc0815ca9e8c20e3.zip
Import ViewPagerIndicator.
Change-Id: Ibbd09776e0b3c6ca4aef9d2be008804c39f882f9
Diffstat (limited to 'res')
-rw-r--r--res/color/vpi__dark_theme.xml24
-rw-r--r--res/color/vpi__light_theme.xml26
-rw-r--r--res/drawable-hdpi/vpi__tab_selected_focused_holo.9.pngbin0 -> 147 bytes
-rw-r--r--res/drawable-hdpi/vpi__tab_selected_holo.9.pngbin0 -> 148 bytes
-rw-r--r--res/drawable-hdpi/vpi__tab_selected_pressed_holo.9.pngbin0 -> 147 bytes
-rw-r--r--res/drawable-hdpi/vpi__tab_unselected_focused_holo.9.pngbin0 -> 146 bytes
-rw-r--r--res/drawable-hdpi/vpi__tab_unselected_holo.9.pngbin0 -> 153 bytes
-rw-r--r--res/drawable-hdpi/vpi__tab_unselected_pressed_holo.9.pngbin0 -> 145 bytes
-rw-r--r--res/drawable-mdpi/vpi__tab_selected_focused_holo.9.pngbin0 -> 148 bytes
-rw-r--r--res/drawable-mdpi/vpi__tab_selected_holo.9.pngbin0 -> 151 bytes
-rw-r--r--res/drawable-mdpi/vpi__tab_selected_pressed_holo.9.pngbin0 -> 150 bytes
-rw-r--r--res/drawable-mdpi/vpi__tab_unselected_focused_holo.9.pngbin0 -> 150 bytes
-rw-r--r--res/drawable-mdpi/vpi__tab_unselected_holo.9.pngbin0 -> 157 bytes
-rw-r--r--res/drawable-mdpi/vpi__tab_unselected_pressed_holo.9.pngbin0 -> 155 bytes
-rw-r--r--res/drawable-xhdpi/vpi__tab_selected_focused_holo.9.pngbin0 -> 147 bytes
-rw-r--r--res/drawable-xhdpi/vpi__tab_selected_holo.9.pngbin0 -> 153 bytes
-rw-r--r--res/drawable-xhdpi/vpi__tab_selected_pressed_holo.9.pngbin0 -> 147 bytes
-rw-r--r--res/drawable-xhdpi/vpi__tab_unselected_focused_holo.9.pngbin0 -> 148 bytes
-rw-r--r--res/drawable-xhdpi/vpi__tab_unselected_holo.9.pngbin0 -> 166 bytes
-rw-r--r--res/drawable-xhdpi/vpi__tab_unselected_pressed_holo.9.pngbin0 -> 149 bytes
-rw-r--r--res/drawable/vpi__tab_indicator.xml34
-rw-r--r--res/values/vpi__attrs.xml129
-rw-r--r--res/values/vpi__colors.xml26
-rw-r--r--res/values/vpi__defaults.xml53
-rw-r--r--res/values/vpi__styles.xml47
25 files changed, 339 insertions, 0 deletions
diff --git a/res/color/vpi__dark_theme.xml b/res/color/vpi__dark_theme.xml
new file mode 100644
index 0000000..3e7a08f
--- /dev/null
+++ b/res/color/vpi__dark_theme.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ 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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_enabled="false" android:color="@color/vpi__bright_foreground_disabled_holo_dark"/>
+ <item android:state_window_focused="false" android:color="@color/vpi__bright_foreground_holo_dark"/>
+ <item android:state_pressed="true" android:color="@color/vpi__bright_foreground_holo_dark"/>
+ <item android:state_selected="true" android:color="@color/vpi__bright_foreground_holo_dark"/>
+ <!--item android:state_activated="true" android:color="@color/vpi__bright_foreground_holo_dark"/-->
+ <item android:color="@color/vpi__bright_foreground_holo_dark"/> <!-- not selected -->
+</selector>
diff --git a/res/color/vpi__light_theme.xml b/res/color/vpi__light_theme.xml
new file mode 100644
index 0000000..f955db7
--- /dev/null
+++ b/res/color/vpi__light_theme.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ 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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_enabled="false" android:color="@color/vpi__bright_foreground_disabled_holo_light"/>
+ <item android:state_window_focused="false" android:color="@color/vpi__bright_foreground_holo_light"/>
+ <item android:state_pressed="true" android:color="@color/vpi__bright_foreground_holo_light"/>
+ <item android:state_selected="true" android:color="@color/vpi__bright_foreground_holo_light"/>
+ <!--item android:state_activated="true" android:color="@color/vpi__bright_foreground_holo_light"/-->
+ <item android:color="@color/vpi__bright_foreground_holo_light"/> <!-- not selected -->
+
+</selector>
+
diff --git a/res/drawable-hdpi/vpi__tab_selected_focused_holo.9.png b/res/drawable-hdpi/vpi__tab_selected_focused_holo.9.png
new file mode 100644
index 0000000..673e3bf
--- /dev/null
+++ b/res/drawable-hdpi/vpi__tab_selected_focused_holo.9.png
Binary files differ
diff --git a/res/drawable-hdpi/vpi__tab_selected_holo.9.png b/res/drawable-hdpi/vpi__tab_selected_holo.9.png
new file mode 100644
index 0000000..d57df98
--- /dev/null
+++ b/res/drawable-hdpi/vpi__tab_selected_holo.9.png
Binary files differ
diff --git a/res/drawable-hdpi/vpi__tab_selected_pressed_holo.9.png b/res/drawable-hdpi/vpi__tab_selected_pressed_holo.9.png
new file mode 100644
index 0000000..6278eef
--- /dev/null
+++ b/res/drawable-hdpi/vpi__tab_selected_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-hdpi/vpi__tab_unselected_focused_holo.9.png b/res/drawable-hdpi/vpi__tab_unselected_focused_holo.9.png
new file mode 100644
index 0000000..294991d
--- /dev/null
+++ b/res/drawable-hdpi/vpi__tab_unselected_focused_holo.9.png
Binary files differ
diff --git a/res/drawable-hdpi/vpi__tab_unselected_holo.9.png b/res/drawable-hdpi/vpi__tab_unselected_holo.9.png
new file mode 100644
index 0000000..19532ab
--- /dev/null
+++ b/res/drawable-hdpi/vpi__tab_unselected_holo.9.png
Binary files differ
diff --git a/res/drawable-hdpi/vpi__tab_unselected_pressed_holo.9.png b/res/drawable-hdpi/vpi__tab_unselected_pressed_holo.9.png
new file mode 100644
index 0000000..aadc6f8
--- /dev/null
+++ b/res/drawable-hdpi/vpi__tab_unselected_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/vpi__tab_selected_focused_holo.9.png b/res/drawable-mdpi/vpi__tab_selected_focused_holo.9.png
new file mode 100644
index 0000000..c9972e7
--- /dev/null
+++ b/res/drawable-mdpi/vpi__tab_selected_focused_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/vpi__tab_selected_holo.9.png b/res/drawable-mdpi/vpi__tab_selected_holo.9.png
new file mode 100644
index 0000000..587337c
--- /dev/null
+++ b/res/drawable-mdpi/vpi__tab_selected_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/vpi__tab_selected_pressed_holo.9.png b/res/drawable-mdpi/vpi__tab_selected_pressed_holo.9.png
new file mode 100644
index 0000000..155c4fc
--- /dev/null
+++ b/res/drawable-mdpi/vpi__tab_selected_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/vpi__tab_unselected_focused_holo.9.png b/res/drawable-mdpi/vpi__tab_unselected_focused_holo.9.png
new file mode 100644
index 0000000..f0cecd1
--- /dev/null
+++ b/res/drawable-mdpi/vpi__tab_unselected_focused_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/vpi__tab_unselected_holo.9.png b/res/drawable-mdpi/vpi__tab_unselected_holo.9.png
new file mode 100644
index 0000000..a2dbf42
--- /dev/null
+++ b/res/drawable-mdpi/vpi__tab_unselected_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/vpi__tab_unselected_pressed_holo.9.png b/res/drawable-mdpi/vpi__tab_unselected_pressed_holo.9.png
new file mode 100644
index 0000000..b1223fe
--- /dev/null
+++ b/res/drawable-mdpi/vpi__tab_unselected_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/vpi__tab_selected_focused_holo.9.png b/res/drawable-xhdpi/vpi__tab_selected_focused_holo.9.png
new file mode 100644
index 0000000..03cfb09
--- /dev/null
+++ b/res/drawable-xhdpi/vpi__tab_selected_focused_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/vpi__tab_selected_holo.9.png b/res/drawable-xhdpi/vpi__tab_selected_holo.9.png
new file mode 100644
index 0000000..e4229f2
--- /dev/null
+++ b/res/drawable-xhdpi/vpi__tab_selected_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/vpi__tab_selected_pressed_holo.9.png b/res/drawable-xhdpi/vpi__tab_selected_pressed_holo.9.png
new file mode 100644
index 0000000..e862cb1
--- /dev/null
+++ b/res/drawable-xhdpi/vpi__tab_selected_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/vpi__tab_unselected_focused_holo.9.png b/res/drawable-xhdpi/vpi__tab_unselected_focused_holo.9.png
new file mode 100644
index 0000000..f3a5cbd
--- /dev/null
+++ b/res/drawable-xhdpi/vpi__tab_unselected_focused_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/vpi__tab_unselected_holo.9.png b/res/drawable-xhdpi/vpi__tab_unselected_holo.9.png
new file mode 100644
index 0000000..9465173
--- /dev/null
+++ b/res/drawable-xhdpi/vpi__tab_unselected_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/vpi__tab_unselected_pressed_holo.9.png b/res/drawable-xhdpi/vpi__tab_unselected_pressed_holo.9.png
new file mode 100644
index 0000000..f1eb673
--- /dev/null
+++ b/res/drawable-xhdpi/vpi__tab_unselected_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable/vpi__tab_indicator.xml b/res/drawable/vpi__tab_indicator.xml
new file mode 100644
index 0000000..520d08c
--- /dev/null
+++ b/res/drawable/vpi__tab_indicator.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ 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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <!-- Non focused states -->
+ <item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/vpi__tab_unselected_holo" />
+ <item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/vpi__tab_selected_holo" />
+
+ <!-- Focused states -->
+ <item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/vpi__tab_unselected_focused_holo" />
+ <item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/vpi__tab_selected_focused_holo" />
+
+ <!-- Pressed -->
+ <!-- Non focused states -->
+ <item android:state_focused="false" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/vpi__tab_unselected_pressed_holo" />
+ <item android:state_focused="false" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/vpi__tab_selected_pressed_holo" />
+
+ <!-- Focused states -->
+ <item android:state_focused="true" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/vpi__tab_unselected_pressed_holo" />
+ <item android:state_focused="true" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/vpi__tab_selected_pressed_holo" />
+</selector>
diff --git a/res/values/vpi__attrs.xml b/res/values/vpi__attrs.xml
new file mode 100644
index 0000000..a4d1f10
--- /dev/null
+++ b/res/values/vpi__attrs.xml
@@ -0,0 +1,129 @@
+<?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>
+
+ <declare-styleable name="LinePageIndicator">
+ <!-- Whether or not the indicators should be centered. -->
+ <attr name="centered" />
+ <!-- Color of the unselected lines that represent the pages. -->
+ <attr name="unselectedColor" />
+ <!-- Color of the selected line that represents the current page. -->
+ <attr name="selectedColor" />
+ <!-- Width of each indicator line. -->
+ <attr name="lineWidth" format="dimension" />
+ <!-- Width of each indicator line's stroke. -->
+ <attr name="strokeWidth" />
+ <!-- Width of the gap between each indicator line. -->
+ <attr name="gapWidth" format="dimension" />
+ <!-- View background -->
+ <attr name="android:background"/>
+ </declare-styleable>
+
+ <declare-styleable name="TitlePageIndicator">
+ <!-- Screen edge padding. -->
+ <attr name="clipPadding" format="dimension" />
+ <!-- Color of the footer line and indicator. -->
+ <attr name="footerColor" format="color" />
+ <!-- Height of the footer line. -->
+ <attr name="footerLineHeight" format="dimension" />
+ <!-- Style of the indicator. Default is triangle. -->
+ <attr name="footerIndicatorStyle">
+ <enum name="none" value="0" />
+ <enum name="triangle" value="1" />
+ <enum name="underline" value="2" />
+ </attr>
+ <!-- Height of the indicator above the footer line. -->
+ <attr name="footerIndicatorHeight" format="dimension" />
+ <!-- Left and right padding of the underline indicator. -->
+ <attr name="footerIndicatorUnderlinePadding" format="dimension" />
+ <!-- Padding between the bottom of the title and the footer. -->
+ <attr name="footerPadding" format="dimension" />
+ <!-- Position of the line. -->
+ <attr name="linePosition">
+ <enum name="bottom" value="0"/>
+ <enum name="top" value="1"/>
+ </attr>
+ <!-- Color of the selected title. -->
+ <attr name="selectedColor" />
+ <!-- Whether or not the selected item is displayed as bold. -->
+ <attr name="selectedBold" format="boolean" />
+ <!-- Color of regular titles. -->
+ <attr name="android:textColor" />
+ <!-- Size of title text. -->
+ <attr name="android:textSize" />
+ <!-- Padding between titles when bumping into each other. -->
+ <attr name="titlePadding" format="dimension" />
+ <!-- Padding between titles and the top of the View. -->
+ <attr name="topPadding" format="dimension" />
+ <!-- View background -->
+ <attr name="android:background"/>
+ </declare-styleable>
+
+ <declare-styleable name="UnderlinePageIndicator">
+ <!-- Whether or not the selected indicator fades. -->
+ <attr name="fades" format="boolean" />
+ <!-- Length of the delay to fade the indicator. -->
+ <attr name="fadeDelay" format="integer" />
+ <!-- Length of the indicator fade to transparent. -->
+ <attr name="fadeLength" format="integer" />
+ <!-- Color of the selected line that represents the current page. -->
+ <attr name="selectedColor" />
+ <!-- View background -->
+ <attr name="android:background"/>
+ </declare-styleable>
+</resources>
diff --git a/res/values/vpi__colors.xml b/res/values/vpi__colors.xml
new file mode 100644
index 0000000..62ca607
--- /dev/null
+++ b/res/values/vpi__colors.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 Jake Wharton
+
+ 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>
+ <color name="vpi__background_holo_dark">#ff000000</color>
+ <color name="vpi__background_holo_light">#fff3f3f3</color>
+ <color name="vpi__bright_foreground_holo_dark">@color/vpi__background_holo_light</color>
+ <color name="vpi__bright_foreground_holo_light">@color/vpi__background_holo_dark</color>
+ <color name="vpi__bright_foreground_disabled_holo_dark">#ff4c4c4c</color>
+ <color name="vpi__bright_foreground_disabled_holo_light">#ffb2b2b2</color>
+ <color name="vpi__bright_foreground_inverse_holo_dark">@color/vpi__bright_foreground_holo_light</color>
+ <color name="vpi__bright_foreground_inverse_holo_light">@color/vpi__bright_foreground_holo_dark</color>
+</resources>
diff --git a/res/values/vpi__defaults.xml b/res/values/vpi__defaults.xml
new file mode 100644
index 0000000..e4d44cb
--- /dev/null
+++ b/res/values/vpi__defaults.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 Jake Wharton
+
+ 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>
+ <bool name="default_circle_indicator_centered">true</bool>
+ <color name="default_circle_indicator_fill_color">#FFFFFFFF</color>
+ <color name="default_circle_indicator_page_color">#00000000</color>
+ <integer name="default_circle_indicator_orientation">0</integer>
+ <dimen name="default_circle_indicator_radius">3dp</dimen>
+ <bool name="default_circle_indicator_snap">false</bool>
+ <color name="default_circle_indicator_stroke_color">#FFDDDDDD</color>
+ <dimen name="default_circle_indicator_stroke_width">1dp</dimen>
+
+ <dimen name="default_line_indicator_line_width">12dp</dimen>
+ <dimen name="default_line_indicator_gap_width">4dp</dimen>
+ <dimen name="default_line_indicator_stroke_width">1dp</dimen>
+ <color name="default_line_indicator_selected_color">#FF33B5E5</color>
+ <color name="default_line_indicator_unselected_color">#FFBBBBBB</color>
+ <bool name="default_line_indicator_centered">true</bool>
+
+ <dimen name="default_title_indicator_clip_padding">4dp</dimen>
+ <color name="default_title_indicator_footer_color">#FF33B5E5</color>
+ <dimen name="default_title_indicator_footer_line_height">2dp</dimen>
+ <integer name="default_title_indicator_footer_indicator_style">2</integer>
+ <dimen name="default_title_indicator_footer_indicator_height">4dp</dimen>
+ <dimen name="default_title_indicator_footer_indicator_underline_padding">20dp</dimen>
+ <dimen name="default_title_indicator_footer_padding">7dp</dimen>
+ <integer name="default_title_indicator_line_position">0</integer>
+ <color name="default_title_indicator_selected_color">#FFFFFFFF</color>
+ <bool name="default_title_indicator_selected_bold">true</bool>
+ <color name="default_title_indicator_text_color">#BBFFFFFF</color>
+ <dimen name="default_title_indicator_text_size">15dp</dimen>
+ <dimen name="default_title_indicator_title_padding">5dp</dimen>
+ <dimen name="default_title_indicator_top_padding">7dp</dimen>
+
+ <bool name="default_underline_indicator_fades">true</bool>
+ <integer name="default_underline_indicator_fade_delay">300</integer>
+ <integer name="default_underline_indicator_fade_length">400</integer>
+ <color name="default_underline_indicator_selected_color">#FF33B5E5</color>
+</resources> \ No newline at end of file
diff --git a/res/values/vpi__styles.xml b/res/values/vpi__styles.xml
new file mode 100644
index 0000000..4f40f4a
--- /dev/null
+++ b/res/values/vpi__styles.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 Jake Wharton
+
+ 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>
+ <style name="Theme.PageIndicatorDefaults" parent="android:Theme">
+ <item name="vpiIconPageIndicatorStyle">@style/Widget.IconPageIndicator</item>
+ <item name="vpiTabPageIndicatorStyle">@style/Widget.TabPageIndicator</item>
+ </style>
+
+ <style name="Widget">
+ </style>
+
+ <style name="Widget.TabPageIndicator" parent="Widget">
+ <item name="android:gravity">center</item>
+ <item name="android:background">@drawable/vpi__tab_indicator</item>
+ <item name="android:paddingLeft">22dip</item>
+ <item name="android:paddingRight">22dip</item>
+ <item name="android:paddingTop">12dp</item>
+ <item name="android:paddingBottom">12dp</item>
+ <item name="android:textAppearance">@style/TextAppearance.TabPageIndicator</item>
+ <item name="android:textSize">12sp</item>
+ <item name="android:maxLines">1</item>
+ </style>
+
+ <style name="TextAppearance.TabPageIndicator" parent="Widget">
+ <item name="android:textStyle">bold</item>
+ <item name="android:textColor">@color/vpi__dark_theme</item>
+ </style>
+
+ <style name="Widget.IconPageIndicator" parent="Widget">
+ <item name="android:layout_marginLeft">6dp</item>
+ <item name="android:layout_marginRight">6dp</item>
+ </style>
+</resources>