PlayerAndroid/app/src/main/res/layout/fragment_card_blur_player.xml

90 lines
3.5 KiB
XML
Raw Normal View History

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
android:id="@+id/colorBackground"
2018-07-27 13:07:33 +00:00
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"
2018-09-23 10:04:43 +00:00
android:background="#20000000" />
2018-07-27 13:07:33 +00:00
<include layout="@layout/shadow_statusbar_toolbar" />
<FrameLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
<FrameLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content">
<include layout="@layout/status_bar" />
</FrameLayout>
2018-11-28 05:37:10 +00:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0">
2018-11-28 05:37:10 +00:00
2019-09-29 08:37:57 +00:00
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/playerToolbar"
style="@style/Toolbar"
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp"
app:contentInsetLeft="0dp"
app:contentInsetStart="0dp"
app:contentInsetStartWithNavigation="0dp"
app:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp"
app:subtitleTextAppearance="@style/TextAppearance.AppCompat.Caption"
app:titleMargin="0dp"
app:titleMarginStart="0dp"
app:titleTextAppearance="@style/TextAppearance.AppCompat.Subhead" />
</FrameLayout>
2018-07-27 13:07:33 +00:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_weight="1">
2018-07-27 13:07:33 +00:00
<fragment
android:id="@+id/playerAlbumCoverFragment"
android:name="code.name.monkey.retromusic.fragments.player.PlayerAlbumCoverFragment"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2019-09-09 13:38:49 +00:00
android:layout_height="wrap_content"
tools:layout="@layout/fragment_album_card_cover" />
2018-07-27 13:07:33 +00:00
</FrameLayout>
</LinearLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom">
<fragment
android:id="@+id/playbackControlsFragment"
android:name="code.name.monkey.retromusic.fragments.player.cardblur.CardBlurPlaybackControlsFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout="@layout/fragment_card_blur_player_playback_controls" />
2018-07-27 13:07:33 +00:00
</FrameLayout>
</FrameLayout>
2018-07-27 13:07:33 +00:00
</FrameLayout>