mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 05:15:10 +01:00
fc1f290b85
fixed results not showing for jellybean made edit text max line 1 to prevent it newlines being added and moving the edit text into the list view
65 lines
2.5 KiB
XML
65 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.constraint.ConstraintLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<EditText
|
|
android:id="@+id/track_search"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/title"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginStart="16dp"
|
|
android:maxLines="1"
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
<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: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"/>
|
|
|
|
<ListView
|
|
android:id="@+id/track_search_list"
|
|
style="@style/Theme.Widget.CardView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="40dp"
|
|
android:choiceMode="singleChoice"
|
|
android:clipToPadding="false"
|
|
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="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"/>
|
|
|
|
</android.support.constraint.ConstraintLayout> |