53 lines
1.7 KiB
XML
53 lines
1.7 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<!-- 锁屏全屏倒计时:纯黑底极简排版,只有日期/时钟/倒计时/任务 -->
|
||
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:id="@+id/lockRoot"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@android:color/black"
|
||
|
|
android:clickable="true"
|
||
|
|
android:focusable="true"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tvLockDate"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="#99FFFFFF"
|
||
|
|
android:textSize="15sp"
|
||
|
|
android:letterSpacing="0.08" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tvLockClock"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="6dp"
|
||
|
|
android:includeFontPadding="false"
|
||
|
|
android:textColor="#CCFFFFFF"
|
||
|
|
android:textSize="52sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tvLockCountdown"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="56dp"
|
||
|
|
android:includeFontPadding="false"
|
||
|
|
android:textColor="#FFFFFF"
|
||
|
|
android:textSize="96sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tvLockTask"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="20dp"
|
||
|
|
android:ellipsize="end"
|
||
|
|
android:maxWidth="280dp"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:textColor="#CCFFFFFF"
|
||
|
|
android:textSize="17sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|