2018-07-27 18:37:33 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout 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"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true">
|
|
|
|
|
2019-12-05 23:48:54 +05:30
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/colorSurface" />
|
|
|
|
|
2018-07-27 18:37:33 +05:30
|
|
|
<View
|
2018-12-05 09:59:55 +05:30
|
|
|
android:id="@+id/colorGradientBackground"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
<include layout="@layout/shadow_statusbar_toolbar" />
|
|
|
|
|
2019-09-02 20:21:53 +05:30
|
|
|
|
2019-09-29 14:07:57 +05:30
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
2019-09-02 20:21:53 +05:30
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-29 14:07:57 +05:30
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/statusBarContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<include layout="@layout/status_bar" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/playerToolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/statusBarContainer"
|
|
|
|
app:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp" />
|
|
|
|
|
2018-11-05 19:23:07 +05:30
|
|
|
<LinearLayout
|
2019-09-29 14:07:57 +05:30
|
|
|
android:id="@+id/albumCoverContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/playerToolbar">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-02 20:21:53 +05:30
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-09-29 14:07:57 +05:30
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-11-05 19:23:07 +05:30
|
|
|
<fragment
|
2019-09-02 20:21:53 +05:30
|
|
|
android:id="@+id/playerAlbumCoverFragment"
|
|
|
|
android:name="code.name.monkey.retromusic.fragments.player.PlayerAlbumCoverFragment"
|
2018-11-05 19:23:07 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-09-09 19:08:49 +05:30
|
|
|
tools:layout="@layout/fragment_album_cover" />
|
2019-09-02 20:21:53 +05:30
|
|
|
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-29 14:07:57 +05:30
|
|
|
<Space
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
2019-09-29 14:07:57 +05:30
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1" />
|
2019-09-02 20:21:53 +05:30
|
|
|
|
2019-09-29 14:07:57 +05:30
|
|
|
<Space
|
2019-09-02 20:21:53 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-29 14:07:57 +05:30
|
|
|
android:layout_weight="1" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
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_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/albumCoverContainer"
|
|
|
|
tools:layout="@layout/fragment_player_playback_controls" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-07-27 18:37:33 +05:30
|
|
|
</RelativeLayout>
|