You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to use a VerticalGridSupportFragment to display cards that only show the info when selected.
I loaded the LeanbackShowCase, and added the <item name="infoVisibility">selected</item> to the GridCardStyle.
When running the app the grid shows an weird behaviour when selecting a card, the rows below moves down, and sometimes the cards change order.
Is there an way to prevent the rows below from moving down and keep the items in the same position?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Unfortunately, I don't know of an easy way to accomplish that. Under the hood, it's using a GridLayoutManager, so you could subclass that to do what you want, but it's not a small amount of code. You might also try posting on http://stackoverflow.com/questions/tagged/android-tv to see if anyone else has done something similar.
Hi,
I'm trying to use a VerticalGridSupportFragment to display cards that only show the info when selected.
I loaded the LeanbackShowCase, and added the
<item name="infoVisibility">selected</item>
to the GridCardStyle.When running the app the grid shows an weird behaviour when selecting a card, the rows below moves down, and sometimes the cards change order.
Is there an way to prevent the rows below from moving down and keep the items in the same position?
Thanks in advance
The text was updated successfully, but these errors were encountered: