74 lines
3.6 KiB
XML
74 lines
3.6 KiB
XML
<?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">
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
android:id="@+id/detail_notification_list_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="10dp"
|
|
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>
|
|
|
|
<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"/>
|
|
<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"/>
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|