aniyomi/app/src/main/res/layout/track_search_dialog.xml

62 lines
2.1 KiB
XML
Raw Normal View History

2015-11-25 18:08:24 +03:00
<?xml version="1.0" encoding="utf-8"?>
2018-04-13 17:28:09 +03:00
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
2018-04-13 17:28:09 +03:00
android:layout_height="match_parent"
2016-03-12 16:22:40 +03:00
android:orientation="vertical">
2015-11-25 18:08:24 +03:00
<EditText
android:id="@+id/track_search"
2015-11-25 18:08:24 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/title"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
2018-04-13 17:28:09 +03:00
android:inputType="text"
android:maxLines="1"/>
2015-11-25 18:08:24 +03:00
2018-04-13 17:28:09 +03:00
<FrameLayout
2015-11-25 18:08:24 +03:00
android:layout_width="match_parent"
2018-04-13 17:28:09 +03:00
android:layout_height="0dp"
android:layout_weight="1">
<ProgressBar
android:id="@+id/progress"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="32dp"
android:layout_marginTop="32dp"
android:layout_gravity="center"
android:visibility="invisible"
tools:visibility="visible"/>
<ListView
android:id="@+id/track_search_list"
style="@style/Theme.Widget.CardView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:choiceMode="singleChoice"
android:divider="@null"
android:dividerHeight="10dp"
android:footerDividersEnabled="true"
android:headerDividersEnabled="true"
android:listSelector="?attr/selectable_list_drawable"
android:paddingBottom="4dp"
android:paddingTop="4dp"
android:scrollbars="none"
android:visibility="invisible"
tools:listitem="@layout/track_search_item"
tools:visibility="visible"/>
</FrameLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
2018-04-13 17:28:09 +03:00
android:background="?android:attr/divider"/>
2015-11-25 18:08:24 +03:00
2018-04-13 17:28:09 +03:00
</LinearLayout>