I'm Making andriod application, every thing is going well, but when I use a large images for action bar , android platform does not fit the size of action bar, the Icon appear very large , so how can set width and heights of icons in action bar in android
I hope you have read Action Bar Icons document, because document already contains sizes of icons.
Anyway, here is the Android Asset Studio tool which would help you to generate Action bar icons.
I have solved this problem by making dim files for each density according to android standard, and when receive the images from the server re-size them with the corresponding dim value and then add them to my action bar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With