fedilab-Android-App/app/src/main/res/layout/drawer_fetch_more.xml

50 lines
2.1 KiB
XML
Raw Normal View History

2022-06-01 18:36:02 +02:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
2022-07-08 20:16:14 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/fetch_more_container"
2022-06-01 18:36:02 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-07-31 14:15:42 +02:00
android:gravity="center_horizontal"
android:orientation="vertical"
2022-07-08 20:16:14 +02:00
android:paddingHorizontal="6dp">
2022-07-31 14:15:42 +02:00
<com.google.android.material.divider.MaterialDivider
android:layout_width="match_parent"
android:layout_height="1dp" />
2022-07-08 20:16:14 +02:00
<com.google.android.material.button.MaterialButton
2022-07-31 14:15:42 +02:00
android:id="@+id/fetch_more_max"
2022-07-08 20:16:14 +02:00
style="@style/Widget.App.Button.IconOnly.Outline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-07-08 20:16:14 +02:00
android:layout_marginTop="6dp"
android:contentDescription="@string/fetch_more_messages"
2022-07-31 14:15:42 +02:00
app:icon="@drawable/ic_fetch_more_arrow_downward"
app:iconPadding="0dp"
app:iconTint="?android:textColorPrimary"
app:strokeColor="?android:textColorPrimary" />
<androidx.appcompat.widget.AppCompatTextView
2022-07-31 14:15:42 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
2022-07-31 14:15:42 +02:00
android:layout_marginVertical="24dp"
android:text="@string/fetch_more_messages"
2022-07-08 20:16:14 +02:00
android:textAlignment="center"
2022-07-31 14:15:42 +02:00
android:textAppearance="@style/TextAppearance.MaterialComponents.Button"
android:textSize="18sp"
app:textAllCaps="false" />
2022-07-08 20:16:14 +02:00
<com.google.android.material.button.MaterialButton
2022-07-31 14:15:42 +02:00
android:id="@+id/fetch_more_min"
2022-07-08 20:16:14 +02:00
style="@style/Widget.App.Button.IconOnly.Outline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-07-08 20:16:14 +02:00
android:contentDescription="@string/fetch_more_messages"
2022-07-31 14:15:42 +02:00
app:icon="@drawable/ic_fetch_more_arrow_upward"
app:iconPadding="0dp"
app:iconTint="?android:textColorPrimary"
app:strokeColor="?android:textColorPrimary" />
2022-07-08 20:16:14 +02:00
</androidx.appcompat.widget.LinearLayoutCompat>