Stacking image views with overlapping

前端 未结 2 1079
后悔当初
后悔当初 2021-01-17 01:56

I am trying to stack image views beside each other (with 70% overlapping). I used a frameLayout and gave each elemnet padding of 10. It worked but this padding is killing me

2条回答
  •  醉话见心
    2021-01-17 02:11

    I have this layout:

    Hand of cards

    I do it by overriding FrameLayout to create the hand container and ImageView to create the cards. Then I can dictate how they layout in any way I want.

提交回复
热议问题