Skip to content

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

Launcher: German date on two lines next to the clock (weekday / day month)

evomentumd526336ff0c1
diff --git a/launcher/app/src/main/res/layout/activity_main.xml b/launcher/app/src/main/res/layout/activity_main.xml
index a71efe984..0ab34892b 100644
--- a/launcher/app/src/main/res/layout/activity_main.xml
+++ b/launcher/app/src/main/res/layout/activity_main.xml
@@ -141,10 +141,11 @@
android:gravity="left"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:singleLine="true"
+ android:maxLines="2"
+ android:lineSpacingExtra="6dp"
android:ellipsize="end"
- android:format12Hour="@string/date_format"
- android:format24Hour="@string/date_format"
+ android:format12Hour="@string/date_format_home"
+ android:format24Hour="@string/date_format_home"
android:textColor="#A6FFFFFF"
android:textSize="14sp"
android:fontFamily="@font/outfit_regular"
diff --git a/launcher/app/src/main/res/values-de/strings.xml b/launcher/app/src/main/res/values-de/strings.xml
index dbe94bb8e..cd269f5e3 100644
--- a/launcher/app/src/main/res/values-de/strings.xml
+++ b/launcher/app/src/main/res/values-de/strings.xml
@@ -19,6 +19,8 @@
<string name="not_available">Auf diesem TV nicht verfügbar</string>
<string name="cant_open">%1$s lässt sich nicht öffnen</string>
<string name="date_format">EEEE, d. MMMM</string>
+ <!-- Two lines next to the clock: the long German weekday and month names do not fit on one. -->
+ <string name="date_format_home">EEEE\nd. MMMM</string>
<string name="dream_name">Uhr</string>
<string name="input_key_service_description">Öffnet die Quellenauswahl, wenn die Input-Taste der Fernbedienung gedrückt wird.</string>
<string name="launcher_settings">Launcher-Einstellungen</string>
diff --git a/launcher/app/src/main/res/values/strings.xml b/launcher/app/src/main/res/values/strings.xml
index 5c7f0e834..2dd46921a 100644
--- a/launcher/app/src/main/res/values/strings.xml
+++ b/launcher/app/src/main/res/values/strings.xml
@@ -19,6 +19,8 @@
<string name="not_available">Not available on this TV</string>
<string name="cant_open">Can\'t open %1$s</string>
<string name="date_format">EEEE d MMMM</string>
+ <!-- Date next to the clock on Home; a locale can split it over two lines with \n. -->
+ <string name="date_format_home" translatable="false">@string/date_format</string>
<string name="dream_name">Clock</string>
<string name="vpn">VPN</string>
<string name="vpn_off">VPN off</string>