Skip to content

Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.

Open the Remote from a FAB on the TV page

jesse-agent-232567a1f9713e5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 39e4752..e598a75 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@ until this file has a section for its version.
- **New:** The Remote is back, and keys land in about 50 ms. [#111](../../pull/111)
- **Improved:** Typing from the Remote takes a fraction of a second. [#111](../../pull/111)
+- **Improved:** The Remote opens from a button at the bottom of the TV page. [#NN](../../pull/NN)
- **Fixed:** Apps no longer crashes on TVs that list an app twice. [#109](../../pull/109)
## 0.6.3 — 2026-10-25
diff --git a/app/src/main/java/app/tellyscope/ui/DeviceTabs.kt b/app/src/main/java/app/tellyscope/ui/DeviceTabs.kt
index 14817e9..fee4385 100644
--- a/app/src/main/java/app/tellyscope/ui/DeviceTabs.kt
+++ b/app/src/main/java/app/tellyscope/ui/DeviceTabs.kt
@@ -54,6 +54,7 @@ import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Scaffold
import androidx.compose.material3.ShortNavigationBar
import androidx.compose.material3.ShortNavigationBarItem
+import androidx.compose.material3.SmallFloatingActionButton
import androidx.compose.material3.SnackbarHost
import androidx.compose.material3.SnackbarHostState
import androidx.compose.material3.Surface
@@ -204,12 +205,19 @@ fun DeviceTabsScreen(
Box {
Scaffold(
snackbarHost = { SnackbarHost(snackbar) },
- // Each tab's main action as Material's extended FAB: install on Apps, upload on Files.
+ // Each tab's main action as Material's extended FAB: install on Apps, upload on Files, the Remote
+ // elsewhere. Where a tab has its own, the Remote stacks above it as a small FAB.
floatingActionButton = {
- if (!offline) when (tab) {
- TvTab.Apps -> ExtendedFloatingActionButton(onClick = actions.pickApp, icon = { Icon(Icons.Default.Add, null) }, text = { Text("Install app") })
- TvTab.Files -> ExtendedFloatingActionButton(onClick = { actions.pickFile(ui.files.folder) }, icon = { Icon(TileIcons.Upload, null) }, text = { Text("Upload files") })
- else -> {}
+ if (!offline) Column(horizontalAlignment = Alignment.End, verticalArrangement = Arrangement.spacedBy(16.dp)) {
+ when (tab) {
+ TvTab.Apps, TvTab.Files -> SmallFloatingActionButton(onClick = actions.remote) { Icon(TileIcons.Remote, contentDescription = "Remote") }
+ else -> ExtendedFloatingActionButton(onClick = actions.remote, icon = { Icon(TileIcons.Remote, null) }, text = { Text("Remote") })
+ }
+ when (tab) {
+ TvTab.Apps -> ExtendedFloatingActionButton(onClick = actions.pickApp, icon = { Icon(Icons.Default.Add, null) }, text = { Text("Install app") })
+ TvTab.Files -> ExtendedFloatingActionButton(onClick = { actions.pickFile(ui.files.folder) }, icon = { Icon(TileIcons.Upload, null) }, text = { Text("Upload files") })
+ else -> {}
+ }
}
},
topBar = {
@@ -222,10 +230,7 @@ fun DeviceTabsScreen(
colors = TopAppBarDefaults.topAppBarColors(
containerColor = lerp(MaterialTheme.colorScheme.surface, MaterialTheme.colorScheme.surfaceContainer, collapse),
),
- actions = {
- TextButton(onClick = actions.remote, enabled = !offline) { Text("Remote") }
- AppMenu(state, actions)
- },
+ actions = { AppMenu(state, actions) },
)
}
},
@@ -250,7 +255,8 @@ fun DeviceTabsScreen(
Modifier.fillMaxSize().padding(pad),
state = list,
// No top padding: the Apps tabs pin at the list's top edge, flush under the bar; the hero carries the 4dp.
- contentPadding = PaddingValues(start = 16.dp, end = 16.dp, bottom = 96.dp),
+ // The bottom keeps the last row clear of the FABs: two of them stacked on Apps and Files.
+ contentPadding = PaddingValues(start = 16.dp, end = 16.dp, bottom = if (!offline && (tab == TvTab.Apps || tab == TvTab.Files)) 152.dp else 96.dp),
verticalArrangement = Arrangement.spacedBy(12.dp),
) {
val snap = ui.snapshot
@@ -599,6 +605,14 @@ private fun StatusRow(icon: ImageVector, title: String, sub: String?, button: St
private object TileIcons {
// Absolute commands only: Compose's path parser misplaces a relative move after a close.
val Upload = icon("Upload", "M9 16H15V10H19L12 3L5 10H9ZM5 18H19V20H5Z")
+ // Material's settings_remote: a remote with a ring button and two signal arcs.
+ val Remote = icon(
+ "Remote",
+ "M9 9H15A1 1 0 0 1 16 10V22A1 1 0 0 1 15 23H9A1 1 0 0 1 8 22V10A1 1 0 0 1 9 9Z" +
+ "M12 11A2 2 0 1 0 12 15A2 2 0 1 0 12 11Z" +
+ "M7.05 6.05L8.46 7.46A5 5 0 0 1 15.54 7.46L16.95 6.05A7 7 0 0 0 7.05 6.05Z" +
+ "M4.22 3.22L5.63 4.63A9 9 0 0 1 18.37 4.63L19.78 3.22A11 11 0 0 0 4.22 3.22Z",
+ )
val Movie = icon("Movie", "M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z")
private fun icon(name: String, path: String) = ImageVector.Builder(name, 24.dp, 24.dp, 24f, 24f)
diff --git a/app/src/test/java/app/tellyscope/ScreenshotTest.kt b/app/src/test/java/app/tellyscope/ScreenshotTest.kt
index 7ef7533..94257fc 100644
--- a/app/src/test/java/app/tellyscope/ScreenshotTest.kt
+++ b/app/src/test/java/app/tellyscope/ScreenshotTest.kt
@@ -465,6 +465,10 @@ class ScreenshotTest {
@Test fun tabs_files() = tabShots(TvTab.Files, "42_tabs_files")
@Test fun tabs_tweaks() = tabShots(TvTab.Tweaks, "43_tabs_tweaks")
@Test fun tabs_overview_dark() = shot("40_tabs_overview", dark = true) { DeviceTabsScreen(tabsState(), DeviceActions(), startTab = TvTab.Overview) }
+ // The last app row clears the Remote and Install FABs stacked over the list's end.
+ @Test fun tabs_apps_end() = shot("41_tabs_apps_end", before = { compose.onNode(hasScrollAction()).performScrollToKey("tail"); compose.mainClock.advanceTimeBy(1_000) }) {
+ DeviceTabsScreen(tabsState(), DeviceActions(), startTab = TvTab.Apps)
+ }
@Test fun tabs_apps_dark() = shot("41_tabs_apps", dark = true) { DeviceTabsScreen(tabsState(), DeviceActions(), startTab = TvTab.Apps) }
@Test fun tabs_files_dark() = shot("42_tabs_files", dark = true) { DeviceTabsScreen(tabsState(), DeviceActions(), startTab = TvTab.Files) }
@Test fun tabs_tweaks_dark() = shot("43_tabs_tweaks", dark = true) { DeviceTabsScreen(tabsState(), DeviceActions(), startTab = TvTab.Tweaks) }
@@ -615,6 +619,8 @@ class ScreenshotTest {
for (t in listOf("Install app", "Debloat", "Send file")) compose.onNodeWithText(t).assertIsEnabled()
for (t in listOf("Internal storage", "Network", "Suggested for this TV", "Check for updates")) compose.onNodeWithText(t).assertExists()
compose.onNodeWithText("Updated ", substring = true).assertExists()
+ // The Remote is the page's FAB, no longer a button in the top bar.
+ compose.onNodeWithText("Remote", useUnmergedTree = true).assertExists()
}
@Test fun device_overview_dark() = shot("04_device", dark = true) { DeviceTabsScreen(deviceState(), DeviceActions()) }
@@ -638,6 +644,8 @@ class ScreenshotTest {
compose.onNodeWithText("Internal storage").assertExists()
compose.onAllNodesWithText("\u2014").assertCountEquals(4)
compose.onNodeWithText("Updated ", substring = true).assertExists()
+ // No Remote while the TV is away.
+ compose.onNodeWithText("Remote", useUnmergedTree = true).assertDoesNotExist()
}
@Test fun device_storageFull() {