summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorlinuxx <io.nolinuxnoparty@gmail.com>2014-12-10 18:25:02 +0100
committerSteve Kondik <shade@chemlab.org>2014-12-27 12:30:57 +0000
commit81e13fbe95084ce894f5d196c73532ff202b9532 (patch)
tree41a4eb117f16b4ffb072445af0012bbc43df0528 /res/values
parentdc144e3c1f422dba925b0a62cbb87b7c024ef1b7 (diff)
downloadandroid_packages_apps_Eleven-81e13fbe95084ce894f5d196c73532ff202b9532.tar.gz
android_packages_apps_Eleven-81e13fbe95084ce894f5d196c73532ff202b9532.tar.bz2
android_packages_apps_Eleven-81e13fbe95084ce894f5d196c73532ff202b9532.zip
Eleven: materialize
-Material Ui theme -New launcher icon -Better tabs Change-Id: I712ac2eb5256841cf89d198eed775ce8afe9d09c
Diffstat (limited to 'res/values')
-rw-r--r--res/values/colors.xml56
-rw-r--r--res/values/dimens.xml37
-rw-r--r--res/values/styles.xml92
-rw-r--r--res/values/themeconfig.xml50
-rw-r--r--res/values/vpi__attrs.xml131
-rw-r--r--res/values/vpi__colors.xml26
-rw-r--r--res/values/vpi__defaults.xml54
-rw-r--r--res/values/vpi__styles.xml47
8 files changed, 75 insertions, 418 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 43683fa..300f287 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -6,15 +6,20 @@
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
+ 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>
+ <!-- Material -->
+ <color name="primary">#607D8B</color>
+ <color name="primary_dark">#455A64</color>
+ <color name="primary_light">#78909C</color>
+ <color name="accent">#3f51b5</color>
<!-- light color -->
<color name="background_color">#ffe4e9ed</color>
@@ -23,10 +28,10 @@
<color name="transparent">#00000000</color>
<!-- Black -->
- <color name="black">#ff000000</color>
+ <color name="black">#212121</color>
<!-- White -->
- <color name="white">#ffffffff</color>
+ <color name="white">#fafafa</color>
<!-- Standard Text Color -->
<color name="default_text_color">#cc231f20</color>
@@ -38,9 +43,6 @@
<!-- Transparent white -->
<color name="transparent_white">#ffcccccc</color>
- <!-- A darkish color used for the action bar -->
- <color name="action_bar_color">#ff0d0d0d</color>
-
<!-- A light, Holo shade of blue -->
<color name="holo_blue_light">#ff33b5e5</color>
@@ -89,9 +91,9 @@
<color name="grid_list_item_text_color">#b3231f20</color>
<!-- Top title page colors -->
- <color name="tpi_background_color">#fff4f4f4</color>
- <color name="tpi_text_color">#bf3d4049</color>
- <color name="tpi_selected_text_color">#bf3d4049</color>
+ <color name="tab_ripple_color">#ffffff</color>
+ <color name="tab_accent_color">#ffffff</color>
+ <color name="tab_selected_underline_color">#ffffff</color>
<!-- Search Colors -->
<color name="search_hint_color">#4cffffff</color>
@@ -121,24 +123,26 @@
<color name="letter_tile_default_color">#cccccc</color>
<color name="letter_tile_font_color">#ffffff</color>
<array name="letter_tile_colors">
- <item>#883397</item>
- <item>#4B498C</item>
- <item>#4E5BA7</item>
- <item>#41A4F4</item>
- <item>#10887C</item>
- <item>#689144</item>
- <item>#B9BF45</item>
- <item>#757578</item>
+ <item>#9C27B0</item>
+ <item>#2196F3</item>
+ <item>#3F51B5</item>
+ <item>#009688</item>
+ <item>#8BC34A</item>
+ <item>#F44336</item>
+ <item>#9E9E9E</item>
+ <item>#FF5722</item>
+ <item>#795548</item>
</array>
<array name="letter_tile_vibrant_dark_colors">
- <item>#b74bc9</item>
- <item>#6967bf</item>
- <item>#2a315a</item>
- <item>#07497d</item>
- <item>#0c6c64</item>
- <item>#415a2a</item>
- <item>#5f6322</item>
- <item>#505052</item>
+ <item>#7B1FA2</item>
+ <item>#1976D2</item>
+ <item>#303F9F</item>
+ <item>#00796B</item>
+ <item>#689F38</item>
+ <item>#D32F2F</item>
+ <item>#616161</item>
+ <item>#E64A19</item>
+ <item>#5D4037</item>
</array>
</resources>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 8ea7096..38314c2 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -19,29 +19,29 @@
<!-- Text sizes -->
<dimen name="text_size_extra_micro">10.0sp</dimen>
<dimen name="text_size_micro">12.0sp</dimen>
- <dimen name="text_size_small">14.0sp</dimen>
- <dimen name="text_size_medium">16.0sp</dimen>
- <dimen name="text_size_large">18.0sp</dimen>
- <dimen name="text_size_x_large">24.0sp</dimen>
- <dimen name="text_size_dayum">36.0sp</dimen>
+ <dimen name="text_size_small">12.0sp</dimen>
+ <dimen name="text_size_medium">14.0sp</dimen>
+ <dimen name="text_size_large">16.0sp</dimen>
+ <dimen name="text_size_x_large">22.0sp</dimen>
+ <dimen name="text_size_dayum">34.0sp</dimen>
<!-- Frequently used spacing between elements in many layouts -->
- <dimen name="standard_padding">10.0dip</dimen>
+ <dimen name="standard_padding">16.0dip</dimen>
<!-- overflow menu used on page headers and in list items -->
<dimen name="overflow_height">30.0dip</dimen>
<dimen name="overflow_width">24.0dip</dimen>
<!-- List and grid view padding -->
- <dimen name="list_preferred_item_padding">10.0dip</dimen>
- <dimen name="list_menu_item_padding_right">2.0dip</dimen>
+ <dimen name="list_preferred_item_padding">14.0dip</dimen>
+ <dimen name="list_menu_item_padding_right">4.0dip</dimen>
<dimen name="list_item_general_margin">16.0dip</dimen>
<dimen name="list_item_menu_button_width">24.0dip</dimen>
<dimen name="list_item_menu_button_height">30.0dip</dimen>
- <dimen name="list_item_padding_top">10.0dip</dimen>
- <dimen name="list_item_padding_bottom">10.0dip</dimen>
+ <dimen name="list_item_padding_top">12.0dip</dimen>
+ <dimen name="list_item_padding_bottom">12.0dip</dimen>
<dimen name="list_item_header_size">16.0sp</dimen>
- <dimen name="list_item_footer_size">20.0sp</dimen>
+ <dimen name="list_item_footer_size">18.0sp</dimen>
<dimen name="list_item_main_text_size">@dimen/text_size_small</dimen>
<dimen name="list_item_secondary_text_size">@dimen/text_size_micro</dimen>
<dimen name="list_item_queue_text_padding_left">15.0dip</dimen>
@@ -69,6 +69,8 @@
<dimen name="list_item_image_width">50.0dip</dimen>
<dimen name="list_item_top_track_image_size">26.0dip</dimen>
+ <dimen name="action_bar_elevation">4dp</dimen>
+
<!-- Bottom Action Bar -->
<dimen name="bottom_action_bar_height">50.0dip</dimen>
<dimen name="bottom_action_bar_item_width">56.0dip</dimen>
@@ -171,7 +173,7 @@
<dimen name="sliding_panel_shadow_height">0.0dip</dimen>
<!-- Header Bar -->
- <dimen name="header_bar_height">50.0dip</dimen>
+ <dimen name="header_bar_height">56.0dip</dimen>
<dimen name="header_bar_up_width">30.0dip</dimen>
<dimen name="header_bar_up_height">30.0dip</dimen>
<dimen name="header_bar_menu_button_width">24.0dip</dimen>
@@ -181,15 +183,14 @@
<dimen name="header_bar_button_padding_small">5.0dip</dimen>
<dimen name="header_bar_button_padding_large">10.0dip</dimen>
<dimen name="header_bar_padding_left">16.0dp</dimen>
- <dimen name="header_bar_padding_right">8.0dp</dimen>
+ <dimen name="header_bar_padding_right">16.0dp</dimen>
<dimen name="header_bar_button_container_padding">8.0dp</dimen>
- <dimen name="header_bar_button_padding">6.0dp</dimen>
+ <dimen name="header_bar_button_padding">16.0dp</dimen>
<!-- Title Page Indicator Settings -->
- <dimen name="tpi_height">50dp</dimen>
- <dimen name="tpi_footer_line_height">0dp</dimen>
- <dimen name="tpi_footer_indicator_height">6dp</dimen>
- <dimen name="tpi_text_size">16sp</dimen>
+ <dimen name="tpi_height">48dp</dimen>
+ <dimen name="tab_text_size">14sp</dimen>
+ <dimen name="tab_selected_underline_height">2dp</dimen>
<dimen name="list_item_progress_width">45.0dip</dimen>
<dimen name="list_item_progress_height">45.0dip</dimen>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 9055610..8bbae19 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -6,18 +6,17 @@
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
+ 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 xmlns:android="http://schemas.android.com/apk/res/android">
-
- <!-- Main Holo -->
- <style name="Eleven.Theme" parent="@android:style/Theme.Holo.Light">
+ <!-- Main Material -->
+ <style name="Eleven.Theme" parent="@android:style/Theme.Material.Light.DarkActionBar">
<item name="android:windowContentOverlay">@null</item>
<item name="android:popupMenuStyle">@style/PopupMenu</item>
<item name="android:dropDownListViewStyle">@style/DropDownListView</item>
@@ -27,36 +26,41 @@
<item name="android:actionBarStyle">@style/ActionBar</item>
<item name="android:actionOverflowButtonStyle">@style/ActionOverFlowButton</item>
<item name="android:actionBarWidgetTheme">@style/ActionBarWidgetTheme</item>
- <item name="vpiTabPageIndicatorStyle">@style/Eleven.TabPageIndicator</item>
+ <item name="android:colorPrimary">@color/primary</item>
+ <item name="android:colorPrimaryDark">@color/primary_dark</item>
+ <item name="android:colorAccent">@color/accent</item>
</style>
- <style name="ActionBarWidgetTheme" parent="@android:style/Theme.Holo">
+ <style name="ActionBarWidgetTheme" parent="@android:style/Theme.Material">
<!-- This is the color of the search text hint in the action bar -->
<item name="android:textColorHint">@color/search_hint_color</item>
<item name="android:popupMenuStyle">@style/PopupMenu</item>
<item name="android:dropDownListViewStyle">@style/DropDownListView</item>
<item name="android:textAppearanceSmallPopupMenu">@style/SmallPopupMenu</item>
<item name="android:textAppearanceLargePopupMenu">@style/LargePopupMenu</item>
+ <!-- Empty icon -->
+ <item name="android:icon">@android:color/transparent</item>
</style>
<!-- Make the action bar not take up space -->
<style name="Eleven.Theme.ActionBar.Overlay" parent="@style/Eleven.Theme">
- <item name="android:windowActionBarOverlay">true</item>
+ <item name="android:windowNoTitle">true</item>
+ <item name="android:windowActionBar">false</item>
</style>
<!-- Set the default list view divider color and size -->
- <style name="ListView" parent="@android:style/Widget.Holo.ListView">
+ <style name="ListView" parent="@android:style/Widget.Material.ListView">
<item name="android:divider">@color/list_item_divider_color</item>
<item name="android:dividerHeight">@dimen/divider_height</item>
</style>
-
+
<!-- Sets up the pop up menu backgroudn resource -->
- <style name="PopupMenu" parent="@android:style/Widget.Holo.PopupMenu">
+ <style name="PopupMenu" parent="@android:style/Widget.Material.PopupMenu">
<item name="android:popupBackground">@drawable/menu_background</item>
</style>
<!-- Sets up the pop up menu divider color and height -->
- <style name="DropDownListView" parent="@android:style/Widget.Holo.ListView.DropDown">
+ <style name="DropDownListView" parent="@android:style/Widget.Material.ListView.DropDown">
<item name="android:divider">@color/menu_divider_color</item>
<item name="android:dividerHeight">@dimen/divider_height</item>
</style>
@@ -76,25 +80,24 @@
</style>
<!-- Sets the action bar title text style -->
- <style name="ActionBar" parent="@android:style/Widget.Holo.ActionBar">
+ <style name="ActionBar" parent="@android:style/Widget.Material.ActionBar">
<item name="android:titleTextStyle">@style/ActionBar.TitleText</item>
<item name="android:subtitleTextStyle">@style/ActionBar.SubtitleText</item>
<item name="android:background">@color/header_action_bar_color</item>
</style>
<!-- Sets the action bar title text color -->
- <style name="ActionBar.TitleText" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title">
+ <style name="ActionBar.TitleText" parent="@android:style/TextAppearance.Material.Widget.ActionBar.Title">
<item name="android:textColor">@color/header_action_bar_text_color</item>
<item name="android:textSize">@dimen/text_size_medium</item>
- <item name="android:textStyle">bold</item>
</style>
- <style name="ActionBar.SubtitleText" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Subtitle">
+ <style name="ActionBar.SubtitleText" parent="@android:style/TextAppearance.Material.Widget.ActionBar.Subtitle">
<item name="android:textColor">@color/header_action_bar_text_color</item>
</style>
<!-- Sets the action bar menu icon -->
- <style name="ActionOverFlowButton" parent="@android:style/Widget.Holo.ActionButton.Overflow">
+ <style name="ActionOverFlowButton" parent="@android:style/Widget.Material.ActionButton.Overflow">
<item name="android:src">@drawable/menu_button_light</item>
<item name="android:minWidth">0dip</item>
<item name="android:paddingLeft">8dip</item>
@@ -146,7 +149,7 @@
</style>
<!-- Shortcut Activity theme -->
- <style name="Theme.Transparent" parent="@android:style/Theme.Holo.NoActionBar">
+ <style name="Theme.Transparent" parent="@android:style/Theme.Material.NoActionBar">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
@@ -155,11 +158,6 @@
<item name="android:backgroundDimEnabled">false</item>
</style>
- <!-- Search Activity theme -->
- <style name="Theme.ActionBarIcon" parent="@style/Eleven.Theme">
- <item name="android:homeAsUpIndicator">@drawable/ic_action_back</item>
- </style>
-
<!-- Notification bar event text -->
<style name="NotificationText">
<item name="android:layout_width">match_parent</item>
@@ -167,36 +165,7 @@
<item name="android:ellipsize">end</item>
<item name="android:fadingEdge">horizontal</item>
<item name="android:singleLine">true</item>
- </style>
-
- <!-- Notification bar actions -->
- <style name="NotificationAction">
- <item name="android:layout_width">@dimen/notification_action_width</item>
- <item name="android:layout_height">@dimen/notification_action_height</item>
- <item name="android:gravity">center|right</item>
- <item name="android:scaleType">fitCenter</item>
- <item name="android:padding">@dimen/notification_action_padding</item>
- <item name="android:background">?android:selectableItemBackground</item>
- </style>
-
- <style name="NotificationAction.Previous" parent="@style/NotificationAction">
- <item name="android:src">@drawable/btn_playback_previous</item>
- <item name="android:visibility">gone</item>
- <item name="android:contentDescription">@string/accessibility_prev</item>
- </style>
-
- <style name="NotificationAction.Play" parent="@style/NotificationAction">
- <item name="android:src">@drawable/btn_playback_play</item>
- <item name="android:contentDescription">@string/accessibility_play</item>
- </style>
-
- <style name="NotificationAction.Next" parent="@style/NotificationAction">
- <item name="android:src">@drawable/btn_playback_next</item>
- <item name="android:contentDescription">@string/accessibility_next</item>
- </style>
-
- <style name="NotificationAction.Collapse" parent="@style/NotificationAction">
- <item name="android:src">@drawable/btn_notification_collapse</item>
+ <item name="android:textColor">#212121</item>
</style>
<!-- Bottom Action Bar TextViews -->
@@ -233,18 +202,9 @@
<item name="android:scaleType">centerInside</item>
</style>
- <style name="Eleven.TabPageIndicator" parent="@style/Widget">
- <item name="android:gravity">center</item>
- <item name="android:background">@drawable/tabpageindicator</item>
- <item name="android:paddingLeft">22dp</item>
- <item name="android:paddingRight">22dp</item>
- <item name="android:textAppearance">@style/Eleven.TextAppearance.TabPageIndicator</item>
- <item name="android:textSize">@dimen/tpi_text_size</item>
- <item name="android:maxLines">1</item>
- </style>
-
- <style name="Eleven.TextAppearance.TabPageIndicator" parent="Widget">
- <item name="android:textStyle">bold</item>
- <item name="android:textColor">@color/tpi_text_color</item>
+ <style name="HeaderTabTextStyle" parent="android:style/Widget.Material.ActionBar.TabText">
+ <item name="android:textColor">@color/tab_text_color</item>
+ <item name="android:textSize">@dimen/tab_text_size</item>
+ <item name="android:fontFamily">"sans-serif-medium"</item>
</style>
</resources>
diff --git a/res/values/themeconfig.xml b/res/values/themeconfig.xml
deleted file mode 100644
index a71bb17..0000000
--- a/res/values/themeconfig.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 Andrew Neal
- Copyright (C) 2014 The CyanogenMod 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.
- -->
-<resources>
-
- <!-- action bar color -->
- <color name="action_bar">@color/action_bar_color</color>
-
- <!-- The action bar title color -->
- <color name="action_bar_title">@color/white</color>
-
- <!-- The action bar sub title color -->
- <color name="action_bar_subtitle">@color/transparent_white</color>
-
- <!-- Adpater lines -->
- <color name="line_one">@color/white</color>
- <color name="line_two">@color/transparent_white</color>
-
- <!-- Now playing -->
- <color name="audio_player_current_time">@color/white</color>
- <color name="audio_player_total_time">@color/white</color>
- <color name="audio_player_line_one">@color/white</color>
- <color name="audio_player_line_two">@color/transparent_white</color>
- <color name="audio_player_pager_container">@color/action_bar_color</color>
-
- <!-- Bottom action bar -->
- <color name="bottom_action_bar">@color/action_bar_color</color>
- <color name="bab_line_one">@color/white</color>
- <color name="bab_line_two">@color/transparent_white</color>
-
- <!-- Action bar items -->
- <color name="favorite_normal">@color/transparent_white</color>
- <color name="search_action">@color/transparent_white</color>
- <color name="shop_action">@color/transparent_white</color>
- <color name="pinn_to_action">@color/transparent_white</color>
-
-</resources>
diff --git a/res/values/vpi__attrs.xml b/res/values/vpi__attrs.xml
deleted file mode 100644
index 989d302..0000000
--- a/res/values/vpi__attrs.xml
+++ /dev/null
@@ -1,131 +0,0 @@
-<?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" />
- <!-- Whether or not to bold all items. -->
- <attr name="boldAll" 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
deleted file mode 100644
index 62ca607..0000000
--- a/res/values/vpi__colors.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?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
deleted file mode 100644
index 84e2dce..0000000
--- a/res/values/vpi__defaults.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?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>
- <bool name="default_title_indicator_bold_all">false</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
deleted file mode 100644
index 4f40f4a..0000000
--- a/res/values/vpi__styles.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?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>