Commit a6329e5d authored by Geoffrey Métais's avatar Geoffrey Métais

Fix "Play as audio" button display

parent be103e1f
......@@ -63,9 +63,13 @@
android:layout_height="32dp"
android:layout_marginStart="@dimen/default_margin"
android:layout_marginEnd="@dimen/half_default_margin"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:focusable="true"
android:scaleType="fitXY"
android:visibility="gone"
tools:visibility="visible"
android:onClick="@{fragment::onResumeToVideoClick}"
android:contentDescription="@string/play_as_audio"
android:src="?attr/ic_playasaudio_off" />
......@@ -74,7 +78,7 @@
android:id="@+id/audio_media_switcher"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintStart_toEndOf="@+id/playlist_playasaudio_off"
app:layout_constraintEnd_toStartOf="@+id/barrier"
android:background="#00000000" />
......
......@@ -62,19 +62,22 @@
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginStart="@dimen/default_margin"
android:layout_marginEnd="@dimen/half_default_margin"
android:contentDescription="@string/play_as_audio"
android:focusable="true"
android:onClick="@{fragment::onResumeToVideoClick}"
android:scaleType="fitXY"
android:src="?attr/ic_playasaudio_off"
android:visibility="gone"
android:onClick="@{fragment::onResumeToVideoClick}"
android:contentDescription="@string/play_as_audio"
android:src="?attr/ic_playasaudio_off" />
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:visibility="visible" />
<org.videolan.vlc.gui.view.HeaderMediaSwitcher
android:id="@+id/audio_media_switcher"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintStart_toEndOf="@+id/playlist_playasaudio_off"
app:layout_constraintEnd_toStartOf="@+id/barrier"
android:background="#00000000" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment