Created
December 23, 2019 23:36
-
-
Save demonar/46881b49a13a5e84fb9314782b0f4b6d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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" | |
| tools:context="com.demon.android.demo.activity.SearchActivity"> | |
| <include layout="@layout/toolbar" /> | |
| <LinearLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| app:layout_behavior="@string/appbar_scrolling_view_behavior" | |
| android:orientation="vertical"> | |
| <com.google.android.material.tabs.TabLayout | |
| android:id="@+id/tabs" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:visibility="gone"> | |
| <com.google.android.material.tabs.TabItem | |
| android:text="ascending" | |
| android:layout_height="match_parent" | |
| android:layout_width="match_parent"/> | |
| <com.google.android.material.tabs.TabItem | |
| android:text="descending" | |
| android:layout_height="match_parent" | |
| android:layout_width="match_parent"/> | |
| </com.google.android.material.tabs.TabLayout> | |
| <androidx.recyclerview.widget.RecyclerView | |
| android:id="@+id/recyclerView" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| app:layoutManager="LinearLayoutManager" | |
| tools:listitem="@layout/list_item" /> | |
| </LinearLayout> | |
| </androidx.coordinatorlayout.widget.CoordinatorLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment