2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout 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"
|
2019-12-07 03:39:15 +00:00
|
|
|
android:background="?attr/colorSurface"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-04-04 06:07:55 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<include layout="@layout/status_bar" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
2018-07-27 13:07:33 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:ignore="UselessParent">
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/playback_controls_fragment"
|
2019-04-20 05:29:45 +00:00
|
|
|
android:name="code.name.monkey.retromusic.fragments.player.lockscreen.LockScreenPlayerControlsFragment"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:layout="@layout/fragment_lock_screen_playback_controls" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-12-07 03:39:15 +00:00
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareCardView
|
|
|
|
android:id="@+id/albumCoverContainer"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-12-07 03:39:15 +00:00
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:transitionName="@string/transition_album_art"
|
|
|
|
app:cardCornerRadius="24dp"
|
|
|
|
app:cardElevation="8dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/image"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-12-07 03:39:15 +00:00
|
|
|
android:scaleType="centerCrop"
|
|
|
|
tools:srcCompat="@tools:sample/backgrounds/scenic[0]" />
|
2019-09-02 14:51:53 +00:00
|
|
|
|
2019-12-07 03:39:15 +00:00
|
|
|
</code.name.monkey.retromusic.views.WidthFitSquareCardView>
|
2019-04-15 02:44:48 +00:00
|
|
|
|
2019-09-29 09:06:22 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/slide"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:gravity="center"
|
|
|
|
android:padding="16dp"
|
2019-12-07 03:39:15 +00:00
|
|
|
android:text="@string/swipe_to_unlock"
|
|
|
|
android:textColor="?android:attr/textColorPrimary" />
|
2018-07-27 13:07:33 +00:00
|
|
|
</LinearLayout>
|