2018-01-23 21:18:55 +01:00
|
|
|
<?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"
|
2021-07-15 00:04:03 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingVertical="8dp">
|
2018-01-23 21:18:55 +01:00
|
|
|
|
2020-01-05 17:29:27 +01:00
|
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
2018-01-23 21:18:55 +01:00
|
|
|
android:id="@+id/btn_decrease_10"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2020-03-12 00:08:57 +01:00
|
|
|
android:background="@drawable/list_item_selector"
|
2018-01-23 21:18:55 +01:00
|
|
|
android:padding="8dp"
|
2020-03-14 18:18:34 +01:00
|
|
|
android:tint="?attr/colorAccent"
|
2018-01-23 21:18:55 +01:00
|
|
|
app:srcCompat="@drawable/ic_chevron_left_double_black_24dp" />
|
|
|
|
|
2020-01-05 17:29:27 +01:00
|
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
2018-01-23 21:18:55 +01:00
|
|
|
android:id="@+id/btn_decrease"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2020-03-12 00:08:57 +01:00
|
|
|
android:background="@drawable/list_item_selector"
|
2018-01-23 21:18:55 +01:00
|
|
|
android:padding="8dp"
|
2020-03-14 18:18:34 +01:00
|
|
|
android:tint="?attr/colorAccent"
|
2018-01-23 21:18:55 +01:00
|
|
|
app:srcCompat="@drawable/ic_chevron_left_black_24dp" />
|
|
|
|
|
2020-06-13 21:34:55 +02:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2018-01-23 21:18:55 +01:00
|
|
|
android:id="@+id/myNumber"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-01-23 21:18:55 +01:00
|
|
|
android:digits="0123456789"
|
|
|
|
android:inputType="number"
|
|
|
|
android:padding="8dp"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:textStyle="bold" />
|
2018-01-23 21:18:55 +01:00
|
|
|
|
2020-01-05 17:29:27 +01:00
|
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
2018-01-23 21:18:55 +01:00
|
|
|
android:id="@+id/btn_increase"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2020-03-12 00:08:57 +01:00
|
|
|
android:background="@drawable/list_item_selector"
|
2018-01-23 21:18:55 +01:00
|
|
|
android:padding="8dp"
|
2020-03-14 18:18:34 +01:00
|
|
|
android:tint="?attr/colorAccent"
|
2018-01-23 21:18:55 +01:00
|
|
|
app:srcCompat="@drawable/ic_chevron_right_black_24dp" />
|
|
|
|
|
2020-01-05 17:29:27 +01:00
|
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
2018-01-23 21:18:55 +01:00
|
|
|
android:id="@+id/btn_increase_10"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2020-03-12 00:08:57 +01:00
|
|
|
android:background="@drawable/list_item_selector"
|
2018-01-23 21:18:55 +01:00
|
|
|
android:padding="8dp"
|
2020-03-14 18:18:34 +01:00
|
|
|
android:tint="?attr/colorAccent"
|
2018-01-23 21:18:55 +01:00
|
|
|
app:srcCompat="@drawable/ic_chevron_right_double_black_24dp" />
|
|
|
|
|
2020-01-05 17:29:27 +01:00
|
|
|
</LinearLayout>
|