summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-02-07 16:35:44 +0300
committerAndrew Dolgov <[email protected]>2015-02-07 16:35:44 +0300
commitdf0c03abd8c30e70bcb5b79167f0919faefad0bf (patch)
tree4b2e717eb2854a12f1f679390ce3b04cb33f379a /org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml
parent183079172df6c8152b5da0574bbc04ed7462e836 (diff)
add fix for sidebar not showing/hiding properly on tablets because of activity not being recreated on orientation change (this is needed to restore webview/fsview state)
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml')
-rw-r--r--org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml41
1 files changed, 41 insertions, 0 deletions
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
new file mode 100644
index 00000000..f4ff2c59
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml
@@ -0,0 +1,41 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/headlines"
+ android:fitsSystemWindows="true"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <FrameLayout
+ android:id="@+id/sw600dp_anchor"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone" >
+ </FrameLayout>
+
+ <LinearLayout
+ android:id="@+id/fragment_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:baselineAligned="false"
+ android:orientation="horizontal" >
+
+ <FrameLayout
+ android:paddingRight="4dp"
+ android:id="@+id/headlines_fragment"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="0.4"
+ android:background="?headlinesBackground" >
+ </FrameLayout>
+
+ <FrameLayout
+ android:id="@+id/article_fragment"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="0.6"
+ android:elevation="4dp"
+ android:background="?articleBackground" >
+ </FrameLayout>
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file