summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/drawer_fetch_more.xml
blob: 2f20a5d29e8cf304408a26951caac7c4eac8b6b3 (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
40
41
42
43
44
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/fetch_more_container"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:orientation="horizontal"
    android:paddingHorizontal="6dp">

    <com.google.android.material.button.MaterialButton
        android:id="@+id/fetch_more_min"
        style="@style/Widget.App.Button.IconOnly.Outline"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="6dp"
        android:layout_marginTop="6dp"
        android:contentDescription="@string/fetch_more_messages"
        app:icon="@drawable/ic_fetch_more_arrow_upward"
        app:iconPadding="0dp" />

    <androidx.appcompat.widget.AppCompatTextView
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_margin="6dp"
        android:layout_weight="1"
        android:text="@string/fetch_more_messages"
        android:textAlignment="center"
        android:textColor="?colorAccent"
        android:textSize="18sp" />

    <com.google.android.material.button.MaterialButton
        android:id="@+id/fetch_more_max"
        style="@style/Widget.App.Button.IconOnly.Outline"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="6dp"
        android:layout_marginBottom="6dp"
        android:contentDescription="@string/fetch_more_messages"
        app:icon="@drawable/ic_fetch_more_arrow_downward"
        app:iconPadding="0dp" />

</androidx.appcompat.widget.LinearLayoutCompat>