98 lines
No EOL
4.3 KiB
XML
98 lines
No EOL
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/playerContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/playerAlbumCoverFragment"
|
|
android:name="code.name.monkey.retromusic.fragments.player.PlayerAlbumCoverFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<include layout="@layout/shadow_statusbar_toolbar" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<include layout="@layout/status_bar" />
|
|
</FrameLayout>
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/playerToolbar"
|
|
style="@style/Toolbar"
|
|
android:layout_gravity="bottom"
|
|
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp"
|
|
app:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp" />
|
|
</LinearLayout>
|
|
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
|
|
</FrameLayout>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/playerQueueSheet"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="bottom"
|
|
app:behavior_hideable="false"
|
|
app:cardCornerRadius="0dp"
|
|
app:cardElevation="12dp"
|
|
app:layout_behavior="code.name.monkey.retromusic.RetroBottomSheetBehavior"
|
|
app:shapeAppearance="@style/ClassicThemeOverLay">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
android:id="@+id/playerControlsContainer"
|
|
layout="@layout/fragment_classic_controls"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/colorSurface"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/player_queue_sub_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/listPreferredItemHeightSmall"
|
|
android:background="?attr/colorSurface"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:text="@string/up_next"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/colorSurface"
|
|
android:overScrollMode="never"
|
|
tools:listitem="@layout/item_list" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |