From 89823f32f1e5fdac55e7dfc3487d6e2c99ff1cf1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 13 Nov 2014 21:42:10 +0300 Subject: implement compact headline mode --- org.fox.ttrss/src/main/res/values/arrays.xml | 10 ++++++++++ org.fox.ttrss/src/main/res/values/strings.xml | 6 +++++- org.fox.ttrss/src/main/res/values/style.xml | 8 ++++---- 3 files changed, 19 insertions(+), 5 deletions(-) (limited to 'org.fox.ttrss/src/main/res/values') diff --git a/org.fox.ttrss/src/main/res/values/arrays.xml b/org.fox.ttrss/src/main/res/values/arrays.xml index 9069466a..2dddaea8 100644 --- a/org.fox.ttrss/src/main/res/values/arrays.xml +++ b/org.fox.ttrss/src/main/res/values/arrays.xml @@ -11,6 +11,16 @@ THEME_SEPIA THEME_AMBER + + @string/headline_display_mode_default + @string/headline_display_mode_no_images + @string/headline_display_mode_compact + + + HL_DEFAULT + HL_NOIMAGES + HL_COMPACT + 150 250 diff --git a/org.fox.ttrss/src/main/res/values/strings.xml b/org.fox.ttrss/src/main/res/values/strings.xml index 970f479d..f5353153 100644 --- a/org.fox.ttrss/src/main/res/values/strings.xml +++ b/org.fox.ttrss/src/main/res/values/strings.xml @@ -254,5 +254,9 @@ Enable FAB Show floating action button when reading Open Fresh articles on startup - + Headline display mode + Cards, cards with images, or compact mode + Default + No images + Compact diff --git a/org.fox.ttrss/src/main/res/values/style.xml b/org.fox.ttrss/src/main/res/values/style.xml index d4b7dc23..ba419927 100644 --- a/org.fox.ttrss/src/main/res/values/style.xml +++ b/org.fox.ttrss/src/main/res/values/style.xml @@ -7,7 +7,7 @@ #909090 #f0f0f0 @android:color/white - ?colorAccent + #88b0f0 @android:color/white #f5f5f5 ?colorPrimaryDark @@ -17,7 +17,7 @@ #ffffff @android:color/secondary_text_light #909090 - #606060 + ?headlineSelectedExcerptTextColor @android:color/secondary_text_light #008000 ?colorPrimary @@ -92,8 +92,8 @@ #909090 #00FF00 @android:color/secondary_text_dark - #a0a0a0 - ?colorPrimary + ?headlineSelectedExcerptTextColor + #88b0f0 #383c42 ?colorPrimary @android:color/black -- cgit v1.2.3