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

89 lines
4.0 KiB
XML
Raw Normal View History

2018-12-05 12:31:56 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-01-06 03:12:32 +00:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-02-23 17:39:02 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2018-12-05 12:31:56 +00:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layoutDirection="ltr"
android:paddingStart="4dp"
android:paddingEnd="4dp"
2019-12-01 11:28:57 +00:00
tools:ignore="ContentDescription,UnusedAttribute">
2018-12-05 12:31:56 +00:00
2019-07-27 05:05:52 +00:00
<androidx.appcompat.widget.AppCompatImageButton
2020-01-06 03:12:32 +00:00
android:id="@+id/repeatButton"
2018-12-05 12:31:56 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/roundSelector"
android:padding="16dp"
android:scaleType="fitCenter"
2020-01-06 03:12:32 +00:00
app:layout_constraintBottom_toBottomOf="@+id/previousButton"
app:layout_constraintEnd_toStartOf="@+id/previousButton"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/previousButton"
2020-07-19 21:00:30 +00:00
app:srcCompat="@drawable/ic_repeat"
2018-12-05 12:31:56 +00:00
tools:ignore="MissingPrefix"
tools:tint="@color/md_black_1000" />
2019-07-27 05:05:52 +00:00
<androidx.appcompat.widget.AppCompatImageButton
2020-01-06 03:12:32 +00:00
android:id="@+id/previousButton"
2018-12-05 12:31:56 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/roundSelector"
android:padding="16dp"
android:scaleType="fitCenter"
2020-01-06 03:12:32 +00:00
app:layout_constraintBottom_toBottomOf="@+id/playPauseButton"
app:layout_constraintEnd_toStartOf="@+id/playPauseButton"
app:layout_constraintStart_toEndOf="@+id/repeatButton"
app:layout_constraintTop_toTopOf="@+id/playPauseButton"
2020-07-19 21:00:30 +00:00
app:srcCompat="@drawable/ic_skip_previous"
2018-12-05 12:31:56 +00:00
tools:ignore="MissingPrefix"
tools:tint="@color/md_black_1000" />
2020-01-06 03:12:32 +00:00
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/playPauseButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:background="?attr/roundSelector"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/nextButton"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/previousButton"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_pause_white_64dp"
tools:tint="@color/md_black_1000" />
2019-07-27 05:05:52 +00:00
<androidx.appcompat.widget.AppCompatImageButton
2020-01-06 03:12:32 +00:00
android:id="@+id/nextButton"
2018-12-05 12:31:56 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/roundSelector"
android:padding="16dp"
android:scaleType="fitCenter"
2020-01-06 03:12:32 +00:00
app:layout_constraintBottom_toBottomOf="@+id/playPauseButton"
app:layout_constraintEnd_toStartOf="@+id/shuffleButton"
app:layout_constraintStart_toEndOf="@+id/playPauseButton"
app:layout_constraintTop_toTopOf="@+id/playPauseButton"
2020-07-19 21:00:30 +00:00
app:srcCompat="@drawable/ic_skip_next"
2018-12-05 12:31:56 +00:00
tools:ignore="MissingPrefix"
tools:tint="@color/md_black_1000" />
2019-07-27 05:05:52 +00:00
<androidx.appcompat.widget.AppCompatImageButton
2018-12-05 12:31:56 +00:00
android:id="@+id/shuffleButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/roundSelector"
android:padding="16dp"
android:scaleType="fitCenter"
2020-01-06 03:12:32 +00:00
app:layout_constraintBottom_toBottomOf="@+id/nextButton"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/nextButton"
app:layout_constraintTop_toTopOf="@+id/nextButton"
2020-07-19 21:00:30 +00:00
app:srcCompat="@drawable/ic_shuffle"
2018-12-05 12:31:56 +00:00
tools:ignore="MissingPrefix"
tools:tint="@color/md_black_1000" />
2020-01-06 03:12:32 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>