diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/arrowhead_sepia.png | bin | 0 -> 1269 bytes | |||
-rw-r--r-- | res/drawable-hdpi/paper_sepia_bitmap.png | bin | 0 -> 35569 bytes | |||
-rw-r--r-- | res/drawable/headline_row_selected_sepia.xml | 11 | ||||
-rw-r--r-- | res/drawable/paper_sepia.xml | 4 | ||||
-rw-r--r-- | res/drawable/shadow_feeds_sepia.xml | 7 | ||||
-rw-r--r-- | res/drawable/shadow_headlines_sepia.xml | 7 | ||||
-rw-r--r-- | res/layout/feeds.xml | 1 | ||||
-rw-r--r-- | res/layout/headlines.xml | 1 | ||||
-rw-r--r-- | res/values-v11/style.xml | 21 | ||||
-rw-r--r-- | res/values-v15/style.xml | 50 | ||||
-rw-r--r-- | res/values/arrays.xml | 2 | ||||
-rw-r--r-- | res/values/attrs.xml | 1 | ||||
-rw-r--r-- | res/values/resources.xml | 3 | ||||
-rw-r--r-- | res/values/strings.xml | 1 | ||||
-rw-r--r-- | res/values/style.xml | 17 |
15 files changed, 74 insertions, 52 deletions
diff --git a/res/drawable-hdpi/arrowhead_sepia.png b/res/drawable-hdpi/arrowhead_sepia.png Binary files differnew file mode 100644 index 00000000..78e276a0 --- /dev/null +++ b/res/drawable-hdpi/arrowhead_sepia.png diff --git a/res/drawable-hdpi/paper_sepia_bitmap.png b/res/drawable-hdpi/paper_sepia_bitmap.png Binary files differnew file mode 100644 index 00000000..68ff3d66 --- /dev/null +++ b/res/drawable-hdpi/paper_sepia_bitmap.png diff --git a/res/drawable/headline_row_selected_sepia.xml b/res/drawable/headline_row_selected_sepia.xml new file mode 100644 index 00000000..04d82723 --- /dev/null +++ b/res/drawable/headline_row_selected_sepia.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item android:drawable="@color/headline_row_selected_sepia"/>
+ <item android:drawable="@drawable/shadow"/>
+ <item><bitmap
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:src="@drawable/arrowhead_sepia"
+ android:gravity="center_vertical|right" /></item>
+
+</layer-list>
\ No newline at end of file diff --git a/res/drawable/paper_sepia.xml b/res/drawable/paper_sepia.xml new file mode 100644 index 00000000..cbb02489 --- /dev/null +++ b/res/drawable/paper_sepia.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?>
+ <bitmap xmlns:android="http://schemas.android.com/apk/res/android"
+ android:src="@drawable/paper_sepia_bitmap"
+ android:tileMode="repeat" />
\ No newline at end of file diff --git a/res/drawable/shadow_feeds_sepia.xml b/res/drawable/shadow_feeds_sepia.xml new file mode 100644 index 00000000..8f0ebbbb --- /dev/null +++ b/res/drawable/shadow_feeds_sepia.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item android:drawable="@color/feeds_sepia"/>
+ <item android:drawable="@drawable/shadow"/>
+
+</layer-list>
\ No newline at end of file diff --git a/res/drawable/shadow_headlines_sepia.xml b/res/drawable/shadow_headlines_sepia.xml new file mode 100644 index 00000000..88093571 --- /dev/null +++ b/res/drawable/shadow_headlines_sepia.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item android:drawable="@drawable/paper_sepia"/>
+ <item android:drawable="@drawable/shadow"/>
+
+</layer-list>
\ No newline at end of file diff --git a/res/layout/feeds.xml b/res/layout/feeds.xml index c3f7be59..102dd07e 100644 --- a/res/layout/feeds.xml +++ b/res/layout/feeds.xml @@ -20,6 +20,7 @@ <FrameLayout
android:id="@+id/feeds_fragment"
+ android:background="?smallScreenBackground"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</FrameLayout>
diff --git a/res/layout/headlines.xml b/res/layout/headlines.xml index c3027217..f00b8d38 100644 --- a/res/layout/headlines.xml +++ b/res/layout/headlines.xml @@ -20,6 +20,7 @@ <FrameLayout
android:id="@+id/headlines_container"
+ android:background="?smallScreenBackground"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</FrameLayout>
diff --git a/res/values-v11/style.xml b/res/values-v11/style.xml index 6b3d9e2c..9ded814e 100644 --- a/res/values-v11/style.xml +++ b/res/values-v11/style.xml @@ -1,5 +1,6 @@ -<resources>
- <style name="LightTheme" parent="android:Theme.Holo.Light">
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+ <style name="LightTheme" parent="android:Theme.Holo.Light.DarkActionBar">
+ <item name="smallScreenBackground">@android:color/transparent</item>
<item name="horizontalDivider">@android:drawable/divider_horizontal_bright</item>
<item name="feedlistBackground"><!-- #e0e0e0 -->@drawable/shadow_feeds</item>
<item name="unreadCounterColor">#0000ff</item>
@@ -23,7 +24,23 @@ <item name="loadingBackground">@android:color/white</item>
</style>
+ <style name="SepiaTheme" parent="LightTheme">
+ <item name="smallScreenBackground">@drawable/paper_sepia</item>
+ <item name="feedlistBackground">@drawable/shadow_feeds_sepia</item>
+ <item name="headlinesBackground">@drawable/shadow_headlines_sepia</item>
+ <item name="headlinesBackgroundSolid">@drawable/paper_sepia</item>
+ <item name="headlineSelectedBackground">@drawable/headline_row_selected_sepia</item>
+ <item name="headlineSelectedBackgroundSolid">@color/headline_row_selected_sepia</item>
+ <item name="feedsSelectedBackground">@drawable/headline_row_selected_sepia</item>
+ <item name="feedsSelectedBackgroundSolid">@color/headline_row_selected_sepia</item>
+ <item name="articleBackground">@drawable/paper_sepia</item>
+ <item name="unreadCounterColor">#C46262</item>
+ <item name="feedlistTextColor">#35281C</item>
+ <item name="linkColor">#C46262</item>
+ </style>
+
<style name="DarkTheme" parent="android:Theme.Holo">
+ <item name="smallScreenBackground">@android:color/transparent</item>
<item name="horizontalDivider">@android:drawable/divider_horizontal_dark</item>
<item name="feedlistBackground">@drawable/ics_divider_vertical</item>
<item name="unreadCounterColor">#303030</item>
diff --git a/res/values-v15/style.xml b/res/values-v15/style.xml deleted file mode 100644 index 89ccf673..00000000 --- a/res/values-v15/style.xml +++ /dev/null @@ -1,50 +0,0 @@ -<resources>
- <style name="LightTheme" parent="android:Theme.Holo.Light.DarkActionBar">
- <item name="horizontalDivider">@android:drawable/divider_horizontal_bright</item>
- <item name="feedlistBackground"><!-- #e0e0e0 -->@drawable/shadow_feeds</item>
- <item name="unreadCounterColor">#0000ff</item>
- <item name="headlinesBackground"><!-- #f0f0f0 -->@drawable/shadow_headlines</item>
- <item name="headlinesBackgroundSolid">#f0f0f0</item>
- <item name="articleBackground">#ffffff</item>
- <item name="headlineSelectedBackground">@drawable/headline_row_selected_light</item>
- <item name="headlineSelectedBackgroundSolid">@color/headline_row_selected_light</item>
- <item name="headlineUnreadBackground">@android:color/transparent</item>
- <item name="headlineNormalBackground">@android:color/transparent</item>
- <item name="feedsSelectedBackground">@drawable/headline_row_selected_light</item>
- <item name="feedsSelectedBackgroundSolid">@color/headline_row_selected_light</item>
- <item name="feedlistTextColor">@android:color/primary_text_light</item>
- <item name="feedlistSelectedTextColor">#ffffff</item>
- <item name="headlineTextColor">#909090</item>
- <item name="headlineUnreadTextColor">@android:color/primary_text_light</item>
- <item name="headlineSelectedTextColor">#ffffff</item>
- <item name="headlineExcerptTextColor">#909090</item>
- <item name="headlineSelectedExcerptTextColor">@android:color/secondary_text_light</item>
- <item name="linkColor">#30B0E0</item>
- <item name="loadingBackground">@android:color/white</item>
- </style>
-
- <style name="DarkTheme" parent="android:Theme.Holo">
- <item name="horizontalDivider">@android:drawable/divider_horizontal_dark</item>
- <item name="feedlistBackground">@drawable/ics_divider_vertical</item>
- <item name="unreadCounterColor">#303030</item>
- <item name="headlinesBackground">@drawable/headlines_dark</item>
- <item name="headlinesBackgroundSolid">@drawable/headlines_dark</item>
- <item name="articleBackground">@android:color/black</item>
- <item name="headlineSelectedBackground">@drawable/headline_row_selected_dark</item>
- <item name="headlineSelectedBackgroundSolid">@color/ics_cyan</item>
- <item name="headlineUnreadBackground">@android:color/transparent</item>
- <item name="headlineNormalBackground">@android:color/transparent</item>
- <item name="feedsSelectedBackground">@drawable/headline_row_selected_dark</item>
- <item name="feedsSelectedBackgroundSolid">@color/ics_cyan</item>
- <item name="feedlistTextColor">@android:color/primary_text_dark</item>
- <item name="feedlistSelectedTextColor">@android:color/black</item>
- <item name="headlineTextColor">@android:color/secondary_text_dark</item>
- <item name="headlineUnreadTextColor">@android:color/primary_text_dark</item>
- <item name="headlineSelectedTextColor">@android:color/white</item>
- <item name="headlineExcerptTextColor">@android:color/secondary_text_dark</item>
- <item name="headlineSelectedExcerptTextColor">@android:color/black</item>
- <item name="linkColor">@color/ics_cyan</item>
- <item name="loadingBackground">@android:color/black</item>
- </style>
-
-</resources>
\ No newline at end of file diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 4a2ac390..0ee7ef8d 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -2,10 +2,12 @@ <string-array name="pref_theme_names"> <item>@string/theme_dark</item> <item>@string/theme_light</item> + <item>@string/theme_sepia</item> </string-array> <string-array name="pref_theme_values"> <item>THEME_DARK</item> <item>THEME_LIGHT</item> + <item>THEME_SEPIA</item> </string-array> <string-array name="pref_font_size_names"> <item>@string/font_size_small</item> diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 78ff45b4..29eff356 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -2,6 +2,7 @@ <resources>
<attr name="horizontalDivider" format="reference|color" />
<attr name="feedlistBackground" format="reference|color" />
+ <attr name="smallScreenBackground" format="reference|color" />
<attr name="unreadCounterColor" format="reference|color" />
<attr name="headlinesBackground" format="reference|color" />
<attr name="headlinesBackgroundSolid" format="reference|color" />
diff --git a/res/values/resources.xml b/res/values/resources.xml index 9016d532..f3c3cda3 100644 --- a/res/values/resources.xml +++ b/res/values/resources.xml @@ -3,7 +3,10 @@ <color name="feeds_light">#e0e0e0</color>
<color name="headlines_light">#ffffff</color>
+ <color name="headlines_sepia">#EAE2DC</color>
+ <color name="feeds_sepia">#D3C6BA</color>
<color name="headline_row_selected_light">#33b5e5</color>
+ <color name="headline_row_selected_sepia">#E5B0A0</color>
<color name="ics_cyan">#33b5e5</color>
</resources>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 93f97cc1..6b4d0e48 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -151,4 +151,5 @@ <string name="trial_purchase">Unlock full version</string> <string name="trial_expired">Trial expired</string> <string name="trial_expired_message">To continue using Tiny Tiny RSS please unlock the full version by purchasing the key.</string> + <string name="theme_sepia">Sepia</string> </resources>
\ No newline at end of file diff --git a/res/values/style.xml b/res/values/style.xml index 2ac03da2..09963fc4 100644 --- a/res/values/style.xml +++ b/res/values/style.xml @@ -1,6 +1,7 @@ <resources>
<style name="LightTheme" parent="android:Theme.Light">
+ <item name="smallScreenBackground">@android:color/white</item>
<item name="horizontalDivider">@android:drawable/divider_horizontal_bright</item>
<item name="feedlistBackground">#fafafa</item>
<item name="unreadCounterColor">#0000ff</item>
@@ -23,8 +24,24 @@ <item name="linkColor">#5858F8</item>
<item name="loadingBackground">@android:color/white</item>
</style>
+
+ <style name="SepiaTheme" parent="LightTheme">
+ <item name="smallScreenBackground">@color/headlines_sepia</item>
+ <item name="feedlistBackground">@drawable/shadow_feeds_sepia</item>
+ <item name="headlinesBackground">@color/headlines_sepia</item>
+ <item name="headlinesBackgroundSolid">@color/headlines_sepia</item>
+ <item name="headlineSelectedBackground">@color/headline_row_selected_sepia</item>
+ <item name="headlineSelectedBackgroundSolid">@color/headlines_sepia</item>
+ <item name="feedsSelectedBackground">@color/headline_row_selected_sepia</item>
+ <item name="feedsSelectedBackgroundSolid">@color/headline_row_selected_sepia</item>
+ <item name="articleBackground">@color/headlines_sepia</item>
+ <item name="unreadCounterColor">#C46262</item>
+ <item name="feedlistTextColor">#35281C</item>
+ <item name="linkColor">#C46262</item>
+ </style>
<style name="DarkTheme" parent="android:Theme.Black">
+ <item name="smallScreenBackground">@android:color/black</item>
<item name="horizontalDivider">@android:drawable/divider_horizontal_dark</item>
<item name="feedlistBackground">#101010</item>
<item name="unreadCounterColor">#303030</item>
|