summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/headlines_articles.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-10-31 14:11:47 +0300
committerAndrew Dolgov <[email protected]>2014-10-31 14:11:47 +0300
commitacdcf759a028d36d1af09639619410e392baf14c (patch)
treeebdc430fd7a4b904030811d7205653c895909823 /org.fox.ttrss/src/main/res/layout/headlines_articles.xml
parent8a15540c6134adf6fa6f0244f432adbf9abc1acf (diff)
implement drawer navigation for headlines activity instead of old hideable sidebar
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/headlines_articles.xml')
-rw-r--r--org.fox.ttrss/src/main/res/layout/headlines_articles.xml25
1 files changed, 11 insertions, 14 deletions
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">
- <LinearLayout
- android:id="@+id/fragment_container"
+ <android.support.v4.widget.DrawerLayout
+ android:id="@+id/headlines_drawer"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:baselineAligned="false"
- android:orientation="horizontal" >
+ android:layout_height="match_parent">
<FrameLayout
- android:id="@+id/headlines_fragment"
- android:layout_width="0dp"
+ android:id="@+id/article_fragment"
+ android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_weight="0"
- android:background="?feedlistBackground" >
+ android:background="?articleBackground">
</FrameLayout>
<FrameLayout
- android:id="@+id/article_fragment"
- android:layout_width="0dp"
+ android:id="@+id/headlines_fragment"
android:layout_height="match_parent"
- android:layout_weight="1"
- android:background="?articleBackground" >
+ android:layout_width="240dp"
+ android:layout_gravity="start"
+ android:background="?headlinesBackgroundSolid">
</FrameLayout>
- </LinearLayout>
+ </android.support.v4.widget.DrawerLayout>
</FrameLayout> \ No newline at end of file