diff options
Diffstat (limited to 'app/src/main/res/layout/fragment_subscriptions.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_subscriptions.xml | 51 |
1 files changed, 31 insertions, 20 deletions
diff --git a/app/src/main/res/layout/fragment_subscriptions.xml b/app/src/main/res/layout/fragment_subscriptions.xml index 69eee04ce..d16331a10 100644 --- a/app/src/main/res/layout/fragment_subscriptions.xml +++ b/app/src/main/res/layout/fragment_subscriptions.xml @@ -1,28 +1,39 @@ <?xml version="1.0" encoding="utf-8"?> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent"> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <androidx.appcompat.widget.Toolbar + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="?attr/actionBarSize" + android:theme="?attr/actionBarTheme" + android:layout_alignParentTop="true" + app:title="@string/subscriptions_label" + android:id="@+id/toolbar"/> + + <GridView + android:layout_below="@id/toolbar" + android:id="@+id/subscriptions_grid" + android:layout_width="match_parent" + android:numColumns="3" + android:horizontalSpacing="2dp" + android:verticalSpacing="2dp" + android:layout_height="match_parent" + android:layout_gravity="center_horizontal" + android:paddingBottom="88dp" + android:clipToPadding="false"/> - <GridView - android:id="@+id/subscriptions_grid" - android:layout_width="match_parent" - android:numColumns="3" - android:horizontalSpacing="2dp" - android:verticalSpacing="2dp" - android:layout_height="match_parent" - android:layout_gravity="center_horizontal" - android:paddingBottom="88dp" - android:clipToPadding="false"> - </GridView> - <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/subscriptions_add" android:layout_width="56dp" android:layout_height="56dp" android:layout_margin="16dp" - android:layout_gravity="bottom|end" + android:layout_alignParentBottom="true" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" android:contentDescription="@string/add_feed_label" - android:src="@drawable/ic_add_white_24dp" - /> -</FrameLayout> + android:src="@drawable/ic_add_white_24dp"/> +</RelativeLayout> |