| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.coordinatorlayout.widget.CoordinatorLayout 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:id="@+id/container"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:theme="?attr/actionBarTheme"
- app:contentInsetStartWithNavigation="0dp"
- app:navigationIcon="@drawable/ic_close_24dp"
- app:title="@string/add_tracking" />
- </com.google.android.material.appbar.AppBarLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/title_input"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="12dp"
- android:layout_marginTop="8dp"
- android:hint="@string/title"
- app:endIconMode="clear_text">
- <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
- android:layout_width="match_parent"
- 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>
- <com.google.android.material.divider.MaterialDivider
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <Button
- android:id="@+id/track_btn"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="16dp"
- android:layout_marginVertical="8dp"
- android:text="@string/action_track"
- android:enabled="false" />
- </LinearLayout>
- </androidx.coordinatorlayout.widget.CoordinatorLayout>
|