Android LinearLayout gradient background
Saved by @Awais malik #android #java #xml
Step 0: First of all go to app->res->drawable and create new Drawable resource file and replace code with following code, you can change color and angle for different results .
Step 1: Now go to res->layout and in .xml files where you want to set gradient as background in layout or image view
In this tutorial i will teach you how to create and set gradient background to a layout or image view
,
Comments