Can someone please tell me how to add picture of gradient instead of color (android:backgroundColor) ?
Picture instead of color in background?
Post a Reply
|Oldest Newest Rating|
· May 29, 2015
Steps to be followed:
1. Copy your picture here: app/res/drawable/picturename.jpg
2. Give your picture an id, say, mypic.
3. Add this line in your XML file:
Suggestion: Keep all letters in picture name lowercase other it may raise build error.
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|