diff options
author | Andrew Dolgov <[email protected]> | 2020-06-01 12:00:04 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-06-01 12:00:04 +0300 |
commit | 5c2759c358e4bf5506d76662a612ec43e6e9e5d5 (patch) | |
tree | c6507addd97f4313f143c49c2b25dcc1199774c6 /org.fox.ttrss/src/main/res/layout/activity_detail.xml | |
parent | d20a6e8432c60e2756da8fc82eda24520805d3d5 (diff) |
add an option to force phone layout on tablet devices
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/activity_detail.xml')
-rw-r--r-- | org.fox.ttrss/src/main/res/layout/activity_detail.xml | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/activity_detail.xml b/org.fox.ttrss/src/main/res/layout/activity_detail.xml index e9cfdc35..c35ab296 100644 --- a/org.fox.ttrss/src/main/res/layout/activity_detail.xml +++ b/org.fox.ttrss/src/main/res/layout/activity_detail.xml @@ -1,24 +1,9 @@ -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/headlines" - android:fitsSystemWindows="true" - android:animateLayoutChanges="true" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent"> - <FrameLayout - android:id="@+id/article_fragment" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="?articleBackground"> - </FrameLayout> + <include layout="@layout/activity_detail_phone" /> - <FrameLayout - android:id="@+id/headlines_fragment" - android:visibility="gone" - android:layout_height="0dp" - android:layout_width="0dp" - android:background="?headlinesBackground"> - </FrameLayout> - - <include layout="@layout/toolbar" android:id="@+id/toolbar" /> </FrameLayout>
\ No newline at end of file |