Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Normalize line endings

  • Loading branch information...
commit 516831506757ee6f3e7e6e4d45688c0212116e62 1 parent 441dea8
@UweTrottmann authored
View
80 SeriesGuide/test/proguard.cfg
@@ -1,40 +1,40 @@
--optimizationpasses 5
--dontusemixedcaseclassnames
--dontskipnonpubliclibraryclasses
--dontpreverify
--verbose
--optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-
--keep public class * extends android.app.Activity
--keep public class * extends android.app.Application
--keep public class * extends android.app.Service
--keep public class * extends android.content.BroadcastReceiver
--keep public class * extends android.content.ContentProvider
--keep public class * extends android.app.backup.BackupAgentHelper
--keep public class * extends android.preference.Preference
--keep public class com.android.vending.licensing.ILicensingService
-
--keepclasseswithmembernames class * {
- native <methods>;
-}
-
--keepclasseswithmembers class * {
- public <init>(android.content.Context, android.util.AttributeSet);
-}
-
--keepclasseswithmembers class * {
- public <init>(android.content.Context, android.util.AttributeSet, int);
-}
-
--keepclassmembers class * extends android.app.Activity {
- public void *(android.view.View);
-}
-
--keepclassmembers enum * {
- public static **[] values();
- public static ** valueOf(java.lang.String);
-}
-
--keep class * implements android.os.Parcelable {
- public static final android.os.Parcelable$Creator *;
-}
+-optimizationpasses 5
+-dontusemixedcaseclassnames
+-dontskipnonpubliclibraryclasses
+-dontpreverify
+-verbose
+-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
+
+-keep public class * extends android.app.Activity
+-keep public class * extends android.app.Application
+-keep public class * extends android.app.Service
+-keep public class * extends android.content.BroadcastReceiver
+-keep public class * extends android.content.ContentProvider
+-keep public class * extends android.app.backup.BackupAgentHelper
+-keep public class * extends android.preference.Preference
+-keep public class com.android.vending.licensing.ILicensingService
+
+-keepclasseswithmembernames class * {
+ native <methods>;
+}
+
+-keepclasseswithmembers class * {
+ public <init>(android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembers class * {
+ public <init>(android.content.Context, android.util.AttributeSet, int);
+}
+
+-keepclassmembers class * extends android.app.Activity {
+ public void *(android.view.View);
+}
+
+-keepclassmembers enum * {
+ public static **[] values();
+ public static ** valueOf(java.lang.String);
+}
+
+-keep class * implements android.os.Parcelable {
+ public static final android.os.Parcelable$Creator *;
+}
View
22 SeriesGuide/test/project.properties
@@ -1,11 +1,11 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "ant.properties", and override values to adapt the script to your
-# project structure.
-
-# Project target.
-target=android-13
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system use,
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=android-13
View
18 ViewPagerIndicator/AndroidManifest.xml
@@ -1,9 +1,9 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.viewpagerindicator"
- android:versionCode="50"
- android:versionName="2.3.1">
-
- <uses-sdk android:minSdkVersion="4" />
-</manifest>
+<?xml version="1.0" encoding="utf-8"?>
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.viewpagerindicator"
+ android:versionCode="50"
+ android:versionName="2.3.1">
+
+ <uses-sdk android:minSdkVersion="4" />
+</manifest>
View
118 ViewPagerIndicator/pom.xml
@@ -1,59 +1,59 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>com.viewpagerindicator</groupId>
- <artifactId>library</artifactId>
- <name>Android-ViewPagerIndicator</name>
- <packaging>apklib</packaging>
-
- <parent>
- <groupId>com.viewpagerindicator</groupId>
- <artifactId>parent</artifactId>
- <version>2.3.1</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <dependencies>
- <dependency>
- <groupId>com.google.android</groupId>
- <artifactId>android</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>com.google.android</groupId>
- <artifactId>support-v4</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <sourceDirectory>src</sourceDirectory>
-
- <plugins>
- <plugin>
- <groupId>com.jayway.maven.plugins.android.generation2</groupId>
- <artifactId>android-maven-plugin</artifactId>
- <extensions>true</extensions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <configLocation>../checkstyle.xml</configLocation>
- </configuration>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>checkstyle</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>com.viewpagerindicator</groupId>
+ <artifactId>library</artifactId>
+ <name>Android-ViewPagerIndicator</name>
+ <packaging>apklib</packaging>
+
+ <parent>
+ <groupId>com.viewpagerindicator</groupId>
+ <artifactId>parent</artifactId>
+ <version>2.3.1</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.google.android</groupId>
+ <artifactId>android</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.android</groupId>
+ <artifactId>support-v4</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+
+ <plugins>
+ <plugin>
+ <groupId>com.jayway.maven.plugins.android.generation2</groupId>
+ <artifactId>android-maven-plugin</artifactId>
+ <extensions>true</extensions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <configLocation>../checkstyle.xml</configLocation>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>checkstyle</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
View
24 ViewPagerIndicator/project.properties
@@ -1,12 +1,12 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "ant.properties", and override values to adapt the script to your
-# project structure.
-
-android.library=true
-# Project target.
-target=android-15
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system use,
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+
+android.library=true
+# Project target.
+target=android-15
View
48 ViewPagerIndicator/res/color/vpi__dark_theme.xml
@@ -1,24 +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>
+<?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>
View
52 ViewPagerIndicator/res/color/vpi__light_theme.xml
@@ -1,26 +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>
-
+<?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>
+
View
68 ViewPagerIndicator/res/drawable/vpi__tab_indicator.xml
@@ -1,34 +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>
+<?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>
View
228 ViewPagerIndicator/res/values/vpi__attrs.xml
@@ -1,114 +1,114 @@
-<?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 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" />
- </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" />
- </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" />
- <!-- 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" />
- </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" />
- </declare-styleable>
-</resources>
+<?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 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" />
+ </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" />
+ </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" />
+ <!-- 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" />
+ </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" />
+ </declare-styleable>
+</resources>
View
52 ViewPagerIndicator/res/values/vpi__colors.xml
@@ -1,26 +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>
+<?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>
View
102 ViewPagerIndicator/res/values/vpi__defaults.xml
@@ -1,52 +1,52 @@
-<?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>
- <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>
+<?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>
+ <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>
View
82 ViewPagerIndicator/res/values/vpi__styles.xml
@@ -1,41 +1,41 @@
-<?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="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>
-</resources>
+<?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="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>
+</resources>
Please sign in to comment.
Something went wrong with that request. Please try again.