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

79 lines
3.1 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:background="?android:attr/windowBackground"
android:clickable="true"
android:focusable="true">
<fragment
android:id="@+id/playerAlbumCoverFragment"
2018-07-27 13:07:33 +00:00
android:name="code.name.monkey.retromusic.ui.fragments.player.PlayerAlbumCoverFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout="@layout/fragment_album_full_cover" />
2018-11-28 05:37:10 +00:00
<code.name.monkey.retromusic.views.FitSystemWindowsLayout
android:id="@+id/safeArea"
android:layout_width="match_parent"
android:layout_height="match_parent">
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<LinearLayout
2018-11-23 16:30:46 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-11-28 05:37:10 +00:00
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<include layout="@layout/status_bar" />
</FrameLayout>
2018-11-23 16:30:46 +00:00
<FrameLayout
2018-11-28 05:37:10 +00:00
android:id="@+id/toolbar_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="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/playerToolbar"
2018-12-04 15:34:26 +00:00
style="@style/Toolbar"
2018-11-28 05:37:10 +00:00
android:navigationIcon="@drawable/ic_close_white_24dp"
app:navigationIcon="@drawable/ic_close_white_24dp" />
2018-11-23 16:30:46 +00:00
</FrameLayout>
2018-11-28 05:37:10 +00:00
<Space
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:layout_weight="0"
app:cardBackgroundColor="?android:windowBackground"
app:cardCornerRadius="8dp"
app:cardUseCompatPadding="true">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<fragment
android:id="@+id/playbackControlsFragment"
2018-11-28 05:37:10 +00:00
android:name="code.name.monkey.retromusic.ui.fragments.player.card.CardPlaybackControlsFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout="@layout/fragment_card_player_playback_controls" />
</FrameLayout>
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
</code.name.monkey.retromusic.views.FitSystemWindowsLayout>
2018-07-27 13:07:33 +00:00
</FrameLayout>