Android: Overlapping two views (intentionally!)

前端 未结 3 1226
萌比男神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 19:14

    Another simple approach would be to use two transparent image views. These imageviews will be to the top and right of the blue layout. Set background of this image views as #00000000 to make them transparent.

提交回复
热议问题