PlayerAndroid/app/src/main/res/layout/activity_lock_screen.xml

67 lines
2.4 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop" />
<View
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/shadow_up_full_theme"
android:clickable="true"
android:focusable="true" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical"
android:paddingBottom="52dp"
tools:ignore="UselessParent">
<fragment
android:id="@+id/playback_controls_fragment"
android:name="code.name.monkey.retromusic.ui.fragments.player.lockscreen.LockScreenPlayerControlsFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout="@layout/fragment_lock_screen_playback_controls" />
<TextView
android:id="@+id/slide"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="24dp"
android:text="Swipe to unlock"
android:textColor="@color/md_white_1000" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextClock
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:format12Hour="hh.mm"
android:gravity="center"
android:text="@string/title_dashboard"
android:textAppearance="@style/Base.TextAppearance.AppCompat.Display3"
android:textColor="@color/md_white_1000" />
<TextClock
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:format24Hour="EEEE, MMMM d"
android:gravity="center"
android:textColor="@color/md_white_1000" />
</LinearLayout>
</FrameLayout>