Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 220.127.116.11 release ready!
Updated 17 June 2018
UI part of every application is the key for user engagement, this fact is known by all.
Building a better UI in android is making better and interactive views (xmls).
While working i just wanted to change the color of a button when the button is diabled from default color to some color of my choice (like just change the alpha value or some light toned similar color, so that the user understands that the button is disabled).
Lets have a look at how to implement the same :
CODE : my_button_background_selector
Now you have to add only one line to your button in your xml file.
And it is done.
You can also replace the color with your custom drawable file.
Keep coding , keep sharing 🙂
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.