diff options
author | Andrew Dolgov <[email protected]> | 2015-05-11 01:34:24 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-05-11 01:34:24 +0400 |
commit | 42a4fd5d3978c7c488e31389b0caa8096649c363 (patch) | |
tree | ccb6925007d0e6044d9fd26dfc408e2525f1e541 /org.fox.ttrss/src/main/res/layout | |
parent | 026dc85826a253ca6e31fa4f3d1a668404160c8e (diff) |
add experimental hiding actionbar on scroll
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rwxr-xr-x | org.fox.ttrss/src/main/res/layout/article_fragment.xml | 8 | ||||
-rw-r--r-- | org.fox.ttrss/src/main/res/layout/headlines_articles.xml | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/article_fragment.xml b/org.fox.ttrss/src/main/res/layout/article_fragment.xml index b974dc76..77e9928a 100755 --- a/org.fox.ttrss/src/main/res/layout/article_fragment.xml +++ b/org.fox.ttrss/src/main/res/layout/article_fragment.xml @@ -22,6 +22,14 @@ android:layout_height="match_parent" android:orientation="vertical" > + <!-- hack for hiding actionbar on small devices --> + <FrameLayout + android:id="@+id/article_heading_spacer" + android:visibility="gone" + android:layout_marginTop="?android:attr/actionBarSize" + android:layout_width="match_parent" + android:layout_height="match_parent"/> + <LinearLayout android:padding="16dp" android:id="@+id/article_header" 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 bb663de3..ccd2fcf3 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_articles.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_articles.xml @@ -1,6 +1,5 @@ <FrameLayout 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"> |