2020-05-14 10:25:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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">
|
|
|
|
|
|
|
|
<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_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/songTotalTime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:shadowColor="@color/md_black_1000"
|
|
|
|
android:shadowDx="1"
|
|
|
|
android:shadowDy="1"
|
|
|
|
android:shadowRadius="2"
|
|
|
|
android:textAppearance="@style/TextViewHeadline2"
|
|
|
|
android:textColor="@color/md_white_1000"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/title"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
tools:text="@tools:sample/date/hhmm"
|
|
|
|
tools:textColor="@color/md_black_1000" />
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="end"
|
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:shadowColor="@color/md_black_1000"
|
|
|
|
android:shadowDx="1"
|
|
|
|
android:shadowDy="1"
|
|
|
|
android:shadowRadius="2"
|
|
|
|
android:textAppearance="@style/TextViewHeadline5"
|
|
|
|
android:textColor="@color/md_white_1000"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/text"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
tools:text="@tools:sample/full_names"
|
|
|
|
tools:textColor="@color/md_black_1000" />
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="0.75"
|
|
|
|
android:gravity="end"
|
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
android:shadowColor="@color/md_black_1000"
|
|
|
|
android:shadowDx="1"
|
|
|
|
android:shadowDy="1"
|
|
|
|
android:shadowRadius="2"
|
|
|
|
android:textAppearance="@style/TextViewSubtitle1"
|
|
|
|
android:textColor="@color/md_white_1000"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
tools:text="@tools:sample/full_names"
|
|
|
|
tools:textColor="@color/md_black_1000" />
|
2020-05-23 13:53:10 +00:00
|
|
|
|
2020-05-14 10:25:57 +00:00
|
|
|
<View
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:background="@drawable/shadow_down_strong"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/toolbarContainer"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/toolbarContainer" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/toolbarContainer"
|
|
|
|
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">
|
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.StatusBarView
|
|
|
|
android:id="@+id/status_bar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/status_bar_padding" />
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/playerToolbar"
|
|
|
|
style="@style/Toolbar"
|
2020-07-19 21:00:30 +00:00
|
|
|
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black"
|
|
|
|
app:navigationIcon="@drawable/ic_keyboard_arrow_down_black" />
|
2020-05-14 10:25:57 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|