2022-08-26 02:18:12 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
2022-11-25 23:06:03 +05:30
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingHorizontal="10dp"
|
|
|
|
android:paddingVertical="10dp">
|
2022-08-26 02:18:12 +05:30
|
|
|
|
2022-11-25 23:06:03 +05:30
|
|
|
<TextView
|
|
|
|
android:id="@+id/currentValue"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginVertical="10dp"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<LinearLayout
|
2022-08-26 02:18:12 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-11-25 23:06:03 +05:30
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/minus"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:src="@drawable/ic_remove" />
|
|
|
|
|
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
android:id="@+id/slider"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:stepSize="0.1"
|
|
|
|
android:value="1"
|
|
|
|
android:valueFrom="0"
|
|
|
|
android:valueTo="5" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/plus"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:src="@drawable/ic_add" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2022-08-26 02:18:12 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|