Add gradient to imageview

后端 未结 5 1475
失恋的感觉
失恋的感觉 2020-12-04 16:38

I want to add a gradient on the bottom of my image . Something like this :

\"enter

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-04 16:58

    try using the "foreground" attribute in your imageview

    
    

    it worked for me.

提交回复
热议问题