How to set transparency of a background image Android xml file

后端 未结 9 711
南笙
南笙 2020-12-08 02:24

I have put an image in as the background of my android application with the following line of code:

 android:background=\"@drawable/background\"
9条回答
  •  甜味超标
    2020-12-08 03:04

    just use this line in your .xml file android:background="#ddxxxxxx" replace the xxxxxx with any color you want. refer https://alvinalexander.com/android/how-background-image-behind-translucent-opaque-textview for more details.

提交回复
热议问题