mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-18 05:49:15 +01:00
ae97bb0445
* Use Material Components' dialogs For all dialogs that has direct replacement. * Convert text input dialogs * Convert quad-state multi choices dialogs * Convert date picker dialogs This also changes the flow to remove selected start/finish tracking date and the track item itself * Remove material-dialogs dependencies
56 lines
2.2 KiB
XML
56 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingVertical="8dp">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
|
android:id="@+id/btn_decrease_10"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/list_item_selector"
|
|
android:padding="8dp"
|
|
android:tint="?attr/colorAccent"
|
|
app:srcCompat="@drawable/ic_chevron_left_double_black_24dp" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
|
android:id="@+id/btn_decrease"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/list_item_selector"
|
|
android:padding="8dp"
|
|
android:tint="?attr/colorAccent"
|
|
app:srcCompat="@drawable/ic_chevron_left_black_24dp" />
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/myNumber"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:digits="0123456789"
|
|
android:inputType="number"
|
|
android:padding="8dp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
|
android:id="@+id/btn_increase"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/list_item_selector"
|
|
android:padding="8dp"
|
|
android:tint="?attr/colorAccent"
|
|
app:srcCompat="@drawable/ic_chevron_right_black_24dp" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
|
android:id="@+id/btn_increase_10"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/list_item_selector"
|
|
android:padding="8dp"
|
|
android:tint="?attr/colorAccent"
|
|
app:srcCompat="@drawable/ic_chevron_right_double_black_24dp" />
|
|
|
|
</LinearLayout>
|