androidleanbackbrowsefragment

How to redue distance between two rows of BrowseFragment


I am using BrowseFragment with no Zooming effect as below:

ListRowPresenter presenter = new ListRowPresenter(FocusHighlight.ZOOM_FACTOR_NONE, true);

Due to this I'm having extra space between end and start of another row. As shown in image (highlighted in red box).

enter image description here

How can I reduce this space?

I had already tried overriding following dimensions, but it has no effect:

<dimen name="lb_browse_padding_bottom">48dp</dimen>
<dimen name="lb_browse_padding_end">56dp</dimen>

Solution

  • We can adjust thiese margins via overriding following values:

    <dimen name="lb_browse_expanded_selected_row_top_padding">16dp</dimen>
    <dimen name="lb_browse_expanded_row_no_hovercard_bottom_padding">28dp</dimen>