67 lines
No EOL
2.5 KiB
XML
67 lines
No EOL
2.5 KiB
XML
<?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:id="@+id/root_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<include layout="@layout/status_bar" />
|
|
</FrameLayout>
|
|
|
|
<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"
|
|
android:name="code.name.monkey.retromusic.fragments.player.lockscreen.LockScreenPlayerControlsFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:layout="@layout/fragment_lock_screen_playback_controls" />
|
|
</LinearLayout>
|
|
|
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="8dp">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:contentDescription="TODO"
|
|
android:scaleType="centerCrop"
|
|
tools:srcCompat="@tools:sample/backgrounds/scenic[0]" />
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/slide"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="@string/swipe_to_unlock" />
|
|
</LinearLayout> |