Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [android-jetpack-compose-tv]

Jetpack Compose for TV is Android’s modern toolkit for building native declarative UI for TV using the framework made by Google.

android-jetpack-compose-tv
1 vote
1 answer
47 views

How to return focus back the the previous view (remote control click)

There is such a screen (Android TV) I need to implement the following: When the screen opens, the focus should be on the first view in the left panel (Left Panel: 0). The user can navigate (with the ...
Sirop4ik's user avatar
  • 5,041
1 vote
0 answers
120 views

Android Compose (TV) wrong focus when TTS is on

Using jetpack compose to create an APP for TV platforms and I've been trying to create a Vertical List of Horizontal Lists using a LazyColum/LazyRow having a enter Focus (first item Top Left), when ...
daduck's user avatar
  • 286
0 votes
1 answer
75 views

How to match the TvLazyRow Title with the piviot offset of the items

Here is what i want my TvLazyColumnn to Look like: I need to show the last passed item which is not a problem but i also want to show the title of the TvLazyColumnn to match to the start or the ...
Bharat Kumar's user avatar
0 votes
0 answers
64 views

For Jetpack Compose Tv the remote switches not working in page where i show video view

For Jetpack Compose Tv the remote switches not working in page where i show video view Like in home page i was able to select different cards and by clicking it i am able to navigate to showMovie page ...
Macluster D's user avatar
0 votes
0 answers
87 views

Android jetpack compose TV, How to overlap items inside TvLazyColumn

TvLazyColumn{ item{ // item1 Banner video playing } item{ //item2 Row data } item{ //item3 Row data } } My requirement is while open screen , i want to ...
Venkatesh Chennampalli's user avatar
0 votes
1 answer
100 views

PiviotOffset of TvLazyColunm not working for nested lists

I have a TvLazyColunm and inside that many TvLazyRows ComposeTvAppTheme { // A surface container using the 'background' color from the theme Column(modifier ...
Bharat Kumar's user avatar
0 votes
2 answers
618 views

How to focus on a specific item in a row based on some flag?

Consider the following code : val tvListState = rememberTvLazyListState() val coScope = rememberCoroutineScope() Column{ TvLazyRow( horizontalArrangement = Arrangement.spacedBy(15.dp), ...
Rahul Rawat's user avatar
0 votes
1 answer
63 views

How to discover the selected item in TvLazyColumn

I would like to animate the title of a row in a TVLazyColumn depending on whether it is the one in focus or not. I can't find how to get which item in the column has the focus.
Code Rebel's user avatar
1 vote
0 answers
181 views

How to achieve smooth scroll like google home tv application

I am using TvLazyColumn to render multiple rows and TvLazyRow to render multiple items inside each row. I am able to render data however the app crashes sometimes when user scrolls fast using ...
Prathamesh Talathi's user avatar
3 votes
0 answers
223 views

Focus restore doesn't work for Jetpack-Compose Android

I have this compose code: @Composable fun TabItems( viewableViewState: ViewableViewState.Ready, onPlayClicked: (viewableInterface: ViewableInterface) -> Unit, modifier: Modifier = ...
Rob's user avatar
  • 41
1 vote
1 answer
404 views

Compose TV scrolling with D-PAD

I have this code LazyVerticalStaggeredGrid( columns = StaggeredGridCells.Fixed(2), modifier = modifier.fillMaxSize(), contentPadding = PaddingValues( top = 16.dp, end = 12....
Rob's user avatar
  • 41
2 votes
1 answer
279 views

Image offset in Android TV auto-slider (Jetpack Compose)

The first image of the slider works fine, but from the second on it seems so that the images are not centered, and the second one seems to displace the first one, the third one displaces the first and ...
Kalaitos Ornitier's user avatar
0 votes
0 answers
132 views

How to add blur effect to a lazy column on Android versions lower than 12?

This works perfectly on Android versions 12+ LazyColumn(modifier = Modifier .testTag(TestTag) .fillMaxSize() .blur(blurredBackground) I tried Cloudy library but it ...
Katarina Zivkovic's user avatar
0 votes
0 answers
602 views

Jetpack Compose + Fragment using AndroidViewBinding: how to direct Focus back to side menu from the Fragment?

I am trying to create an app with Jetpack Compose on Android TV. The app implements a Side Drawer Menu, a Navhost and corresponding routes. One of the routes consists of a Fragment, which I have ...
YU No's user avatar
  • 89
0 votes
1 answer
657 views

Jetpack Compose TvLazyColumn PivotOffset for items with different sizes

I am using TvLazyColumn composable with 7 items, and inside of each item has a title and a TvLazyRow with a list of video thumbnail images which are focusable. Out of the 7 items, 6 have identical ...
Sang Woo's user avatar

15 30 50 per page