2018-07-27 13:07:33 +00:00
|
|
|
<?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:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true">
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/gradient_background"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerCrop" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/mask"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/shadow_up_strong" />
|
|
|
|
|
|
|
|
<include layout="@layout/shadow_statusbar_toolbar" />
|
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<code.name.monkey.retromusic.views.FitSystemWindowsLayout
|
|
|
|
android:id="@+id/safeArea"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-28 05:37:10 +00:00
|
|
|
android:layout_height="match_parent">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<LinearLayout
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-28 05:37:10 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<include layout="@layout/status_bar" />
|
2018-11-05 13:53:07 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/toolbar_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0">
|
2018-11-05 13:53:07 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/player_toolbar"
|
|
|
|
style="@style/Toolbar48"
|
|
|
|
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp"
|
|
|
|
app:contentInsetLeft="0dp"
|
|
|
|
app:contentInsetStart="0dp"
|
|
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
|
|
app:navigationIcon="@drawable/ic_keyboard_backspace_black_24dp"
|
|
|
|
app:subtitleTextAppearance="@style/TextAppearance.AppCompat.Caption"
|
|
|
|
app:titleMargin="0dp"
|
|
|
|
app:titleMarginStart="0dp"
|
|
|
|
app:titleTextAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/album_cover_container"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-28 05:37:10 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginStart="64dp"
|
|
|
|
android:layout_marginEnd="64dp"
|
|
|
|
android:layout_weight="1">
|
2018-11-05 13:53:07 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/player_album_cover_fragment"
|
|
|
|
android:name="code.name.monkey.retromusic.ui.fragments.player.PlayerAlbumCoverFragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</FrameLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
</LinearLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<FrameLayout
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-28 05:37:10 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginStart="96dp"
|
|
|
|
android:layout_marginEnd="96dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/playback_controls_fragment"
|
|
|
|
android:name="code.name.monkey.retromusic.ui.fragments.player.cardblur.CardBlurPlaybackControlsFragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:layout="@layout/fragment_card_blur_player_playback_controls" />
|
|
|
|
</FrameLayout>
|
|
|
|
</code.name.monkey.retromusic.views.FitSystemWindowsLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
</FrameLayout>
|