ChipsLayoutManager icon indicating copy to clipboard operation
ChipsLayoutManager copied to clipboard

when use STRATEGY_FILL_VIEW, gravity center invalid

Open ColorfulHorse opened this issue 5 years ago • 3 comments

itemView gravity center invalid, it seems cause by layout view without measure

ColorfulHorse avatar Jun 18 '19 09:06 ColorfulHorse

Yes, I can confirm that. Items are left aligned in their container that will be stretched on STRATEGY_FILL_VIEW. A possible bypass could be to fill the contents to the container, but even setting fill_parent on the layout_width will be ignored. Last commit 4 years ago, dead.

martin-braun avatar Mar 28 '21 01:03 martin-braun

Yes, I can confirm that. Items are left aligned in their container that will be stretched on STRATEGY_FILL_VIEW. A possible bypass could be to fill the contents to the container, but even setting fill_parent on the layout_width will be ignored. Last commit 4 years ago, dead.

flexbox instead

ColorfulHorse avatar Mar 31 '21 04:03 ColorfulHorse

@ColorfulHorse Flexbox was not right for me, I used the GridLayoutManager, instead.

martin-braun avatar Apr 05 '21 15:04 martin-braun