diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleImagesPagerActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleImagesPagerActivity.java
index 05572272..7598cef7 100755
--- a/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleImagesPagerActivity.java
+++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleImagesPagerActivity.java
@@ -255,7 +255,7 @@ public class ArticleImagesPagerActivity extends CommonActivity implements Gestur
m_prefs = PreferenceManager
.getDefaultSharedPreferences(getApplicationContext());
- setDarkAppTheme(m_prefs);
+ setTheme(R.style.DarkTheme);
super.onCreate(savedInstanceState);
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java
index aad5adbc..347c739b 100755
--- a/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java
+++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java
@@ -25,8 +25,8 @@ public class CommonActivity extends ActionBarActivity {
public final static String THEME_DARK = "THEME_DARK";
public final static String THEME_LIGHT = "THEME_LIGHT";
- public final static String THEME_SEPIA = "THEME_SEPIA";
- public final static String THEME_AMBER = "THEME_AMBER";
+ //public final static String THEME_SEPIA = "THEME_SEPIA";
+ //public final static String THEME_AMBER = "THEME_AMBER";
public final static String THEME_DEFAULT = CommonActivity.THEME_LIGHT;
public static final int EXCERPT_MAX_LENGTH = 256;
@@ -186,27 +186,27 @@ public class CommonActivity extends ActionBarActivity {
toast.show();
}
- public boolean isDarkTheme() {
+ /* public boolean isDarkTheme() {
String theme = m_prefs.getString("theme", THEME_DEFAULT);
- return theme.equals(THEME_DARK) || theme.equals(THEME_AMBER);
- }
+ return theme.equals(THEME_DARK); || theme.equals(THEME_AMBER);
+ } */
protected void setAppTheme(SharedPreferences prefs) {
String theme = prefs.getString("theme", CommonActivity.THEME_DEFAULT);
if (theme.equals(THEME_DARK)) {
setTheme(R.style.DarkTheme);
- } else if (theme.equals(THEME_AMBER)) {
+ /* } else if (theme.equals(THEME_AMBER)) {
setTheme(R.style.AmberTheme);
} else if (theme.equals(THEME_SEPIA)) {
- setTheme(R.style.SepiaTheme);
+ setTheme(R.style.SepiaTheme); */
} else {
setTheme(R.style.LightTheme);
}
}
- protected void setDarkAppTheme(SharedPreferences prefs) {
+ /* protected void setDarkAppTheme(SharedPreferences prefs) {
String theme = prefs.getString("theme", CommonActivity.THEME_DEFAULT);
if (theme.equals(THEME_AMBER)) {
@@ -214,7 +214,7 @@ public class CommonActivity extends ActionBarActivity {
} else {
setTheme(R.style.DarkTheme);
}
- }
+ } */
@SuppressWarnings("deprecation")
@SuppressLint("NewApi")
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/PreferencesActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/PreferencesActivity.java
index deab88d8..5a741e27 100755
--- a/org.fox.ttrss/src/main/java/org/fox/ttrss/PreferencesActivity.java
+++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/PreferencesActivity.java
@@ -16,7 +16,7 @@ public class PreferencesActivity extends PreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
-
+
addPreferencesFromResource(R.xml.preferences);
/* if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.JELLY_BEAN) {
diff --git a/org.fox.ttrss/src/main/res/layout/article_fragment.xml b/org.fox.ttrss/src/main/res/layout/article_fragment.xml
index 4dd0dff3..662c9936 100755
--- a/org.fox.ttrss/src/main/res/layout/article_fragment.xml
+++ b/org.fox.ttrss/src/main/res/layout/article_fragment.xml
@@ -1,4 +1,5 @@
diff --git a/org.fox.ttrss/src/main/res/layout/drawer_header.xml b/org.fox.ttrss/src/main/res/layout/drawer_header.xml
index 76094191..d6c9ef8a 100755
--- a/org.fox.ttrss/src/main/res/layout/drawer_header.xml
+++ b/org.fox.ttrss/src/main/res/layout/drawer_header.xml
@@ -23,11 +23,13 @@
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
- android:layout_marginRight="16dp" >
+ android:layout_marginRight="16dp"
+ android:elevation="4dp">
diff --git a/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml b/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml
index d35a9416..53e62215 100755
--- a/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml
+++ b/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml
@@ -15,6 +15,7 @@
- @string/theme_light
- @string/theme_dark
- - @string/theme_sepia
- - @string/theme_amber
+
- THEME_LIGHT
- THEME_DARK
- - THEME_SEPIA
- - THEME_AMBER
+
- @string/headline_display_mode_default
diff --git a/org.fox.ttrss/src/main/res/values/style.xml b/org.fox.ttrss/src/main/res/values/style.xml
index 71c96aec..1dcca044 100755
--- a/org.fox.ttrss/src/main/res/values/style.xml
+++ b/org.fox.ttrss/src/main/res/values/style.xml
@@ -9,11 +9,11 @@
- #909090
- #f0f0f0
- @android:color/white
- - ?feedsSelectedBackground
+ - #cccccc
- @android:color/white
- - #cccccc
+ - @android:color/transparent
- @android:color/primary_text_light
- - ?feedlistTextColor
+ - ?colorAccent
- @android:color/primary_text_light
- @android:color/primary_text_light
- @android:color/secondary_text_light
@@ -35,7 +35,7 @@
- #6482af
- #526A8E
- - ?colorPrimary
+ - #F4511E
- @drawable/ic_rss_box_dark
- @drawable/ic_rss_dark
@@ -44,50 +44,6 @@
- @drawable/ic_star_outline_dark
-
-
-
-