2019-02-17 16:26:17 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-03-02 20:13:02 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-02-17 16:26:17 +01:00
|
|
|
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"
|
2020-07-05 14:25:28 +02:00
|
|
|
tools:context=".activity.SearchServerActivity">
|
2019-02-17 16:26:17 +01:00
|
|
|
|
2020-09-25 18:15:07 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-06-27 23:28:52 +02:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appbar_server_selection"
|
2019-02-17 16:26:17 +01:00
|
|
|
android:layout_width="match_parent"
|
2019-03-02 20:13:02 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-06-27 23:28:52 +02:00
|
|
|
android:orientation="vertical">
|
2019-02-17 16:26:17 +01:00
|
|
|
|
2020-06-27 23:28:52 +02:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/tool_bar_server_selection"
|
2019-02-17 16:26:17 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-06-27 23:28:52 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:elevation="4dp"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways" />
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/empty_server_selection_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/no_data_available"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
2020-09-25 18:15:07 +02:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/search_server_input_field"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/server_selection_filter_hint"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:imeOptions="actionGo"/>
|
|
|
|
|
2020-06-27 23:28:52 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/serversSwipeRefreshLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/serverRecyclerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
2020-09-25 18:15:07 +02:00
|
|
|
</LinearLayout>
|
2019-03-02 20:13:02 +01:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|