I am developing simple android application in which I want to Customise my actionBar
icon which is generally named ic_launcher.png in drawable
directory.The issue I am facing is in scaling and resizing of icon image.
Can I add rectangular image as Icon(
ic_launcher.png
) ?
because everytime I upload an rectangular icon the eclipse generates a square image,hence diminishing image size.
This is what I am looking for:
And this is what I have currently:
Note:Images aren't from actula project and are taken just for referencial purpose.
I think you need to tell the Actionbar to use a logo instead of an icon.
See this: http://developer.android.com/reference/android/app/ActionBar.html#setLogo(int)
and this:
Actionbar Logo size?