Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS 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 184.108.40.206 release ready!
Owner and Founder. Opencart
Changing Action Bar Icons dimension is a very hard task until you find out how?
Well while working on changing the gap between the Action Bar icons I have used, I figure out that actually, we can only set icons for this purpose and not kind of manipulate their dimensions via XML or Java coding of the view.
And if we do it simply by changing the dimensions of an item then that is wrong because that just changed the size of icon with respect to the view in which it is to be loaded and not the dimensions of the view itself,
the result would be smaller images with the bigger gap between them.
Well there are two solutions to this problem :
For the snippet under the styles tags, the attributes used are very simple:
-> colorControlNormal : to change the color .
-> actionButtonStyle & android:actionButtonStyle : it is just to change the styles of the buttons of the action bar, the only difference between them that I can acknowledge now, is that second one is not supported in previous versions of android.
And it is done !! : )
P.S: You can always change the dimensions as per your need.
Keep coding and 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.
Be the first to comment.
Excellent work, fast, good quality and understood the brief perfectly! Quick responses developing the project and very good cooperation. I suggest to anyone.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.