diff options
author | Andrew Dolgov <[email protected]> | 2015-06-10 13:58:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-06-10 13:58:28 +0300 |
commit | c55925c5183d05c63eb9dc675148b6c73a7a8251 (patch) | |
tree | b1c749f87b0a49cfb44de5c942c495c9cd568a83 /org.fox.ttcomics/src/main/res/layout | |
parent | 9e0b0c5b8f21d1029a6cb06ac8aba6aa0b8f4fa4 (diff) |
disable comics list swipelayout
Diffstat (limited to 'org.fox.ttcomics/src/main/res/layout')
-rw-r--r-- | org.fox.ttcomics/src/main/res/layout/fragment_comics_list.xml | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/org.fox.ttcomics/src/main/res/layout/fragment_comics_list.xml b/org.fox.ttcomics/src/main/res/layout/fragment_comics_list.xml index 4fb8544..9466428 100644 --- a/org.fox.ttcomics/src/main/res/layout/fragment_comics_list.xml +++ b/org.fox.ttcomics/src/main/res/layout/fragment_comics_list.xml @@ -1,22 +1,24 @@ -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/FrameLayout4" + android:animateLayoutChanges="true" android:layout_width="fill_parent" android:layout_height="fill_parent"> - <android.support.v4.widget.SwipeRefreshLayout + <!-- <android.support.v4.widget.SwipeRefreshLayout android:id="@+id/comics_swipe_container" android:layout_width="match_parent" - android:layout_height="match_parent" > - <GridView + android:layout_height="match_parent" > --> + <GridView android:id="@+id/comics_grid" android:drawSelectorOnTop="true" android:layout_width="match_parent" android:layout_height="match_parent" android:columnWidth="160dp" - android:numColumns="auto_fit" > + android:numColumns="auto_fit" + android:layout_alignParentBottom="true"> </GridView> - </android.support.v4.widget.SwipeRefreshLayout> + <!-- </android.support.v4.widget.SwipeRefreshLayout> --> <!-- <LinearLayout android:id="@+id/no_comics" @@ -37,12 +39,12 @@ android:id="@+id/fab" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="bottom|right" - android:layout_marginRight="16dp" - android:layout_marginBottom="20dp" + android:layout_margin="16dp" app:floatingActionButtonColor="?colorAccent" android:src="@drawable/ic_refresh" - /> + android:layout_alignBottom="@+id/comics_grid" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" /> -</FrameLayout>
\ No newline at end of file +</RelativeLayout>
\ No newline at end of file |