Skip to content

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

Align Hebrew screensaver and prefix month names

lionlev2122314e510c84
diff --git a/README.md b/README.md
index 8d31f1954..a607f7e38 100644
--- a/README.md
+++ b/README.md
@@ -212,7 +212,7 @@ the install script finds `~/Android/Sdk` and the `java` on your PATH.
- **Configure** in [`config.xml`](launcher/app/src/main/res/values/config.xml): dock order, hidden apps, the Live TV package, columns (tiles shrink from 5 up), rows under the dock, an optional VPN app for the network pill, and `reduced_motion` for TVs whose GPU cannot keep up.
- **Themes** set the same keys plus a background colour and a wallpaper from a `config.json` pushed to the TV, no rebuild. Three ship in [`themes/`](themes/), documented there.
- **Language** follows the TV: English, German, Spanish, Catalan, French, Russian, Serbian (Latin), Polish, Arabic, Hebrew, Simplified Chinese, Thai, Turkish. Android 13+ can set it for the launcher alone: `tools/tv.py 'cmd locale set-app-locales com.gathin.tvhome --locales he'`.
- Hebrew places the menu buttons on the left and the date and clock on the right, with the greeting above the clock; other languages keep the original header.
+ Hebrew places the menu buttons on the left and the date and clock on the right, with the greeting above the clock. The Clock screensaver right-aligns its date and time, and Hebrew dates include the month prefix ב (for example, 19 באוקטובר). Other languages keep their original layouts.
Russian includes the module-card approval and management screens and the VPN-off badge.
- **Module cards** let any TV app declare its own tile (label, caption, glow). The launcher asks you once per app, Keep hidden by default, and remembers the answer for that app's signing key and card name. Hold OK on Settings to change your mind. How to make one: [`docs/modules.md`](docs/modules.md); the contract: [`docs/specs/card.md`](docs/specs/card.md).
- **Clock screensaver**: a drifting clock over the glow, so nothing burns in. Pick "Clock" in the TV's screensaver settings, or over ADB:
diff --git a/launcher/app/src/main/res/layout-iw/dream_clock.xml b/launcher/app/src/main/res/layout-iw/dream_clock.xml
new file mode 100644
index 000000000..32da9e417
--- /dev/null
+++ b/launcher/app/src/main/res/layout-iw/dream_clock.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Hebrew screensaver: right-aligned clock/date, RTL date text, LTR time numerals. -->
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#FF000000">
+
+ <View
+ android:id="@+id/dreamAmbient"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+ <LinearLayout
+ android:id="@+id/dreamContent"
+ android:layoutDirection="rtl"
+ android:gravity="right"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layoutDirection="ltr"
+ android:baselineAligned="true">
+
+ <TextClock
+ android:id="@+id/dreamAmPm"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="10dp"
+ android:format12Hour="a"
+ android:format24Hour=""
+ android:textColor="#99FFFFFF"
+ android:textSize="22sp"
+ android:fontFamily="@font/outfit"
+ android:fontVariationSettings="'wght' 500"
+ android:letterSpacing="0.08"
+ android:textAllCaps="true" />
+
+ <TextClock
+ android:id="@+id/dreamClock"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:format12Hour="h:mm"
+ android:format24Hour="HH:mm"
+ android:textColor="#E6FFFFFF"
+ android:textSize="120sp"
+ android:fontFamily="@font/outfit"
+ android:fontVariationSettings="'wght' 200"
+ android:letterSpacing="-0.04"
+ android:includeFontPadding="false" />
+ </LinearLayout>
+
+ <TextClock
+ android:id="@+id/dreamDate"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:textDirection="rtl"
+ android:gravity="right"
+ android:format12Hour="@string/date_format"
+ android:format24Hour="@string/date_format"
+ android:textColor="#8CFFFFFF"
+ android:textSize="18sp"
+ android:fontFamily="@font/outfit"
+ android:fontVariationSettings="'wght' 400"
+ android:letterSpacing="0.14"
+ android:textAllCaps="true" />
+ </LinearLayout>
+</FrameLayout>
diff --git a/launcher/app/src/main/res/values-iw/strings.xml b/launcher/app/src/main/res/values-iw/strings.xml
index ea5e42dac..11b354b93 100644
--- a/launcher/app/src/main/res/values-iw/strings.xml
+++ b/launcher/app/src/main/res/values-iw/strings.xml
@@ -18,7 +18,7 @@
<string name="offline">אין חיבור לרשת</string>
<string name="not_available">לא זמין בטלוויזיה זו</string>
<string name="cant_open">לא ניתן לפתוח את %1$s</string>
- <string name="date_format">EEEE d MMMM</string>
+ <string name="date_format">EEEE d בMMMM</string>
<string name="dream_name">שעון</string>
<string name="vpn">VPN</string>
<string name="vpn_off">ה־VPN כבוי</string>