Background and font colours for all stories/shared stories and saved stories selectors

This commit is contained in:
Mark Anderson 2014-05-14 21:07:49 +01:00
parent 905337e2b7
commit 72666a4f30
7 changed files with 18 additions and 7 deletions

View file

@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/actionbar_background"
style="?actionbarBackground"
android:gravity="center"
android:orientation="horizontal" >

View file

@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/selector_folder_background" >
style="?selectorFolderBackground" >
<ImageView
android:id="@+id/row_everything_icon"
@ -80,7 +80,7 @@
android:paddingBottom="10dp"
android:paddingTop="10dp"
android:text="@string/all_shared_stories"
android:textColor="@color/folder_text"
style="?selectorRowFeedName"
android:textSize="14dp"
android:textStyle="bold" />

View file

@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/selector_folder_background" >
style="?selectorFolderBackground" >
<ImageView
android:id="@+id/row_everything_icon"
@ -24,7 +24,7 @@
android:paddingBottom="10dp"
android:paddingTop="10dp"
android:text="@string/all_stories_row_title"
android:textColor="@color/folder_text"
style="?selectorRowFeedName"
android:textSize="14dp"
android:textStyle="bold" />

View file

@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/selector_folder_background" >
style="?selectorFolderBackground" >
<ImageView
android:id="@+id/row_saved_icon"
@ -24,7 +24,7 @@
android:paddingBottom="9dp"
android:paddingTop="9dp"
android:text="@string/saved_stories_row_title"
android:textColor="@color/folder_text"
style="?selectorRowFeedName"
android:textSize="13dp"
android:textStyle="bold" />

View file

@ -6,6 +6,7 @@
<attr name="selectorFeedBackground" format="string" />
<attr name="selectorRowFolderName" format="string" />
<attr name="selectorRowFeedName" format="string" />
<attr name="actionbarBackground" format="string" />
<declare-styleable name="FlowLayout">
<attr name="flow" />

View file

@ -57,4 +57,12 @@
<style name="selectorRowFeedName.dark">
<item name="android:textColor">@color/dark_folder_text</item>
</style>
<style name="actionbarBackground">
<item name="android:background">@drawable/actionbar_background</item>
</style>
<style name="actionbarBackground.dark">
<item name="android:background">@drawable/dark_actionbar_background</item>
</style>
</resources>

View file

@ -7,6 +7,7 @@
<item name="selectorFeedBackground">@style/selectorFeedBackground</item>
<item name="selectorRowFolderName">@style/selectorRowFolderName</item>
<item name="selectorRowFeedName">@style/selectorRowFeedName</item>
<item name="actionbarBackground">@style/actionbarBackground</item>
</style>
<style name="NewsBlurDarkTheme" parent="@android:style/Theme.Holo" >
@ -16,5 +17,6 @@
<item name="selectorFeedBackground">@style/selectorFeedBackground.dark</item>
<item name="selectorRowFolderName">@style/selectorRowFolderName.dark</item>
<item name="selectorRowFeedName">@style/selectorRowFeedName.dark</item>
<item name="actionbarBackground">@style/actionbarBackground.dark</item>
</style>
</resources>