From 92e962f515e8da0c65c255d84e6d9e144381edde Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 17 Jan 2012 13:44:46 +0300 Subject: [PATCH] add color theme for ICS --- res/values-v14/style.xml | 34 +++++++++++++++++++++++++++++ src/org/fox/ttrss/MainActivity.java | 6 ++++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 res/values-v14/style.xml diff --git a/res/values-v14/style.xml b/res/values-v14/style.xml new file mode 100644 index 00000000..7c876100 --- /dev/null +++ b/res/values-v14/style.xml @@ -0,0 +1,34 @@ + + + + + + \ No newline at end of file diff --git a/src/org/fox/ttrss/MainActivity.java b/src/org/fox/ttrss/MainActivity.java index fb5733b7..06647e11 100644 --- a/src/org/fox/ttrss/MainActivity.java +++ b/src/org/fox/ttrss/MainActivity.java @@ -503,7 +503,11 @@ public class MainActivity extends FragmentActivity implements OnlineServices { Log.d(TAG, "m_compatMode=" + m_compatMode); if (!m_compatMode) { - new TransitionHelper((ViewGroup) findViewById(R.id.main)); + if (findViewById(R.id.main_flipper) != null) + new TransitionHelper((ViewGroup) findViewById(R.id.main_flipper)); + else + new TransitionHelper((ViewGroup) findViewById(R.id.main)); + m_headlinesActionModeCallback = new HeadlinesActionModeCallback(); }