I want to know how i can change my Layout Background.
There are multiple ways to accomplish this, it can be done via XML...
android:background XML attritube. This can use a drawable in the form of "@drawable/imagefile" or a color value "#FF000000".or perform the color change programmatically with the following functions:
setBackgroundResource: Set the background to a given resource. The resource should refer to a Drawable object or 0 to remove the background.setBackgroundColor: Sets the background color for this view.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With