diff options
Diffstat (limited to 'org.fox.ttrss/src/main/res')
4 files changed, 9 insertions, 6 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row.xml b/org.fox.ttrss/src/main/res/layout/headlines_row.xml index 627dba0b..9916187c 100755 --- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml @@ -60,7 +60,7 @@ android:id="@+id/headline_header" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="#ccffffff" + android:background="?headlineHeaderBackground" android:padding="16dp"> <TextView @@ -117,11 +117,11 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" - android:background="#90000000" + android:background="?headlineHeaderBackground" android:gravity="center" android:text="@string/flavor_image_prompt" android:textAppearance="?android:attr/textAppearanceSmall" - android:textColor="@android:color/primary_text_dark" + android:textColor="?headlineSecondaryTextColor" android:visibility="visible" /> </FrameLayout> diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml index dab9b0eb..56579318 100755 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml @@ -61,7 +61,7 @@ android:id="@+id/headline_header" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="#ccffffff" + android:background="?headlineHeaderBackground" android:padding="16dp"> <TextView @@ -118,11 +118,11 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" - android:background="#90000000" + android:background="?headlineHeaderBackground" android:gravity="center" android:text="@string/flavor_image_prompt" android:textAppearance="?android:attr/textAppearanceSmall" - android:textColor="@android:color/primary_text_dark" + android:textColor="?headlineSecondaryTextColor" android:visibility="visible" /> </FrameLayout> diff --git a/org.fox.ttrss/src/main/res/values/attrs.xml b/org.fox.ttrss/src/main/res/values/attrs.xml index 28211bb4..e0bfb02c 100755 --- a/org.fox.ttrss/src/main/res/values/attrs.xml +++ b/org.fox.ttrss/src/main/res/values/attrs.xml @@ -11,6 +11,7 @@ <attr name="feedlistTextColor" format="reference|color" /> <attr name="feedlistSelectedTextColor" format="reference|color" /> <!-- <attr name="headlineTextColor" format="reference|color" /> --> + <attr name="headlineHeaderBackground" format="reference|color" /> <attr name="headlineUnreadTextColor" format="reference|color" /> <attr name="headlineSelectedTextColor" format="reference|color" /> <attr name="headlineExcerptTextColor" format="reference|color" /> diff --git a/org.fox.ttrss/src/main/res/values/style.xml b/org.fox.ttrss/src/main/res/values/style.xml index deb42241..f36d9c2f 100755 --- a/org.fox.ttrss/src/main/res/values/style.xml +++ b/org.fox.ttrss/src/main/res/values/style.xml @@ -15,6 +15,7 @@ <item name="headlinesBackground">#f0f0f0</item> <item name="articleBackground">@android:color/white</item> <item name="headlineSelectedBackground">#dddddd</item> + <item name="headlineHeaderBackground">#ccffffff</item> <item name="headlineUnreadBackground">@android:color/white</item> <item name="feedsSelectedBackground">#dddddd</item> <item name="feedlistTextColor">@android:color/primary_text_light</item> @@ -79,6 +80,7 @@ <item name="headlineSelectedExcerptTextColor">@android:color/secondary_text_dark</item> <item name="headlineSelectedSecondaryTextColor">?headlineSelectedExcerptTextColor</item> <item name="headlineSelectedBackground">#1c1c1c</item> + <item name="headlineHeaderBackground">#cc000000</item> <item name="headlineUnreadBackground">#101010</item> <item name="linkColor">?colorPrimary</item> <item name="loadingBackground">@android:color/black</item> |