2015-11-25 16:08:24 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-02-22 00:43:50 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-06-01 00:29:20 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-02-17 13:04:49 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-12-31 19:15:24 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-04-13 16:28:09 +02:00
|
|
|
android:layout_height="match_parent"
|
2016-03-12 14:22:40 +01:00
|
|
|
android:orientation="vertical">
|
2015-11-25 16:08:24 +01:00
|
|
|
|
2020-06-01 00:29:20 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2015-11-25 16:08:24 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-02-17 13:04:49 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:layout_marginEnd="16dp"
|
2020-06-01 00:29:20 +02:00
|
|
|
app:boxBackgroundMode="filled"
|
|
|
|
app:endIconMode="clear_text"
|
|
|
|
app:hintEnabled="false">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/track_search"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/title"
|
|
|
|
android:inputType="text" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2015-11-25 16:08:24 +01:00
|
|
|
|
2018-04-13 16:28:09 +02:00
|
|
|
<FrameLayout
|
2015-11-25 16:08:24 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-04-13 16:28:09 +02:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
2020-12-26 17:24:10 +01:00
|
|
|
<com.google.android.material.progressindicator.CircularProgressIndicator
|
2018-04-13 16:28:09 +02:00
|
|
|
android:id="@+id/progress"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
android:layout_marginBottom="32dp"
|
2020-12-26 17:24:10 +01:00
|
|
|
android:indeterminate="true"
|
2018-04-13 16:28:09 +02:00
|
|
|
android:visibility="invisible"
|
2020-02-22 00:43:50 +01:00
|
|
|
tools:visibility="visible" />
|
2018-04-13 16:28:09 +02:00
|
|
|
|
|
|
|
<ListView
|
|
|
|
android:id="@+id/track_search_list"
|
|
|
|
style="@style/Theme.Widget.CardView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:choiceMode="singleChoice"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:clipToPadding="false"
|
2018-04-13 16:28:09 +02:00
|
|
|
android:divider="@null"
|
|
|
|
android:dividerHeight="10dp"
|
|
|
|
android:footerDividersEnabled="true"
|
|
|
|
android:headerDividersEnabled="true"
|
2020-03-12 00:08:57 +01:00
|
|
|
android:listSelector="@drawable/list_item_selector"
|
2018-04-13 16:28:09 +02:00
|
|
|
android:scrollbars="none"
|
|
|
|
android:visibility="invisible"
|
|
|
|
tools:listitem="@layout/track_search_item"
|
2020-02-22 00:43:50 +01:00
|
|
|
tools:visibility="visible" />
|
2018-04-13 16:28:09 +02:00
|
|
|
|
|
|
|
</FrameLayout>
|
2018-02-17 13:04:49 +01:00
|
|
|
|
2018-04-13 16:28:09 +02:00
|
|
|
</LinearLayout>
|