2019-03-08 18:51:20 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-04-01 20:18:20 +00: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"
|
|
|
|
|
android:orientation="vertical"
|
2021-06-04 14:11:48 +00:00
|
|
|
tools:context=".ui.activities.NotificationsActivity">
|
2019-04-01 20:18:20 +00:00
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2025-01-30 10:29:45 +00:00
|
|
|
android:id="@+id/appbar"
|
|
|
|
|
android:background="?attr/headerBackgroundColor"
|
2019-04-01 20:18:20 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
|
android:id="@+id/toolbar"
|
2019-03-08 18:51:20 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-04-01 20:18:20 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
2020-08-26 10:58:04 +00:00
|
|
|
android:theme="@style/Toolbar.Modern"
|
2023-01-04 13:34:12 +00:00
|
|
|
style="@style/ToolbarTitleStyle"
|
2019-04-01 20:18:20 +00:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
2020-09-29 10:48:20 +00:00
|
|
|
app:popupTheme="@style/PopupTheme" />
|
2019-03-08 18:51:20 +00:00
|
|
|
|
2019-04-01 20:18:20 +00:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2019-03-08 18:51:20 +00:00
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/fragment_container"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2019-04-01 20:18:20 +00:00
|
|
|
android:layout_gravity="top|center"
|
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
2019-08-24 10:33:14 +00:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
2019-03-17 20:54:58 +00:00
|
|
|
android:id="@+id/notifications_refresh_layout"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2019-03-08 18:51:20 +00:00
|
|
|
|
2019-03-17 20:54:58 +00:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2025-01-30 10:29:45 +00:00
|
|
|
android:id="@+id/nested_scroll_view"
|
2019-03-17 20:54:58 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-05-19 17:31:28 +00:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
<LinearLayout
|
2019-03-17 20:54:58 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-10-30 22:34:50 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="20dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:paddingEnd="10dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingTop="@dimen/spacing_medium">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@android:id/title"
|
|
|
|
|
style="@style/Body1"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginBottom="16dip"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="@string/notifications"
|
|
|
|
|
android:textAllCaps="true"
|
|
|
|
|
android:textColor="@color/text_quad"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/notifications_title_badge"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:background="@drawable/badge_gray"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minWidth="24dp"
|
|
|
|
|
android:textColor="@color/text_quad"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
tools:text="1" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/dismiss_all_button"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:text="@string/dismiss_all"
|
|
|
|
|
android:textColor="@color/text_brand" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<androidx.compose.ui.platform.ComposeView
|
|
|
|
|
android:id="@+id/progress_view"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/notification_items"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:divider="?android:listDivider"
|
|
|
|
|
android:visibility="invisible"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:showDividers="middle" />
|
|
|
|
|
</LinearLayout>
|
2019-03-17 20:54:58 +00:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2019-03-08 18:51:20 +00:00
|
|
|
</FrameLayout>
|
|
|
|
|
|
2019-04-01 20:18:20 +00:00
|
|
|
</LinearLayout>
|