2020-05-04 00:54:11 +05:30
|
|
|
<?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"
|
2020-05-14 04:41:58 +05:30
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/colorSurface">
|
2020-05-04 00:54:11 +05:30
|
|
|
|
2020-05-12 03:54:09 +05:30
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2020-05-04 00:54:11 +05:30
|
|
|
android:id="@+id/playerContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-05-12 03:54:09 +05:30
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
android:id="@+id/playerAlbumCoverFragment"
|
|
|
|
android:name="code.name.monkey.retromusic.fragments.player.PlayerAlbumCoverFragment"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-05-12 22:13:00 +05:30
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2020-05-04 00:54:11 +05:30
|
|
|
|
2020-05-12 03:54:09 +05:30
|
|
|
<View
|
2020-05-12 22:13:00 +05:30
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2020-05-12 03:54:09 +05:30
|
|
|
android:background="@drawable/shadow_down_strong"
|
2020-05-12 22:13:00 +05:30
|
|
|
app:layout_constraintBottom_toBottomOf="@id/dummy_statusbar_actionbar"
|
2020-05-12 03:54:09 +05:30
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-05-12 22:13:00 +05:30
|
|
|
app:layout_constraintTop_toTopOf="@id/dummy_statusbar_actionbar" />
|
2020-05-05 13:12:09 +05:30
|
|
|
|
2020-05-12 03:54:09 +05:30
|
|
|
<LinearLayout
|
2020-05-12 22:13:00 +05:30
|
|
|
android:id="@+id/dummy_statusbar_actionbar"
|
2020-05-12 03:54:09 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
2020-05-12 22:13:00 +05:30
|
|
|
<code.name.monkey.retromusic.views.StatusBarView
|
|
|
|
android:id="@+id/status_bar"
|
2020-05-05 13:12:09 +05:30
|
|
|
android:layout_width="match_parent"
|
2020-05-12 22:13:00 +05:30
|
|
|
android:layout_height="@dimen/status_bar_padding" />
|
2020-05-05 13:12:09 +05:30
|
|
|
|
2020-05-12 03:54:09 +05:30
|
|
|
<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>
|
2020-05-14 04:41:58 +05:30
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/playbackControlsFragmentContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:cardCornerRadius="0dp"
|
|
|
|
app:cardElevation="24dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/playerAlbumCoverFragment">
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/playerControlsContainer"
|
|
|
|
layout="@layout/fragment_classic_controls"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2020-05-12 03:54:09 +05:30
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-05-04 00:54:11 +05:30
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/playerQueueSheet"
|
|
|
|
android:layout_width="match_parent"
|
2020-05-11 15:21:22 +05:30
|
|
|
android:layout_height="match_parent"
|
2020-05-04 00:54:11 +05:30
|
|
|
android:gravity="bottom"
|
|
|
|
app:behavior_hideable="false"
|
2020-05-05 13:12:09 +05:30
|
|
|
app:cardCornerRadius="0dp"
|
2020-05-14 04:41:58 +05:30
|
|
|
app:cardElevation="24dp"
|
|
|
|
app:layout_behavior="code.name.monkey.retromusic.RetroBottomSheetBehavior">
|
2020-05-04 00:54:11 +05:30
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-05-11 15:21:22 +05:30
|
|
|
android:layout_height="match_parent"
|
2020-05-14 04:41:58 +05:30
|
|
|
android:background="?attr/colorSurface"
|
2020-05-04 00:54:11 +05:30
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-05-14 04:41:58 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/player_queue_sub_header"
|
2020-05-04 00:54:11 +05:30
|
|
|
android:layout_width="match_parent"
|
2020-05-14 04:41:58 +05:30
|
|
|
android:layout_height="?attr/listPreferredItemHeightSmall"
|
|
|
|
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" />
|
2020-05-04 00:54:11 +05:30
|
|
|
|
2020-05-14 04:41:58 +05:30
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
2020-05-04 00:54:11 +05:30
|
|
|
android:layout_width="match_parent"
|
2020-05-11 15:21:22 +05:30
|
|
|
android:layout_height="match_parent"
|
2020-05-14 04:41:58 +05:30
|
|
|
android:overScrollMode="never"
|
|
|
|
tools:listitem="@layout/item_list" />
|
2020-05-04 00:54:11 +05:30
|
|
|
</LinearLayout>
|
2020-05-14 04:41:58 +05:30
|
|
|
|
2020-05-04 00:54:11 +05:30
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|