2017-06-19 18:18:39 +10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
tools:context="com.keylesspalace.tusky.SearchActivity">
|
|
|
|
|
2017-07-15 17:10:55 +10:00
|
|
|
<android.support.design.widget.AppBarLayout
|
2017-06-19 18:18:39 +10:00
|
|
|
android:layout_width="match_parent"
|
2017-07-15 17:10:55 +10:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:stateListAnimator="@null"
|
|
|
|
android:elevation="0dp"
|
|
|
|
app:layout_collapseMode="pin">
|
2017-06-19 18:18:39 +10:00
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="?attr/toolbar_background_color"
|
2017-06-22 16:00:03 +10:00
|
|
|
app:navigationIcon="?attr/homeAsUpIndicator"
|
|
|
|
app:contentInsetStartWithNavigation="0dp" />
|
2017-06-19 18:18:39 +10:00
|
|
|
|
2017-07-15 17:10:55 +10:00
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
2017-06-19 18:18:39 +10:00
|
|
|
android:layout_width="match_parent"
|
2017-07-15 17:10:55 +10:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/recycler_view" />
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/progress_bar"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/message_no_results"
|
|
|
|
android:text="@string/search_no_results"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<include layout="@layout/toolbar_shadow_shim" />
|
2017-06-19 18:18:39 +10:00
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|