-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
99 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="wrap_content" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical"> | ||
|
||
<!-- 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:layout_marginHorizontal="24dp" | ||
android:foregroundGravity="center" | ||
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:format12Hour="dd" | ||
android:format24Hour="dd" | ||
android:tag="text1|nolineheight" | ||
android:textColor="@android:color/white" | ||
android:textSize="200sp" /> | ||
|
||
<!-- Text for Day --> | ||
<TextClock | ||
android:id="@+id/text_day" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_horizontal" | ||
android:layout_marginTop="-120dp" | ||
android:fontFamily="@font/fontsfree_net_carthart" | ||
android:format12Hour="EEE" | ||
android:format24Hour="EEE" | ||
android:gravity="center" | ||
android:tag="accent1|nolineheight" | ||
android:textColor="@android:color/system_accent1_400" | ||
android:textSize="140sp" /> | ||
|
||
<!-- Stack Layer for Time and Separator --> | ||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center" | ||
android:layout_marginTop="-10dp" | ||
android:orientation="vertical"> | ||
|
||
<!-- Text for Time --> | ||
<TextClock | ||
android:id="@+id/text_time" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_horizontal" | ||
android:layout_marginHorizontal="8dp" | ||
android:fontFamily="@font/sans_bold" | ||
android:format12Hour="hh:mm a" | ||
android:format24Hour="HH:mm" | ||
android:tag="text1" | ||
android:textAllCaps="true" | ||
android:textColor="@android:color/white" | ||
android:textSize="27sp" | ||
android:textStyle="bold" /> | ||
|
||
<!-- Shape for Separator --> | ||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="6dp" | ||
android:layout_gravity="center_horizontal" | ||
android:layout_marginTop="5dp" | ||
android:background="@android:color/system_accent1_400" | ||
android:tag="accent1" /> | ||
</LinearLayout> | ||
</LinearLayout> | ||
</FrameLayout> |