2015-11-25 23:08:24 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-06-28 23:33:26 +08:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-06-01 06:29:20 +08:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-02-17 20:04:49 +08:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2021-06-28 23:33:26 +08:00
|
|
|
android:id="@+id/container"
|
2016-01-01 02:15:24 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-06-28 23:33:26 +08:00
|
|
|
android:layout_height="match_parent">
|
2015-11-25 23:08:24 +08:00
|
|
|
|
2021-06-28 23:33:26 +08:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
2015-11-25 23:08:24 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-06-28 23:33:26 +08:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
2020-06-01 06:29:20 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-06-28 23:33:26 +08:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:theme="?attr/actionBarTheme"
|
|
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
|
|
app:navigationIcon="@drawable/ic_close_24dp"
|
|
|
|
app:title="@string/add_tracking" />
|
2020-06-01 06:29:20 +08:00
|
|
|
|
2021-06-28 23:33:26 +08:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2015-11-25 23:08:24 +08:00
|
|
|
|
2021-06-28 23:33:26 +08:00
|
|
|
<LinearLayout
|
2015-11-25 23:08:24 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-06-28 23:33:26 +08:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2018-04-13 22:28:09 +08:00
|
|
|
|
2021-06-28 23:33:26 +08:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/title_input"
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
|
|
android:layout_width="match_parent"
|
2018-04-13 22:28:09 +08:00
|
|
|
android:layout_height="wrap_content"
|
2021-06-28 23:33:26 +08:00
|
|
|
android:layout_marginHorizontal="12dp"
|
|
|
|
android:layout_marginTop="8dp"
|
2021-07-03 21:44:12 +08:00
|
|
|
android:hint="@string/title"
|
|
|
|
app:endIconMode="clear_text">
|
2021-06-28 23:33:26 +08:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/title_input_edit_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:imeOptions="actionSearch"
|
|
|
|
android:inputType="text"
|
|
|
|
android:maxLines="1" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
2018-04-13 22:28:09 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-06-28 23:33:26 +08:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<com.google.android.material.progressindicator.CircularProgressIndicator
|
|
|
|
android:id="@+id/progress"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/message"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textAppearance="?attr/textAppearanceBody2"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:text="@string/no_results_found" />
|
|
|
|
|
|
|
|
<eu.kanade.tachiyomi.widget.AutofitRecyclerView
|
|
|
|
android:id="@+id/track_search_recyclerview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:columnWidth="330dp"
|
|
|
|
android:paddingHorizontal="8dp"
|
|
|
|
android:paddingBottom="8dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:listitem="@layout/track_search_item"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
2021-08-28 23:13:09 +08:00
|
|
|
<Button
|
|
|
|
android:id="@+id/track_btn"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="16dp"
|
|
|
|
android:layout_marginVertical="4dp"
|
|
|
|
android:text="@string/action_track"
|
|
|
|
android:enabled="false" />
|
|
|
|
|
2021-06-28 23:33:26 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|