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

101 lines
4.4 KiB
XML
Raw Normal View History

2020-05-03 19:24:11 +00:00
<?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">
2020-05-05 21:53:31 +00:00
<FrameLayout
2020-05-03 19:24:11 +00:00
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" />
2020-05-11 20:48:36 +00:00
<View
android:layout_width="match_parent"
android:layout_height="56dp"
android:background="@drawable/shadow_down_strong" />
<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>
2020-05-05 21:53:31 +00:00
</FrameLayout>
2020-05-03 19:24:11 +00:00
<com.google.android.material.card.MaterialCardView
android:id="@+id/playerQueueSheet"
android:layout_width="match_parent"
2020-05-11 09:51:22 +00:00
android:layout_height="match_parent"
2020-05-03 19:24:11 +00:00
android:gravity="bottom"
app:behavior_hideable="false"
app:cardCornerRadius="0dp"
2020-05-09 05:55:42 +00:00
app:cardElevation="12dp"
app:layout_behavior="code.name.monkey.retromusic.RetroBottomSheetBehavior"
app:shapeAppearance="@style/ClassicThemeOverLay">
2020-05-03 19:24:11 +00:00
<LinearLayout
android:layout_width="match_parent"
2020-05-11 09:51:22 +00:00
android:layout_height="match_parent"
2020-05-03 19:24:11 +00:00
android:orientation="vertical">
2020-05-09 05:55:42 +00:00
<include
android:id="@+id/playerControlsContainer"
layout="@layout/fragment_classic_controls"
2020-05-03 19:24:11 +00:00
android:layout_width="match_parent"
2020-05-09 05:55:42 +00:00
android:layout_height="wrap_content" />
2020-05-03 19:24:11 +00:00
<LinearLayout
android:layout_width="match_parent"
2020-05-11 09:51:22 +00:00
android:layout_height="match_parent"
android:background="?attr/colorSurface"
2020-05-03 19:24:11 +00:00
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"
2020-05-03 19:24:11 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSurface"
2020-05-09 05:55:42 +00:00
android:overScrollMode="never"
2020-05-03 19:24:11 +00:00
tools:listitem="@layout/item_list" />
</LinearLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>