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

111 lines
4.4 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"
2019-12-05 18:18:54 +00:00
android:layout_height="match_parent">
2018-07-27 13:07:33 +00:00
2019-12-05 18:18:54 +00:00
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSurface" />
2018-07-27 13:07:33 +00:00
2019-12-05 18:18:54 +00:00
<include layout="@layout/shadow_statusbar_toolbar" />
<LinearLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
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">
2018-07-27 13:07:33 +00:00
<include layout="@layout/status_bar" />
</FrameLayout>
2018-07-27 13:07:33 +00:00
<FrameLayout
android:id="@+id/toolbar_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0">
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>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
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="match_parent"
tools:layout="@layout/fragment_album_full_card_cover" />
2018-07-27 13:07:33 +00:00
2019-01-28 10:45:51 +00:00
<FrameLayout
android:id="@+id/player_lyrics"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-11-23 16:30:46 +00:00
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"
2018-11-28 05:37:10 +00:00
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"
2019-06-17 02:46:50 +00:00
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" />
2019-06-17 02:46:50 +00:00
2019-01-28 10:45:51 +00:00
</FrameLayout>
2018-11-28 05:37:10 +00:00
</FrameLayout>
2018-11-28 05:37:10 +00:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0">
2019-06-17 02:46:50 +00:00
<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>
2018-07-27 13:07:33 +00:00
</FrameLayout>