2018-07-27 18:37:33 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-02-26 22:18:11 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-07-27 18:37:33 +05:30
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true">
|
|
|
|
|
|
|
|
<fragment
|
2018-12-05 17:43:50 +05:30
|
|
|
android:id="@+id/playerAlbumCoverFragment"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:name="code.name.monkey.retromusic.ui.fragments.player.PlayerAlbumCoverFragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-20 20:57:59 +05:30
|
|
|
tools:layout="@layout/fragment_album_full_cover" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-02-26 22:18:11 +05:30
|
|
|
android:background="#90000000" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-11-28 11:07:10 +05:30
|
|
|
<code.name.monkey.retromusic.views.FitSystemWindowsLayout
|
|
|
|
android:id="@+id/safeArea"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2018-11-05 19:23:07 +05:30
|
|
|
<LinearLayout
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
2018-11-05 19:23:07 +05:30
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<fragment
|
2018-12-05 17:43:50 +05:30
|
|
|
android:id="@+id/playbackControlsFragment"
|
2018-11-05 19:23:07 +05:30
|
|
|
android:name="code.name.monkey.retromusic.ui.fragments.player.full.FullPlaybackControlsFragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
tools:layout="@layout/fragment_full_player_controls" />
|
|
|
|
|
2019-02-26 22:18:11 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</code.name.monkey.retromusic.views.FitSystemWindowsLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/toolbar_container"
|
|
|
|
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>
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/playerToolbar"
|
|
|
|
style="@style/Toolbar"
|
|
|
|
android:navigationIcon="@drawable/ic_close_white_24dp">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-11-05 19:23:07 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
2019-02-26 22:18:11 +05:30
|
|
|
<TextView
|
|
|
|
android:id="@+id/nextSongLabel"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="0.75"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:text="@string/next_song"
|
|
|
|
android:textColor="@color/md_white_1000"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/artistImage"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/nextSong"
|
|
|
|
style="@style/TextAppearance.MaterialComponents.Subtitle1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-09 08:02:29 +05:30
|
|
|
android:ellipsize="marquee"
|
2019-02-26 22:18:11 +05:30
|
|
|
android:gravity="center"
|
2019-03-09 08:02:29 +05:30
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
2019-02-26 22:18:11 +05:30
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
2019-03-09 08:02:29 +05:30
|
|
|
android:singleLine="true"
|
2019-02-26 22:18:11 +05:30
|
|
|
android:textColor="@color/md_white_1000"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/artistImage"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/nextSongLabel"
|
|
|
|
tools:text="@string/for_you" />
|
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.CircularImageView
|
|
|
|
android:id="@+id/artistImage"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:elevation="10dp"
|
|
|
|
app:civ_border="false"
|
|
|
|
app:civ_shadow="false"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@drawable/default_artist_art" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
</LinearLayout>
|
2018-07-27 18:37:33 +05:30
|
|
|
</FrameLayout>
|