2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-01-03 12:40:42 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-27 13:07:33 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-07-16 18:51:04 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/viewGroup"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
2019-11-04 18:43:54 +00:00
|
|
|
android:orientation="horizontal"
|
2020-01-03 12:40:42 +00:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-09-28 17:52:49 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/volumeDown"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:background="?roundSelector"
|
2020-01-03 12:40:42 +00:00
|
|
|
android:padding="12dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/volumeSeekBar"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-09-28 17:52:49 +00:00
|
|
|
app:srcCompat="@drawable/ic_volume_down_white_24dp"
|
2019-12-01 11:28:57 +00:00
|
|
|
app:tint="?attr/colorControlNormal" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatSeekBar
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/volumeSeekBar"
|
2019-07-23 18:32:41 +00:00
|
|
|
style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal"
|
2020-01-03 12:40:42 +00:00
|
|
|
android:layout_width="0dp"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-02-17 17:01:35 +00:00
|
|
|
android:layout_weight="1"
|
2019-11-21 14:40:02 +00:00
|
|
|
android:max="100"
|
2019-07-23 18:32:41 +00:00
|
|
|
android:maxHeight="2dp"
|
2019-07-27 05:05:52 +00:00
|
|
|
android:progressDrawable="@drawable/color_progress_seek"
|
2020-01-03 12:40:42 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/volumeDown"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/volumeUp"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/volumeDown"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/volumeDown"
|
2019-09-29 02:10:25 +00:00
|
|
|
tools:progress="20"
|
2019-12-01 11:28:57 +00:00
|
|
|
tools:progressTint="?attr/colorControlNormal" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-09-28 17:52:49 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-11-30 01:06:16 +00:00
|
|
|
android:id="@+id/volumeUp"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:background="?roundSelector"
|
2020-01-03 12:40:42 +00:00
|
|
|
android:padding="12dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/volumeSeekBar"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/volumeSeekBar"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/volumeSeekBar"
|
2019-09-28 17:52:49 +00:00
|
|
|
app:srcCompat="@drawable/ic_volume_up_white_24dp"
|
2019-12-01 11:28:57 +00:00
|
|
|
app:tint="?attr/colorControlNormal" />
|
2020-01-03 12:40:42 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|