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

47 lines
1.9 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"
2022-10-07 12:03:38 +02:00
android:orientation="horizontal"
2022-07-08 20:16:14 +02:00
android:paddingHorizontal="6dp">
2022-07-31 14:15:42 +02:00
2022-07-08 20:16:14 +02:00
<com.google.android.material.button.MaterialButton
2022-11-28 15:56:58 +01:00
style="@style/Widget.Material3.Button.OutlinedButton.Icon"
2022-07-31 14:15:42 +02:00
android:id="@+id/fetch_more_max"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-10-07 12:03:38 +02:00
android:layout_gravity="center"
2022-11-28 15:56:58 +01:00
app:strokeColor="?colorPrimary"
2022-07-08 20:16:14 +02:00
android:contentDescription="@string/fetch_more_messages"
2022-11-28 10:37:57 +01:00
app:icon="@drawable/ic_baseline_keyboard_double_arrow_down_24" />
<androidx.appcompat.widget.AppCompatTextView
2022-10-07 12:03:38 +02:00
android:layout_width="0dp"
android:layout_weight="1"
android:gravity="center"
android:layout_height="wrap_content"
android:layout_gravity="center"
2022-10-07 12:03:38 +02:00
2022-11-28 15:56:58 +01:00
android:textColor="?colorPrimary"
android:text="@string/fetch_more_messages"
2022-07-08 20:16:14 +02:00
android:textAlignment="center"
2022-11-28 11:46:48 +01:00
android:textAppearance="@style/TextAppearance.Material3.BodyMedium"
2022-07-31 14:15:42 +02:00
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-11-28 15:56:58 +01:00
style="@style/Widget.Material3.Button.OutlinedButton.Icon"
2022-10-07 12:03:38 +02:00
android:layout_gravity="center"
2022-11-28 15:56:58 +01:00
app:strokeColor="?colorPrimary"
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-11-28 10:37:57 +01:00
app:icon="@drawable/ic_baseline_keyboard_double_arrow_up_24" />
2022-07-08 20:16:14 +02:00
</androidx.appcompat.widget.LinearLayoutCompat>