Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

Merge PR #60: fix: resolve launcher lint errors and prevent header overlap

Gathin23178b919bf125
diff --cc launcher/app/src/main/res/layout/activity_main.xml
index c75a6a25f,dd110d078..6d1923210
--- a/launcher/app/src/main/res/layout/activity_main.xml
+++ b/launcher/app/src/main/res/layout/activity_main.xml
@@@ -102,39 -106,23 +106,44 @@@
android:layout_marginBottom="8dp"
android:background="#33FFFFFF" />
- <TextClock
- android:id="@+id/date"
+ <LinearLayout
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
+ android:layout_weight="1"
android:layout_height="wrap_content"
- android:singleLine="true"
- android:ellipsize="end"
android:layout_gravity="bottom"
android:layout_marginBottom="9dp"
- android:format12Hour="@string/date_format"
- android:format24Hour="@string/date_format"
- android:textColor="#A6FFFFFF"
- android:textSize="14sp"
- android:fontFamily="@font/outfit"
- android:fontVariationSettings="'wght' 400"
- android:letterSpacing="0.14"
- android:textAllCaps="true" />
+ android:orientation="vertical">
+
+ <!-- Shamsi date ("27 Mehr 1405"), shown when shamsi_date is on. -->
+ <TextView
+ android:id="@+id/shamsiDate"
- android:layout_width="wrap_content"
++ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
++ android:singleLine="true"
++ android:ellipsize="end"
+ android:textColor="#E6FFFFFF"
+ android:textSize="17sp"
+ android:fontFamily="@font/outfit"
+ android:fontVariationSettings="'wght' 400"
+ android:letterSpacing="0.02"
+ android:includeFontPadding="false"
+ android:visibility="gone" />
+
+ <TextClock
+ android:id="@+id/date"
- android:layout_width="wrap_content"
++ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
++ android:singleLine="true"
++ android:ellipsize="end"
+ android:format12Hour="@string/date_format"
+ android:format24Hour="@string/date_format"
+ android:textColor="#A6FFFFFF"
+ android:textSize="14sp"
+ android:fontFamily="@font/outfit"
+ android:fontVariationSettings="'wght' 400"
+ android:letterSpacing="0.14"
+ android:textAllCaps="true" />
+ </LinearLayout>
</LinearLayout>
</LinearLayout>