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

Factorize audio player layout

parent c418caf8
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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:id="@+id/audio_player_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:elevation="@dimen/audio_player_elevation"
android:visibility="gone"
app:layout_behavior="org.videolan.vlc.gui.helpers.BottomSheetBehavior"
tools:targetApi="lollipop">
<android.support.v7.widget.ViewStubCompat
android:id="@+id/audio_player_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout="@layout/audioplayer"/>
</FrameLayout>
\ No newline at end of file
......@@ -159,18 +159,7 @@
android:src="@drawable/ic_fab_play"
android:tint="@color/grey50" />
<FrameLayout
android:id="@+id/audio_player_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:elevation="@dimen/audio_player_elevation"
android:visibility="gone"
vlc:layout_behavior="android.support.design.widget.BottomSheetBehavior">
<android.support.v7.widget.ViewStubCompat
android:id="@+id/audio_player_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout="@layout/audioplayer"/>
</FrameLayout>
<include layout="@layout/audioplayercontainer"/>
</android.support.design.widget.CoordinatorLayout>
</layout>
\ No newline at end of file
......@@ -24,18 +24,7 @@
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<FrameLayout
android:id="@+id/audio_player_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"
app:layout_behavior="org.videolan.vlc.gui.helpers.BottomSheetBehavior">
<android.support.v7.widget.ViewStubCompat
android:id="@+id/audio_player_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout="@layout/audioplayer"/>
</FrameLayout>
<include layout="@layout/audioplayercontainer"/>
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
......
......@@ -75,18 +75,6 @@
android:src="@drawable/ic_fab_play"
android:tint="@color/grey50" />
<FrameLayout
android:id="@+id/audio_player_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"
android:elevation="@dimen/audio_player_elevation"
vlc:layout_behavior="android.support.design.widget.BottomSheetBehavior">
<android.support.v7.widget.ViewStubCompat
android:id="@+id/audio_player_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout="@layout/audioplayer"/>
</FrameLayout>
<include layout="@layout/audioplayercontainer"/>
</android.support.design.widget.CoordinatorLayout>
</layout>
\ No newline at end of file
......@@ -17,18 +17,7 @@
vlc:layout_behavior="@string/appbar_scrolling_view_behavior"
android:layout_height="match_parent" />
<FrameLayout
android:id="@+id/audio_player_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"
vlc:layout_behavior="org.videolan.vlc.gui.helpers.BottomSheetBehavior">
<android.support.v7.widget.ViewStubCompat
android:id="@+id/audio_player_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout="@layout/audioplayer"/>
</FrameLayout>
<include layout="@layout/audioplayercontainer"/>
<android.support.design.widget.FloatingActionButton
vlc:borderWidth="0dp"
......
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