mirror of https://github.com/tuskyapp/Tusky.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
4.2 KiB
102 lines
4.2 KiB
<?xml version="1.0" encoding="utf-8"?> |
|
<!-- |
|
~ Copyright 2023 Tusky Contributors |
|
~ |
|
~ This file is a part of Tusky. |
|
~ |
|
~ This program is free software; you can redistribute it and/or modify it under the terms of the |
|
~ GNU General Public License as published by the Free Software Foundation; either version 3 of the |
|
~ License, or (at your option) any later version. |
|
~ |
|
~ Tusky is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
|
~ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
|
~ Public License for more details. |
|
~ |
|
~ You should have received a copy of the GNU General Public License along with Tusky; if not, |
|
~ see <http://www.gnu.org/licenses>. |
|
--> |
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
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" |
|
android:background="?attr/windowBackgroundColor"> |
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout |
|
android:layout_width="640dp" |
|
android:layout_height="match_parent" |
|
android:layout_gravity="center_horizontal" |
|
android:background="?android:attr/colorBackground"> |
|
|
|
<com.google.android.material.appbar.AppBarLayout |
|
android:id="@+id/appBarOptions" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:background="?attr/colorSurface" |
|
app:elevation="0dp"> |
|
|
|
<LinearLayout |
|
android:id="@+id/topButtonsLayout" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:orientation="horizontal"> |
|
|
|
<Button |
|
android:id="@+id/buttonClear" |
|
style="@style/TuskyButton.TextButton" |
|
android:layout_width="0dp" |
|
android:layout_height="wrap_content" |
|
android:layout_weight="1" |
|
android:text="@string/notifications_clear" |
|
android:textSize="?attr/status_text_medium" /> |
|
|
|
<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" /> |
|
|
|
</LinearLayout> |
|
|
|
<View |
|
android:layout_width="match_parent" |
|
android:layout_height="1dp" |
|
android:layout_gravity="bottom" |
|
android:background="?android:attr/listDivider" |
|
app:layout_scrollFlags="scroll|enterAlways" /> |
|
|
|
</com.google.android.material.appbar.AppBarLayout> |
|
|
|
<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"> |
|
|
|
<androidx.recyclerview.widget.RecyclerView |
|
android:id="@+id/recyclerView" |
|
android:layout_width="match_parent" |
|
android:layout_height="match_parent" |
|
android:background="?android:attr/colorBackground" /> |
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
|
|
|
<ProgressBar |
|
android:id="@+id/progressBar" |
|
android:layout_width="wrap_content" |
|
android:layout_height="wrap_content" |
|
android:layout_gravity="center" /> |
|
|
|
<com.keylesspalace.tusky.view.BackgroundMessageView |
|
android:id="@+id/statusView" |
|
android:layout_width="wrap_content" |
|
android:layout_height="wrap_content" |
|
android:layout_gravity="center" |
|
android:visibility="gone" |
|
tools:visibility="visible" /> |
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |
|
</FrameLayout>
|
|
|