diff options
Diffstat (limited to 'org.fox.ttcomics/src/main/res/layout/fragment_comics_list.xml')
-rw-r--r-- | org.fox.ttcomics/src/main/res/layout/fragment_comics_list.xml | 24 |
1 files changed, 11 insertions, 13 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 9466428..4fb8544 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,24 +1,22 @@ -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<FrameLayout 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:layout_alignParentBottom="true"> + android:numColumns="auto_fit" > </GridView> - <!-- </android.support.v4.widget.SwipeRefreshLayout> --> + </android.support.v4.widget.SwipeRefreshLayout> <!-- <LinearLayout android:id="@+id/no_comics" @@ -39,12 +37,12 @@ android:id="@+id/fab" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_margin="16dp" + android:layout_gravity="bottom|right" + android:layout_marginRight="16dp" + android:layout_marginBottom="20dp" app:floatingActionButtonColor="?colorAccent" android:src="@drawable/ic_refresh" - android:layout_alignBottom="@+id/comics_grid" - android:layout_alignParentRight="true" - android:layout_alignParentEnd="true" /> + /> -</RelativeLayout>
\ No newline at end of file +</FrameLayout>
\ No newline at end of file |