Android: Overlapping two views (intentionally!)

前端 未结 3 1222
萌比男神i
萌比男神i 2021-02-05 18:26

just wondering is it possible to overlap two elements?

This is an illustration of what im trying to achieve:

3条回答
  •  深忆病人
    2021-02-05 18:56

    A very simple solution is taking margin of ImageView in negative values(e.g. -40dp). But it works only in some situations.

提交回复
热议问题