PlayerAndroid/app/src/main/res/layout/fragment_volume.xml

41 lines
1.6 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00: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"
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"
android:orientation="horizontal">
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"
android:padding="12dp"
2019-09-28 17:52:49 +00:00
app:srcCompat="@drawable/ic_volume_down_white_24dp"
app:tint="?colorOnBackground" />
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"
style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-02-17 17:01:35 +00:00
android:layout_weight="1"
android:maxHeight="2dp"
2019-07-27 05:05:52 +00:00
android:progressDrawable="@drawable/color_progress_seek"
tools:progress="20" />
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"
android:padding="12dp"
2019-09-28 17:52:49 +00:00
app:srcCompat="@drawable/ic_volume_up_white_24dp"
app:tint="?colorOnBackground" />
2018-07-27 13:07:33 +00:00
</LinearLayout>