mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Background and font colours for all stories/shared stories and saved stories selectors
This commit is contained in:
parent
905337e2b7
commit
72666a4f30
7 changed files with 18 additions and 7 deletions
|
@ -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" >
|
||||
|
||||
|
|
|
@ -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" />
|
||||
|
||||
|
|
|
@ -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" />
|
||||
|
||||
|
|
|
@ -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" />
|
||||
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue