Files
packages_apps_Evolver/res/layout/keyguard_clock_stylish.xml
Subratam6296 48a7fcfb74 Evolver: Lockscreen: Add more LS Clocks [2/2]
Signed-off-by: Subratam6296 <padraramesh420@gmail.com>
Change-Id: I6399e0e30f81d409d723e6e9324e1dd92b5813bf
2025-06-11 02:36:28 +09:00

75 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center_horizontal|top">
<!-- Overlapping Text Modules -->
<LinearLayout
android:id="@+id/overlap_layer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:foregroundGravity="center"
android:layout_marginTop="40dp"
android:orientation="vertical">
<!-- Text for Date -->
<TextClock
android:id="@+id/text_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:fontFamily="@font/BR_SC"
android:textColor="@android:color/white"
android:textSize="200sp"
android:format12Hour="dd"/>
<!-- Text for Day -->
<TextClock
android:id="@+id/text_day"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/FontsFree-Net-Carthart"
android:layout_gravity="center_horizontal"
android:gravity="center"
android:textSize="140sp"
android:textColor="#FFFD1540"
android:layout_marginTop="-120dp"
android:layout_marginRight="30dp"
android:format12Hour="EEE"/>
<!-- Stack Layer for Time and Separator -->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-10dp"
android:layout_gravity="center"
android:orientation="vertical">
<!-- Text for Time -->
<TextClock
android:id="@+id/text_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/Sans_Bold"
android:textSize="27sp"
android:textAllCaps="true"
android:layout_gravity="center_horizontal"
android:textStyle="bold"
android:textColor="@android:color/white"
android:format12Hour="hh:mm a"/>
<!-- Shape for Separator -->
<View
android:layout_width="140dp"
android:layout_height="6dp"
android:layout_gravity="center_horizontal"
android:background="#FFFD1540"
android:layout_marginTop="5dp"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>