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

73 lines
3 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?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"
2022-05-26 23:54:38 +05:30
android:layout_height="match_parent"
android:background="?colorSurface"
android:clickable="true"
android:focusable="true">
2018-07-27 18:37:33 +05:30
2019-12-05 23:48:54 +05:30
<include layout="@layout/shadow_statusbar_toolbar" />
<LinearLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
2018-07-27 18:37:33 +05:30
<FrameLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content">
2018-07-27 18:37:33 +05:30
<include layout="@layout/status_bar" />
</FrameLayout>
2018-07-27 18:37:33 +05:30
2022-05-26 23:54:38 +05:30
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/playerToolbar"
style="@style/Toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-05-26 23:54:38 +05:30
android:layout_weight="0"
app:contentInsetLeft="0dp"
2022-05-26 23:54:38 +05:30
app:contentInsetStart="0dp"
app:contentInsetStartWithNavigation="0dp"
app:navigationIcon="@drawable/ic_keyboard_arrow_down"
2022-05-26 23:54:38 +05:30
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
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1">
2018-07-27 18:37:33 +05:30
<androidx.fragment.app.FragmentContainerView
android:id="@+id/playerAlbumCoverFragment"
android:name="code.name.monkey.retromusic.fragments.player.PlayerAlbumCoverFragment"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2019-09-09 19:08:49 +05:30
android:layout_height="match_parent"
tools:layout="@layout/fragment_album_full_card_cover" />
<androidx.fragment.app.FragmentContainerView
android:id="@+id/cover_lyrics"
2022-05-07 07:18:35 +05:30
android:name="code.name.monkey.retromusic.fragments.player.CoverLyricsFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:elevation="20dp" />
</FrameLayout>
2018-11-28 11:07:10 +05:30
2022-05-26 23:54:38 +05:30
<androidx.fragment.app.FragmentContainerView
android:id="@+id/playbackControlsFragment"
android:name="code.name.monkey.retromusic.fragments.player.adaptive.AdaptivePlaybackControlsFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-05-26 23:54:38 +05:30
android:layout_weight="0"
tools:layout="@layout/fragment_adaptive_player_playback_controls" />
</LinearLayout>
2018-07-27 18:37:33 +05:30
</FrameLayout>