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
Merge PR #926: fix: dock band corners concentric with tiles; opt-in even padding
Gathin234acdd58b0717
diff --cc launcher/app/src/main/java/com/gathin/tvhome/Config.javaindex a5882a9fd,3c5e7ce62..6071c886f--- a/launcher/app/src/main/java/com/gathin/tvhome/Config.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/Config.java@@@ -411,6 -395,7 +415,7 @@@ final class ConfigidleClockMinutes = integer(json, "home_idle_clock_minutes", idleClockMinutes, 0, 1440);keyFilter = bool(json, "key_filter", keyFilter);dockGlass = bool(json, "dock_glass", dockGlass);- dockEvenPadding = bool(json, "dock_even_padding", dockEvenPadding);++ dockEvenPadding = bool(json, "dock_even_padding", dockEvenPadding);glowStyle = string(json, "glow_style", glowStyle);}// A theme push or reset invalidates choices made on the TV. On first use, remember thediff --cc launcher/app/src/main/java/com/gathin/tvhome/DockDecoration.javaindex a6399154e,0efacb99b..5fef6e9ed--- a/launcher/app/src/main/java/com/gathin/tvhome/DockDecoration.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/DockDecoration.java@@@ -84,9 -105,20 +105,20 @@@ public class DockDecoration extends Rec// outwards and still keeps about the band's top margin from its rounded end.float sidePad = 22 * density;float side = Math.max(0f, Math.min(sidePad, Math.min(rect.left, parent.getWidth() - rect.right) - density));- rect.inset(-side, -pad);+ float radius = AppAdapter.cornerRadius(cardWidth, density);+ if (evenPadding) {+ // The same padding on all four sides, so the band's corners are concentric with the tiles' everywhere.+ int inner = parent.getWidth() - parent.getPaddingLeft() - parent.getPaddingRight();+ float room = Math.min(rect.top, Math.min(rect.left, parent.getWidth() - rect.right)) - density;+ float even = evenPaddingPx(inner, dockSize, cardWidth, room);+ rect.inset(-even, -even);+ radius = radiusPx(radius, even);+ } else {- // Concentric with the tiles along the top and bottom, where the padding is 'pad'.++ // dock_even_padding off: the band as before, with its fixed 26 dp corners.+ rect.inset(-side, -pad);- radius = radiusPx(radius, Math.min(pad, side));++ radius = 26 * density;+ }rect.bottom += namesRoom;- float radius = 26 * density;if (lightGlass && (rect.top != shaderTop || rect.bottom != shaderBottom)) {// The pills' glass (pill_bg: white, 18% fading to 8%), a little fainter over this much larger area.band.setShader(new LinearGradient(0, rect.top, 0, rect.bottom, 0x24FFFFFF, 0x0DFFFFFF,diff --cc launcher/app/src/main/res/values/config.xmlindex 1d93186ec,30eec110f..f600676d0--- a/launcher/app/src/main/res/values/config.xml+++ b/launcher/app/src/main/res/values/config.xml@@@ -198,6 -198,10 +198,10 @@@through it. false (the default) keeps the solid near-black band, or the cinematic shelf's dark glass. Canalso be set with "dock_glass": true in a theme's config.json. --><bool name="dock_glass">false</bool>+ <!-- The dock band's padding equals the gap between its tiles on all four sides (as far as the grid's edges leave room),+ so its corners are concentric with the tiles' and the spacing reads even. false (the default) keeps the fixed- 14dp above and below and up to 22dp at the sides. Can also be set with "dock_even_padding": true in a theme's config.json. -->++ 14dp above and below, up to 22dp at the sides and 26dp corners. Can also be set with "dock_even_padding": true in a theme's config.json. -->+ <bool name="dock_even_padding">false</bool><!-- A reorder button (two arrows) in the top bar. Off by default: reordering is also in the Settingsbutton's long-press menu, so it needs no extra button on screen. --><bool name="reorder_button">false</bool>