diff options
Diffstat (limited to 'org.fox.ttcomics/src/main/res')
-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 |