How to make a linearLayout partially transparent in android?

前端 未结 7 1749
刺人心
刺人心 2021-01-31 04:01

I have a RelativeLayout containing 2 LinearLayouts one of them is partially covering the other. I want to make the part of the LinearLayout

相关标签:
7条回答
  • 2021-01-31 04:58

    set Top Linear Layout's background as

    background="#CCFFFFFF" in your layout.xml file

    change alpha mode for more transparency here "CC".

    ("00" as full transparent)

    https://stackoverflow.com/a/4990254/665561

    0 讨论(0)
提交回复
热议问题