2019-04-09 19:13:54 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-05-26 08:39:21 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-04-09 19:13:54 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2020-02-14 19:03:01 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?android:attr/colorBackground">
|
2019-04-09 19:13:54 +02:00
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBarOptions"
|
2019-04-09 19:13:54 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-05-26 08:39:21 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-01-30 21:37:28 +01:00
|
|
|
android:background="?attr/colorSurface"
|
2020-07-20 11:25:36 +02:00
|
|
|
app:elevation="0dp">
|
2019-04-09 19:13:54 +02:00
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/topButtonsLayout"
|
2019-04-09 19:13:54 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-07-20 11:25:36 +02:00
|
|
|
android:orientation="horizontal">
|
2019-04-09 19:13:54 +02:00
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonClear"
|
|
|
|
style="@style/TuskyButton.TextButton"
|
|
|
|
android:layout_width="0dp"
|
2019-04-09 19:13:54 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-05-26 08:39:21 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/notifications_clear"
|
|
|
|
android:textSize="?attr/status_text_medium" />
|
2019-04-09 19:13:54 +02:00
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonFilter"
|
|
|
|
style="@style/TuskyButton.TextButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/notifications_apply_filter"
|
|
|
|
android:textSize="?attr/status_text_medium" />
|
2019-04-09 19:13:54 +02:00
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
</LinearLayout>
|
2019-04-09 19:13:54 +02:00
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:background="?android:attr/listDivider"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways" />
|
2019-04-09 19:13:54 +02:00
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2019-04-09 19:13:54 +02:00
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipeRefreshLayout"
|
|
|
|
android:layout_width="match_parent"
|
2020-02-25 19:57:28 +01:00
|
|
|
android:layout_height="wrap_content"
|
2019-05-26 08:39:21 +02:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2019-04-09 19:13:54 +02:00
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
2019-04-09 19:13:54 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-01-30 21:37:28 +01:00
|
|
|
android:layout_height="match_parent" />
|
2019-04-09 19:13:54 +02:00
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2019-04-09 19:13:54 +02:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-26 08:39:21 +02:00
|
|
|
android:layout_gravity="center" />
|
2019-04-09 19:13:54 +02:00
|
|
|
|
|
|
|
<com.keylesspalace.tusky.view.BackgroundMessageView
|
|
|
|
android:id="@+id/statusView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-26 08:39:21 +02:00
|
|
|
android:layout_gravity="center"
|
2019-04-09 19:13:54 +02:00
|
|
|
android:src="@android:color/transparent"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:src="@drawable/elephant_error"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2019-05-26 08:39:21 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|