2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-05-11 22:24:09 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-27 13:07:33 +00:00
|
|
|
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-11 22:24:09 +00:00
|
|
|
android:background="?attr/colorSurface"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true">
|
|
|
|
|
2019-12-05 18:18:54 +00:00
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
<View
|
2018-12-05 04:29:55 +00:00
|
|
|
android:id="@+id/colorGradientBackground"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-05-11 22:24:09 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2018-12-08 03:34:15 +00:00
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
<include layout="@layout/shadow_statusbar_toolbar" />
|
|
|
|
|
2020-05-11 22:24:09 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/statusBarContainer"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-05-11 22:24:09 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-05-11 22:24:09 +00:00
|
|
|
<include layout="@layout/status_bar" />
|
|
|
|
</FrameLayout>
|
2019-03-28 13:32:53 +00:00
|
|
|
|
2020-01-24 16:54:08 +00:00
|
|
|
|
2020-05-11 22:24:09 +00:00
|
|
|
<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_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/statusBarContainer"
|
|
|
|
app:layout_constraintHeight_percent="0.5" />
|
2019-03-28 13:32:53 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
|
2020-05-11 22:24:09 +00:00
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
android:id="@+id/playbackControlsFragment"
|
|
|
|
android:name="code.name.monkey.retromusic.fragments.player.normal.PlayerPlaybackControlsFragment"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/playerToolbar"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/playerAlbumCoverFragment"
|
|
|
|
tools:layout="@layout/fragment_player_playback_controls" />
|
2018-11-28 05:37:10 +00:00
|
|
|
|
2020-02-04 08:09:10 +00:00
|
|
|
|
2020-05-11 22:24:09 +00:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/playerToolbar"
|
|
|
|
style="@style/Toolbar"
|
|
|
|
android:layout_gravity="bottom"
|
2020-07-19 21:00:30 +00:00
|
|
|
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black"
|
2020-05-11 22:24:09 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/playbackControlsFragment"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:navigationIcon="@drawable/ic_keyboard_arrow_down_black" />
|
2020-02-04 08:09:10 +00:00
|
|
|
|
2020-05-11 22:24:09 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|