Questions tagged [leanback]

The Leanback Support Library provides APIs, resources, and widgets for building Android TV apps.

The Leanback Support Library provides , , and for building apps. For questions related to developing interactive television apps in general please use the tag.

Useful Links:

412 questions
7
votes
2 answers

How to customise Header Item of Row in android leanback library?

I am new in Android TV development. I use android leanback library for this. Also I I use BrowseSupportFragment and RowsSupportFragmen. Here I want to customise the HeaderItem shown in the picture. Specially I want to change its font. I check…
sohel.eco
  • 337
  • 2
  • 12
7
votes
3 answers

Persistent header fragment (disable animation) in Android TV (leanback)

Anyone knows how to achieve the question in the title? The objective is to avoid the animation that results in the Headers bar disappearing as the Leanback app zooms in on the Row Item once a Header has been clicked. setHeadersState of…
Mondego
  • 175
  • 1
  • 11
7
votes
1 answer

Android TV: RowsFragment item click not working in few cases

I'm working on an Android TV application and I'm facing a weird issue related to the item click listeners: everything works fine but sometimes the click is not propagated, very likely the listener is not set. I have subclassed RowsFragment and I'm…
fasteque
  • 4,309
  • 8
  • 38
  • 50
7
votes
1 answer

Custom your ImageCardView style ( not the content )

How can I custom the ImageCardView to be circular in Leanback?
ArolaAb
  • 297
  • 3
  • 12
6
votes
3 answers

disable the scroll effect of the action list

I've got a GuidedStepSupportFragment fragment like this. public class SampleStepFragment extends GuidedStepSupportFragment { @NonNull @Override public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { String…
ziLk
  • 3,120
  • 21
  • 45
6
votes
3 answers

Android TV: How to customize left navigation panel of android TV using Leanbak?

Currently I am working an android tv application project and my navigation panel is showing text and icon when it is in expanded mode like - When navigation panel is collapsed it showing a vertical bar with just color and no icons or something is…
Xplosive
  • 711
  • 3
  • 14
  • 26
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
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
3 answers

Leanback version of AlertDialog

In Android, making an AlertDialog with Positive/Negative buttons is easy. new AlertDialog.Builder(getActivity()) .setTitle("Question?") .setPositiveButton("YES", new DialogInterface.OnClickListener() { @Override …
Matt
  • 5,461
  • 7
  • 36
  • 43
6
votes
4 answers

How to get selected/focused item or it's index in VerticalGridFragment class of Android?

I need to get the selected/focused item's index of the VerticalGridFragment. I found the method to set the selected item in the documentation https://developer.android.com/reference/android/support/v17/leanback/app/VerticalGridFragment.html, i.e.…
Abhishek
  • 3,304
  • 4
  • 30
  • 44
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
1 answer

Android TV Custom Presenter Error: Do not setLayoutFrozen in layout or scroll

I had tried to create a custom presenter with just a single custom view whitch play a video into a surface view and after first bind i get this error message. What's the problem? I don't set any boolean to froze layour or any like this. …
Cătălin Florescu
  • 5,012
  • 1
  • 25
  • 36
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
6
votes
1 answer

Add Items in BrowseFragment Header in Android TV

I have used Google sample project of android tv leanback library as a reference. So, my question is how to add items (i.e. Button, ImageView, TextView) along with search button in BrowseFragment Header in Android TV. I can able to hide search button…
Jay Rathod
  • 11,131
  • 6
  • 34
  • 58
1
2
3
27 28