i have an edit text view , i want its border to be of blue color , only its border or outline to be blue not the complete edit text view .How to get blue border?Please help
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.
You can use a shape drawable as a background for the edit text view. You can define it in an xml file in the res/drawable folder:
If you want to make the background variable depending on whether the edit text view has focus, etc., you can use the above as one element of a state list drawable.