Reputation: 760
I need to have something like this in My application ActionBar
logo image + Application name + trademark
I was reading about adding a custom logo to use it in ActionBar and to hide the title, but the problem is (if I try to create a .png file that will contain logo+title+trademark) with the width (there are dimensions specified for this logo).
Is this possible? Thanks.
Upvotes: 1
Views: 4635
Reputation: 6928
In your action bar style, set the displayOptions to:
<item name="android:displayOptions">useLogo</item>
Now it will only display the logo, and not the app icon or title. The logo can be as wide as you want I think.
Set the logo on the Application tag of your manifest
android:logo="@drawable/my_logo"
Upvotes: 1