From acdcf759a028d36d1af09639619410e392baf14c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 31 Oct 2014 14:11:47 +0300 Subject: implement drawer navigation for headlines activity instead of old hideable sidebar --- .../res/layout-sw600dp-port/headlines_articles.xml | 26 ++++++++++------------ .../src/main/res/layout/headlines_articles.xml | 25 +++++++++------------ .../src/main/res/layout/headlines_row.xml | 1 + .../src/main/res/layout/headlines_row_selected.xml | 1 + .../res/layout/headlines_row_selected_unread.xml | 1 + .../src/main/res/layout/headlines_row_unread.xml | 1 + org.fox.ttrss/src/main/res/menu/main_menu.xml | 4 ++-- org.fox.ttrss/src/main/res/menu/offline_menu.xml | 4 ++-- 8 files changed, 31 insertions(+), 32 deletions(-) (limited to 'org.fox.ttrss/src/main/res') diff --git a/org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml b/org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml index 4809a230..02be7e49 100644 --- a/org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml +++ b/org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml @@ -12,27 +12,25 @@ android:visibility="gone" > - + android:layout_height="match_parent"> + android:layout_height="match_parent" + android:background="?articleBackground"> + android:id="@+id/headlines_fragment" + android:layout_height="match_parent" + android:layout_width="300dp" + android:layout_gravity="start" + android:background="?headlinesBackgroundSolid"> - + \ No newline at end of file diff --git a/org.fox.ttrss/src/main/res/layout/headlines_articles.xml b/org.fox.ttrss/src/main/res/layout/headlines_articles.xml index f49214cd..09dfb852 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_articles.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_articles.xml @@ -4,28 +4,25 @@ android:layout_width="fill_parent" android:layout_height="fill_parent"> - + android:layout_height="match_parent"> + android:background="?articleBackground"> + android:layout_width="240dp" + android:layout_gravity="start" + android:background="?headlinesBackgroundSolid"> - + \ No newline at end of file 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 5163550a..99b27501 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml @@ -125,6 +125,7 @@ android:layout_height="wrap_content"> - + android:title="@string/toggle_sidebar"/> -->