I would like to know how I can set gradient color in my layout. I want to start with dark green from left side and become lighter to center and from center to right that color should be become darker. How I can do that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create one selector file and put in drawable folder.
Change color as per your requirement. Change angel as per your requirement also.
Look Here for more details.Choose Your Green Color code from here .
http://www.december.com/html/spec/color2.html