113 lines
No EOL
4.5 KiB
XML
113 lines
No EOL
4.5 KiB
XML
<?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">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/colorSurface" />
|
|
|
|
<include layout="@layout/shadow_statusbar_toolbar" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<include layout="@layout/status_bar" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/toolbar_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/playerToolbar"
|
|
style="@style/Toolbar"
|
|
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black"
|
|
app:contentInsetLeft="0dp"
|
|
app:contentInsetStart="0dp"
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
app:navigationIcon="@drawable/ic_keyboard_arrow_down_black"
|
|
app:subtitleTextAppearance="@style/TextViewCaption"
|
|
app:titleMargin="0dp"
|
|
app:titleMarginStart="0dp"
|
|
app:titleTextAppearance="@style/TextViewSubtitle1"
|
|
tools:subtitle="@tools:sample/full_names"
|
|
tools:title="@tools:sample/full_names" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<fragment
|
|
android:id="@+id/playerAlbumCoverFragment"
|
|
android:name="code.name.monkey.retromusic.fragments.player.PlayerAlbumCoverFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:layout="@layout/fragment_album_full_card_cover" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/player_lyrics"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:alpha="0"
|
|
android:clipToPadding="false"
|
|
android:elevation="20dp"
|
|
android:padding="16dp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<TextView
|
|
android:id="@+id/player_lyrics_line1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:shadowColor="@color/md_black_1000"
|
|
android:shadowRadius="4"
|
|
android:textAlignment="center"
|
|
android:textColor="@color/md_white_1000"
|
|
android:textSize="22sp"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/player_lyrics_line2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:shadowColor="@color/md_black_1000"
|
|
android:shadowRadius="4"
|
|
android:textAlignment="center"
|
|
android:textColor="@color/md_white_1000"
|
|
android:textSize="22sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0">
|
|
|
|
<fragment
|
|
android:id="@+id/playbackControlsFragment"
|
|
android:name="code.name.monkey.retromusic.fragments.player.adaptive.AdaptivePlaybackControlsFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:layout="@layout/fragment_adaptive_player_playback_controls" />
|
|
</FrameLayout>
|
|
</LinearLayout>
|
|
</FrameLayout> |