summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_subscriptions.xml
blob: d16331a10da36a4b0b9f9cbddd72a739e1d58d6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?>
<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"/>

    <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_alignParentBottom="true"
            android:layout_alignParentEnd="true"
            android:layout_alignParentRight="true"
            android:contentDescription="@string/add_feed_label"
            android:src="@drawable/ic_add_white_24dp"/>
</RelativeLayout>