2018-03-21 02:26:26 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.constraint.ConstraintLayout 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"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-01-16 19:51:04 +01:00
|
|
|
tools:context="com.theedgeofrage.i3control.MainActivity">
|
2018-03-21 02:26:26 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/muteButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="64dp"
|
2019-01-16 19:51:04 +01:00
|
|
|
android:layout_marginTop="256dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:contentDescription="@string/mute"
|
2018-03-21 02:26:26 +01:00
|
|
|
android:scaleX="2"
|
|
|
|
android:scaleY="2"
|
|
|
|
android:tint="@color/colorForeground"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/volDownButton"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-01-16 19:51:04 +01:00
|
|
|
app:srcCompat="@drawable/ic_volume_mute_black_24dp" />
|
2018-03-21 02:26:26 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/volDownButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
2019-01-16 19:51:04 +01:00
|
|
|
android:layout_marginTop="256dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:contentDescription="@string/vol_down"
|
2018-03-21 02:26:26 +01:00
|
|
|
android:scaleX="2"
|
|
|
|
android:scaleY="2"
|
|
|
|
android:tint="@color/colorForeground"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/volUpButton"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/muteButton"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-01-16 19:51:04 +01:00
|
|
|
app:srcCompat="@drawable/ic_volume_down_black_24dp" />
|
2018-03-21 02:26:26 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/volUpButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
2019-01-16 19:51:04 +01:00
|
|
|
android:layout_marginTop="256dp"
|
|
|
|
android:layout_marginEnd="64dp"
|
|
|
|
android:contentDescription="@string/vol_up"
|
2018-03-21 02:26:26 +01:00
|
|
|
android:scaleX="2"
|
|
|
|
android:scaleY="2"
|
|
|
|
android:tint="@color/colorForeground"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/volDownButton"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-01-16 19:51:04 +01:00
|
|
|
app:srcCompat="@drawable/ic_volume_up_black_24dp" />
|
2018-03-21 02:26:26 +01:00
|
|
|
|
|
|
|
<ImageButton
|
2019-01-16 19:51:04 +01:00
|
|
|
android:id="@+id/playButton"
|
2018-03-21 02:26:26 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-01-16 19:51:04 +01:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="64dp"
|
2018-03-21 02:26:26 +01:00
|
|
|
android:layout_marginEnd="16dp"
|
2019-01-16 19:51:04 +01:00
|
|
|
android:contentDescription="@string/play"
|
2018-03-21 02:26:26 +01:00
|
|
|
android:scaleX="2"
|
|
|
|
android:scaleY="2"
|
|
|
|
android:tint="@color/colorForeground"
|
2019-01-16 19:51:04 +01:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/prevButton"
|
2018-03-21 02:26:26 +01:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/muteButton"
|
2019-01-16 19:51:04 +01:00
|
|
|
app:srcCompat="@drawable/ic_play_arrow_black_24dp" />
|
2018-03-21 02:26:26 +01:00
|
|
|
|
|
|
|
<ImageButton
|
2019-01-16 19:51:04 +01:00
|
|
|
android:id="@+id/prevButton"
|
2018-03-21 02:26:26 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
2019-01-16 19:51:04 +01:00
|
|
|
android:layout_marginTop="64dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:contentDescription="@string/previous"
|
2018-03-21 02:26:26 +01:00
|
|
|
android:scaleX="2"
|
|
|
|
android:scaleY="2"
|
|
|
|
android:tint="@color/colorForeground"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/nextButton"
|
2019-01-16 19:51:04 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/playButton"
|
2018-03-21 02:26:26 +01:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/volDownButton"
|
2019-01-16 19:51:04 +01:00
|
|
|
app:srcCompat="@drawable/ic_skip_previous_black_24dp" />
|
2018-03-21 02:26:26 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/nextButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
2019-01-16 19:51:04 +01:00
|
|
|
android:layout_marginTop="64dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:contentDescription="@string/next"
|
|
|
|
android:scaleX="2"
|
|
|
|
android:scaleY="2"
|
|
|
|
android:tint="@color/colorForeground"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/shuffleButton"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/prevButton"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/volUpButton"
|
|
|
|
app:srcCompat="@drawable/ic_skip_next_black_24dp" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/shuffleButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="64dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:contentDescription="@string/next"
|
2018-03-21 02:26:26 +01:00
|
|
|
android:scaleX="2"
|
|
|
|
android:scaleY="2"
|
|
|
|
android:tint="@color/colorForeground"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-01-16 19:51:04 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/nextButton"
|
2018-03-21 02:26:26 +01:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/volUpButton"
|
2019-01-16 19:51:04 +01:00
|
|
|
app:srcCompat="@drawable/ic_shuffle_black_24dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/currentlyPlayingText"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginTop="64dp"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:textSize="18sp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/playButton" />
|
2018-04-13 03:03:27 +02:00
|
|
|
|
2018-03-21 02:26:26 +01:00
|
|
|
</android.support.constraint.ConstraintLayout>
|