2021-10-31 20:19:25 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context=".ui.DetailActivity">
|
|
|
|
|
2021-11-14 22:48:50 +01:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/detail_notification_list_container"
|
2021-10-31 20:19:25 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-11-01 13:58:12 +01:00
|
|
|
android:layout_marginTop="10dp"
|
2021-11-14 22:48:50 +01:00
|
|
|
android:visibility="gone">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/detail_notification_list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
app:layoutManager="LinearLayoutManager"/>
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2021-10-31 20:19:25 +01:00
|
|
|
|
2021-11-01 16:12:09 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/detail_no_notifications" app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" app:srcCompat="@drawable/ic_sms_gray_48dp"
|
|
|
|
android:id="@+id/detail_no_notifications_image"/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/detail_no_notifications_text"
|
|
|
|
android:text="@string/detail_no_notifications_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:padding="10dp" android:gravity="center_horizontal"
|
|
|
|
android:paddingStart="50dp" android:paddingEnd="50dp"/>
|
2021-11-01 17:12:36 +01:00
|
|
|
<TextView
|
|
|
|
android:text="@string/detail_how_to_intro"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/detail_how_to_intro"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:layout_marginStart="50dp"
|
|
|
|
android:layout_marginEnd="50dp"/>
|
|
|
|
<TextView
|
|
|
|
android:text="@string/detail_how_to_example"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/detail_how_to_example"
|
|
|
|
android:layout_marginTop="7dp"
|
|
|
|
android:layout_marginStart="50dp"
|
|
|
|
android:layout_marginEnd="50dp"/>
|
|
|
|
<TextView
|
|
|
|
android:text="@string/detail_how_to_link"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/detail_how_to_link"
|
|
|
|
android:layout_marginTop="7dp"
|
|
|
|
android:layout_marginStart="50dp"
|
|
|
|
android:layout_marginEnd="50dp"
|
|
|
|
android:linksClickable="true"
|
|
|
|
android:autoLink="web"/>
|
2021-11-01 16:12:09 +01:00
|
|
|
</LinearLayout>
|
2021-10-31 20:19:25 +01:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|