Thorium-android-app/app/src/main/res/layout/activity_search_server.xml

62 lines
2.3 KiB
XML
Raw Normal View History

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"
tools:context=".activity.SearchServerActivity">
2019-02-17 16:26:17 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<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"
android:orientation="vertical">
2019-02-17 16:26:17 +01: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"
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" />
<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"/>
<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>
</LinearLayout>
2019-03-02 20:13:02 +01:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>