NewPipe/app/src/main/res/layout/fragment_search.xml

44 lines
1.5 KiB
XML
Raw Normal View History

2016-08-02 01:42:05 +02:00
<?xml version="1.0" encoding="utf-8"?>
2017-07-02 22:22:37 +02:00
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2016-08-02 01:42:05 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2016-08-03 17:18:05 +02:00
android:layout_width="match_parent"
2017-07-10 05:25:10 +02:00
android:layout_height="match_parent">
<!-- Empty view to receive the focus when the edit text of the toolbar lose it -->
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:focusable="true"
android:focusableInTouchMode="true"/>
2016-08-03 17:18:05 +02:00
<android.support.v7.widget.RecyclerView
2017-04-26 21:24:33 +02:00
android:id="@+id/result_list_view"
2016-08-03 17:18:05 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2017-04-26 21:24:33 +02:00
android:scrollbars="vertical"
2016-08-03 17:18:05 +02:00
app:layoutManager="LinearLayoutManager"
2017-06-27 22:35:52 +02:00
tools:listitem="@layout/stream_item" />
2016-08-03 17:18:05 +02:00
2017-07-02 22:22:37 +02:00
<ProgressBar
android:id="@+id/loading_progress_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:indeterminate="true"
android:visibility="gone"
tools:visibility="visible" />
<!--ERROR PANEL-->
2017-04-26 21:24:33 +02:00
<include
2017-07-02 22:22:37 +02:00
android:id="@+id/error_panel"
layout="@layout/error_retry"
android:layout_width="wrap_content"
2017-04-26 21:24:33 +02:00
android:layout_height="wrap_content"
2017-07-02 22:22:37 +02:00
android:layout_centerHorizontal="true"
android:layout_marginTop="50dp"
android:visibility="gone"
tools:visibility="visible" />
</RelativeLayout>