[Android] UI : Prepare Play As Audio off button usage
Alexandre Perraud
git at videolan.org
Mon Jul 6 17:12:52 CEST 2015
vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Mon Jul 6 17:06:33 2015 +0200| [887baa00545876ed2fc67feb95a3224caa23c48b] | committer: Alexandre Perraud
UI : Prepare Play As Audio off button usage
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=887baa00545876ed2fc67feb95a3224caa23c48b
---
vlc-android/res/layout/audio_player.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index df7c459..e9fc43a 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -26,6 +26,20 @@
android:background="?attr/background_default"
android:layout_below="@+id/progressBar">
+ <ImageButton
+ android:id="@+id/playlist_playasaudio_off"
+ android:layout_width="32dp"
+ android:layout_height="32dp"
+ android:layout_gravity="center"
+ android:layout_weight="0"
+ android:layout_marginRight="8dp"
+ android:background="#00000000"
+ android:focusable="true"
+ android:scaleType="fitXY"
+ android:visibility="gone"
+ android:contentDescription="@string/play_as_audio"
+ android:src="?attr/ic_playasaudio_off" />
+
<org.videolan.vlc.gui.audio.widget.HeaderMediaSwitcher
android:id="@+id/audio_media_switcher"
android:layout_width="fill_parent"
More information about the Android
mailing list