diff options
author | Andrew Dolgov <[email protected]> | 2014-10-31 01:02:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-10-31 02:02:52 +0400 |
commit | 7746b4636e4b7b0122a5046f501ff91f2f5d6b27 (patch) | |
tree | 73127e1494f564b00937e44235f3b4f2720fbf2f /org.fox.ttrss/src/main/res/layout/headlines.xml | |
parent | 519602d92a5aeeb8fe0546402226983f6f9804fe (diff) |
switch to drawerlayout where applicable
remove loading_container stuff
various other changes related to drawerlayout
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/headlines.xml')
-rw-r--r-- | org.fox.ttrss/src/main/res/layout/headlines.xml | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/headlines.xml b/org.fox.ttrss/src/main/res/layout/headlines.xml index 4e9bb566..d8e29167 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines.xml @@ -1,29 +1,28 @@ -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/headlines" - android:fitsSystemWindows="true" - android:orientation="vertical" +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" - android:layout_height="fill_parent" > + android:layout_height="fill_parent" + android:fitsSystemWindows="true"> - <LinearLayout - android:id="@+id/loading_container" + <android.support.v4.widget.DrawerLayout + android:id="@+id/headlines_drawer" android:layout_width="match_parent" - android:layout_height="match_parent" - android:gravity="center" - android:visibility="gone" > + android:layout_height="match_parent"> - <TextView - android:id="@+id/loading_message" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textAppearance="?android:attr/textAppearanceLarge" /> - </LinearLayout> + <FrameLayout + android:id="@+id/headlines_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="?smallScreenBackground"></FrameLayout> + + <FrameLayout + android:id="@+id/feeds_fragment" + android:layout_width="240dp" + android:layout_gravity="start" + android:background="?smallScreenBackground" + android:layout_height="match_parent" > + </FrameLayout> + + </android.support.v4.widget.DrawerLayout> - <FrameLayout - android:id="@+id/headlines_fragment" - android:background="?smallScreenBackground" - android:layout_width="match_parent" - android:layout_height="match_parent" > - </FrameLayout> -</LinearLayout>
\ No newline at end of file +</FrameLayout>
\ No newline at end of file |