2019-05-24 09:35:46 +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"
|
2019-05-24 15:38:46 +00:00
|
|
|
android:id="@+id/publicRoomsCoordinator"
|
2019-05-24 09:35:46 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/pale_grey">
|
|
|
|
|
|
|
|
<com.airbnb.epoxy.EpoxyRecyclerView
|
2019-05-24 13:00:43 +00:00
|
|
|
android:id="@+id/publicRoomsList"
|
2019-05-24 09:35:46 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
2019-05-24 13:00:43 +00:00
|
|
|
tools:listitem="@layout/item_public_room" />
|
2019-05-24 09:35:46 +00:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2019-06-03 14:04:22 +00:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
style="@style/VectorToolbarStyle"
|
2019-05-24 09:35:46 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-06-03 14:04:22 +00:00
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
|
|
app:layout_scrollFlags="noScroll"
|
|
|
|
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
|
|
|
|
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/publicRoomsFilter"
|
2019-05-24 09:35:46 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-06-03 14:04:22 +00:00
|
|
|
android:layout_height="32dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="@dimen/layout_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/layout_horizontal_margin"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:background="@drawable/bg_search_edit_text"
|
|
|
|
android:drawableStart="@drawable/ic_search_white"
|
|
|
|
android:drawableLeft="@drawable/ic_search_white"
|
|
|
|
android:drawablePadding="8dp"
|
|
|
|
android:drawableTint="#9fa9ba"
|
|
|
|
android:hint="@string/home_filter_placeholder_rooms"
|
|
|
|
android:lines="1"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp" />
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/publicRoomsCreateNewRoom"
|
|
|
|
style="@style/VectorButtonStyleFlat"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:drawableStart="@drawable/ic_plus_circle"
|
|
|
|
android:drawableLeft="@drawable/ic_plus_circle"
|
|
|
|
android:drawablePadding="13dp"
|
|
|
|
android:text="@string/create_new_room"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways|snap" />
|
2019-05-24 09:35:46 +00:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|