2015-11-25 18:08:24 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-02-17 15:04:49 +03:00
|
|
|
<android.support.constraint.ConstraintLayout
|
2015-12-31 21:15:24 +03:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-02-17 15:04:49 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-12-31 21:15:24 +03:00
|
|
|
android:layout_width="match_parent"
|
2016-03-12 16:22:40 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2015-11-25 18:08:24 +03:00
|
|
|
|
2018-02-17 15:04:49 +03:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/track_search"
|
2015-11-25 18:08:24 +03:00
|
|
|
android:layout_width="match_parent"
|
2018-02-17 15:04:49 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/title"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginStart="16dp"
|
2018-02-18 21:36:34 +03:00
|
|
|
android:maxLines="1"
|
2018-02-17 15:04:49 +03:00
|
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
2015-11-25 18:08:24 +03:00
|
|
|
|
2015-12-31 21:15:24 +03:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress"
|
|
|
|
style="?android:attr/progressBarStyle"
|
|
|
|
android:layout_width="wrap_content"
|
2018-02-17 15:04:49 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="32dp"
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/divider1"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/track_search"
|
|
|
|
tools:visibility="visible"/>
|
2015-12-31 21:15:24 +03:00
|
|
|
|
2015-11-25 18:08:24 +03:00
|
|
|
<ListView
|
2016-12-19 00:56:28 +03:00
|
|
|
android:id="@+id/track_search_list"
|
2018-02-17 15:04:49 +03:00
|
|
|
style="@style/Theme.Widget.CardView"
|
2015-11-25 18:08:24 +03:00
|
|
|
android:layout_width="match_parent"
|
2018-02-18 21:36:34 +03:00
|
|
|
android:layout_height="match_parent"
|
2018-02-17 15:04:49 +03:00
|
|
|
android:layout_marginTop="40dp"
|
2016-03-12 16:22:40 +03:00
|
|
|
android:choiceMode="singleChoice"
|
|
|
|
android:clipToPadding="false"
|
2015-12-31 21:15:24 +03:00
|
|
|
android:divider="@null"
|
2018-02-17 15:04:49 +03:00
|
|
|
android:dividerHeight="10dp"
|
|
|
|
android:footerDividersEnabled="true"
|
|
|
|
android:headerDividersEnabled="true"
|
2016-03-12 16:22:40 +03:00
|
|
|
android:listSelector="?attr/selectable_list_drawable"
|
2018-02-17 15:04:49 +03:00
|
|
|
android:paddingBottom="4dp"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:scrollbars="none"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/track_search"
|
|
|
|
tools:listitem="@layout/track_search_item"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/divider1"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?android:attr/divider"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/track_search_list"/>
|
2015-11-25 18:08:24 +03:00
|
|
|
|
2018-02-17 15:04:49 +03:00
|
|
|
</android.support.constraint.ConstraintLayout>
|