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 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
In this blog, I will show you how to change some default style of android Views by programmatically.
In XML
In java
getDrawable(index): Returns the drawable for the layer at the specified index.
Parameters index The index of the layer must be in the range 0…getNumberOfLayers()-1.
PorterDuff.Mode.SRC_ATOP:
Consider these two images:
The effect is as if the destination image is trimmed to match the source image, and then held up in front of it:
The Porter/Duff operator that does this is called “Dest Atop”.
In this example, I have created a default Dialog view and change the blue line title divider in Dialog.
This is simple dialog,
and change the title divider blue line,
and custom_dialog.xml
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.