2020-09-25 17:38:59 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBarLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:liftOnScroll="true">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorSurface"
|
|
|
|
app:navigationIcon="@drawable/ic_search"
|
|
|
|
app:popupTheme="?attr/toolbarPopupTheme"
|
|
|
|
app:title="@null"
|
|
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/appNameText"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textAppearance="@style/TextViewHeadline6"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/cab_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/toolbar_height" />
|
|
|
|
</FrameLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2020-10-17 12:15:52 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
2020-09-25 17:38:59 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-10-02 18:05:09 +00:00
|
|
|
android:layout_height="match_parent"
|
2020-10-17 12:15:52 +00:00
|
|
|
android:clipToPadding="false"
|
|
|
|
android:overScrollMode="never"
|
|
|
|
android:scrollbars="none"
|
|
|
|
android:transitionGroup="true"
|
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
|
|
|
|
tools:listitem="@layout/item_list" />
|
2020-09-25 17:38:59 +00:00
|
|
|
|
2020-10-17 12:15:52 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@android:id/empty"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/emptyEmoji"
|
|
|
|
android:layout_width="wrap_content"
|
2020-09-25 17:38:59 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-10-17 12:15:52 +00:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:text="@string/empty_text_emoji"
|
|
|
|
android:textAppearance="@style/TextViewHeadline3" />
|
2020-09-25 17:38:59 +00:00
|
|
|
|
2020-10-17 12:15:52 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/emptyText"
|
2020-09-25 17:38:59 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-10-17 12:15:52 +00:00
|
|
|
android:text="@string/empty"
|
|
|
|
android:textAppearance="@style/TextViewHeadline5"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
</LinearLayout>
|
2020-09-25 17:38:59 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|