Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
Align Hebrew settings menu and reverse column choices
lionlev21044dc2fbe1ed
diff --git a/launcher/app/src/main/java/com/gathin/tvhome/LauncherSettingsActivity.java b/launcher/app/src/main/java/com/gathin/tvhome/LauncherSettingsActivity.javaindex f6701b392..fe5b5e504 100644--- a/launcher/app/src/main/java/com/gathin/tvhome/LauncherSettingsActivity.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/LauncherSettingsActivity.java@@ -7,6 +7,7 @@ import android.content.Intent;import android.content.SharedPreferences;import android.os.Bundle;import android.provider.Settings;+import android.widget.LinearLayout;import android.widget.TextView;import android.widget.Toast;@@ -43,6 +44,13 @@ public final class LauncherSettingsActivity extends Activity {refresh();});}+ // Keep the numeric choices increasing in the Hebrew reading direction. Reorder the+ // actual views so D-pad focus follows their positions without changing the saved values.+ if (getResources().getBoolean(R.bool.rtl_app_grid)) {+ LinearLayout row = (LinearLayout) columnChoices[0].getParent();+ row.removeAllViews();+ for (int i = columnChoices.length - 1; i >= 0; i--) row.addView(columnChoices[i]);+ }animationsChoice = findViewById(R.id.animationsChoice);animationsChoice.setOnClickListener(v -> {animations = !animations;diff --git a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.javaindex 653182d8e..bffbf556f 100644--- a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java@@ -1123,7 +1123,9 @@ public class MainActivity extends Activity implements AppAdapter.TileListener {if (moduleCards) addSettingsMenuRow(rows, popup, R.string.module_cards, this::showModuleCards);panel.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED);popup.setWidth(Math.max((int) (200 * density), panel.getMeasuredWidth()));- dropIn(popup, panel, anchor, Gravity.END);+ // Hebrew puts Settings at the left of the header: grow the menu inward from it.+ dropIn(popup, panel, anchor, getResources().getBoolean(R.bool.rtl_menu_bar)+ ? Gravity.START : Gravity.END);rows.getChildAt(0).requestFocus();}