Questions tagged [android-tv]

Android TV is a smart TV platform running the Android operating system. It provides an interactive television experience by overlaying user interface on top of existing television programming. Use android-tv for questions specifically on the TV platform and not for general Android questions.

Android TV is a smart TV platform running the Android operating system. It provides an interactive television experience by overlaying user interface on top of existing television programming.

1380 questions
6
votes
2 answers

Stuck in Charles Proxy Certificate Installation for Android TV / Fire TV

We started working on Android TV recently and we need to connect charles proxy tool for ease of development process. We were able to set proxy on tv using same wifi connection. But we are not getting any way to install the charles trusted…
ajay
  • 886
  • 2
  • 12
  • 27
6
votes
2 answers

App rejected. Eligibility issues from Google Play for Android TV

After Uploading Android TV application on play store google give me this error. But i already include tv-launcher image. Application is working fine on Xiaomi MI TV BOX. I also go through this link but didn't find any solution. Hi Developers at…
Manoj Patidar
  • 302
  • 3
  • 17
6
votes
2 answers

ExoPlayer in Android TV plays video in portrait mode instead of landscape

We are using ExoPlayer to play m3u8 files (stream) on Android TV. The streaming is working fine, but the video plays in portrait mode (even if the video is shot in landscape). Looks like some issue with orientation of the android TV instead of…
Omkar Jadhav
  • 1,046
  • 3
  • 16
  • 41
6
votes
1 answer

Google Play warning about missing leanback intent

When updating our app on Google Play I get You opted-in to Android TV but your APK or Android App Bundle does not have the Leanback intent This is somewhat bizarre as we have all the required components in our manifest to support TV,…
Andrew Parker
  • 1,425
  • 2
  • 20
  • 28
6
votes
0 answers

Changes background color to black few times in RowSupportFragment in FireTV on item selection

I am using RowsSupportFragment of lean-back library for my TV application. It changes background color of the fragment to black while selecting items (few times color changes to black where as we have set background color transparent) in FireTV…
Manoj Patidar
  • 302
  • 3
  • 17
6
votes
1 answer

Display.getSupportedModes() returns only 1080p display mode on 4K Android TV

Am recently adding support for 4K in my app for Android TV users. My test device is SONY KD-49XF9005. While the built-in image viewer, as well as YouTube, can display in 4K without issue, I've got no luck getting it to work for my app so far. My app…
bosphere
  • 388
  • 3
  • 7
6
votes
3 answers

Android RecyclerView items expand on focus while scrolling

I am trying to achieve an effect for my Android TV app so that views expand while they're focused. I did that by animating the ViewHolder's main view's LayoutParams. It works fine but the problem is that when i scroll towards the end of the view…
6
votes
1 answer

Use fonts from support library in Leanback

From android support library 26 onwards, it is possible to use fonts in styles and widgets. You then have to use AppCompatActivity and use styles extending from Theme.AppCompat. I would like to use custom fonts in Android TV (using the support…
OKA
  • 1,453
  • 2
  • 11
  • 7
6
votes
1 answer

How to customize Leanback's ListRows?

Android's leanback library provides a few standard ways to customize a RowFragment, both the Rows and the Cards themselves, but I'm not sure how to add custom elements outside of what is provided on the framework. What I am specifically trying to…
Francisco Noriega
  • 13,725
  • 11
  • 47
  • 72
6
votes
2 answers

How to use setRowViewSelected of ListRowPresenter

I am using default project for Android TV. Following is the code for creating cards in my BrowseFragment: private void loadRows() { List list = MovieList.setupMovies(); ListRowPresenter mListRowPresenter = new ListRowPresenter(); …
Uniruddh
  • 4,427
  • 3
  • 52
  • 86
6
votes
0 answers

How to get focus for EditText and navigate using D-pad in Android TV

I am creating suggestion based search feature using EditText & PopupWindowdue to some GUI requirements. Search and suggestions are working perfect, but I'm unable to navigate through search EditText and list items of PopupWindow via Dpad. following…
Uniruddh
  • 4,427
  • 3
  • 52
  • 86
6
votes
3 answers

Remove top margin from BrowseFragment in Android TV

How can I remove blank space, as shown in dotted box in below image from BrowseFragment. I managed to remove search button and title. Although, I also want to remove blank space and move video row at top of screen. Is there any way to do this? I…
Uniruddh
  • 4,427
  • 3
  • 52
  • 86
6
votes
1 answer

Publishing multiple apks with different filters for mobile and tv

I want to publish multiple apks: one for mobile and other androidtv within same application. As per Publishing Multiple APKs with Different Filters there are only four distinguishing filters within same application: Currently, Google Play allows…
random
  • 10,238
  • 8
  • 57
  • 101
6
votes
1 answer

Android Studio TV remote buttons

I'm trying to make an app for android tv that will use the following buttons from a tv remote: up, down, left, right, center/enter, home, back. What classes/events do I need to do this? I've been trying to use the Dpad code found here: Link dev…
Anindya Basu
  • 659
  • 1
  • 6
  • 18
6
votes
1 answer

Android Leanback Keyboard Source

Is the source code available for the Android lean-back Keyboard?Basically the android box I am using shows its custom IME but I want to show leanback keyboard in place of that.
prit
  • 643
  • 7
  • 21