2019-04-10 03:13:54 +10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-05-26 16:39:21 +10:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-04-10 03:13:54 +10:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2019-05-26 16:39:21 +10:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBarOptions"
|
2019-04-10 03:13:54 +10:00
|
|
|
android:layout_width="match_parent"
|
2019-05-26 16:39:21 +10:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:colorBackground"
|
|
|
|
app:elevation="0dp"
|
|
|
|
app:layout_behavior="com.keylesspalace.tusky.util.AppBarLayoutNoEmptyScrollBehavior">
|
2019-04-10 03:13:54 +10:00
|
|
|
|
2019-05-26 16:39:21 +10:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/topButtonsLayout"
|
2019-04-10 03:13:54 +10:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-26 16:39:21 +10:00
|
|
|
android:orientation="horizontal"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways">
|
2019-04-10 03:13:54 +10:00
|
|
|
|
2019-05-26 16:39:21 +10:00
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonClear"
|
|
|
|
style="@style/TuskyButton.TextButton"
|
|
|
|
android:layout_width="0dp"
|
2019-04-10 03:13:54 +10:00
|
|
|
android:layout_height="wrap_content"
|
2019-05-26 16:39:21 +10:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/notifications_clear"
|
|
|
|
android:textSize="?attr/status_text_medium" />
|
2019-04-10 03:13:54 +10:00
|
|
|
|
2019-05-26 16:39:21 +10: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-10 03:13:54 +10:00
|
|
|
|
2019-05-26 16:39:21 +10:00
|
|
|
</LinearLayout>
|
2019-04-10 03:13:54 +10:00
|
|
|
|
2019-05-26 16:39:21 +10: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-10 03:13:54 +10:00
|
|
|
|
2019-05-26 16:39:21 +10:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2019-04-10 03:13:54 +10:00
|
|
|
|
2019-05-26 16:39:21 +10:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipeRefreshLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2019-04-10 03:13:54 +10:00
|
|
|
|
2019-05-26 16:39:21 +10:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
2019-04-10 03:13:54 +10:00
|
|
|
android:layout_width="match_parent"
|
2019-05-26 16:39:21 +10:00
|
|
|
android:layout_height="match_parent" />
|
2019-04-10 03:13:54 +10:00
|
|
|
|
2019-05-26 16:39:21 +10:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2019-04-10 03:13:54 +10:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-26 16:39:21 +10:00
|
|
|
android:layout_gravity="center" />
|
2019-04-10 03:13:54 +10:00
|
|
|
|
|
|
|
<com.keylesspalace.tusky.view.BackgroundMessageView
|
|
|
|
android:id="@+id/statusView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-26 16:39:21 +10:00
|
|
|
android:layout_gravity="center"
|
2019-04-10 03:13:54 +10:00
|
|
|
android:src="@android:color/transparent"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:src="@drawable/elephant_error"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2019-05-26 16:39:21 +10:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|