mirror of https://codeberg.org/gitnex/GitNex.git
61 lines
2.1 KiB
XML
61 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/mainLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/primaryBackgroundColor"
|
|
android:orientation="vertical">
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/loadingMoreView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:visibility="gone"
|
|
android:padding="5dp" />
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
android:id="@+id/pullToRefresh"
|
|
android:layout_above="@id/loadingMoreView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/notifications"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/noDataNotifications"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_margin="15dp"
|
|
android:gravity="center"
|
|
android:text="@string/noDataNotifications"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="20sp"
|
|
android:visibility="gone" />
|
|
|
|
<ImageView
|
|
android:id="@+id/markAllAsRead"
|
|
android:layout_width="54dp"
|
|
android:layout_height="54dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_margin="15dp"
|
|
android:background="@drawable/shape_circle"
|
|
android:contentDescription="@string/markAsRead"
|
|
android:padding="@dimen/fab_padding"
|
|
android:src="@drawable/ic_done"
|
|
android:tint="@color/colorWhite" />
|
|
|
|
</RelativeLayout>
|