Brand logo in Android - android

I know I can use android:logo in the manifest file to make my brand logo prominent in the action bar of my Android app. But the logo ends up being only as big as the action bar icon.
Are there any dimension guidelines so that I can have a wide action bar logo?

Related

Android action bar showing icons in both light and dark themes

I want to show an action bar with icons in both light and dark themes. So I'm wondering whether I need to duplicate all the icon files?
I also wonder why the official icons are either opaque white or black, but the guidelines say its alpha should be 80% and 60% for each theme respectively. Should I change every png?
In other words, is there any simple way to use an action bar with icons that work in both themes?

Android icon ic_menu_save not present in Android Design icons

I have downloaded the Android Design Icons from the android website. To be specific its Android Design - Icons 20131120, the one I have downloaded on my pc. What I need is the ic_menu_save (64x64 in dimension) icon which is not present in the folder Core_Icons\unstyled\xhdpi. This icon is whitish/transparent when you see it at first glance. Where do I find this one?
if you are looking for this icon
you can get this in Action bar icons as menu has been replaced with Actionbar and the below is the link for the Actionbar icons
https://developer.android.com/design/downloads/index.html
in this webpage Action bar Icon pack, click on the Action Bar Icon pack blue button to download those images
there will be holo light and holo dark images, you can find grey or white as per your requirement you can that particular image in 05_content_save folder of all the sizes
I think android icon has been updated and you can find save icon in this folder
"Android_Design_Icons_20131106\Android Design - Icons 20131120\Action Bar Icons\holo_light\05_content_save"
Hope this might help you a bit.

contextual action bar with gray overlay

I have a light gray background for the contextual action bar. But on a Nexus 5 I have also a darker overlay and I don't know why :-(
I think the images for the background are okay.
Because you don't have resources for xxhdpi for Action Mode. Use Android Action Bar Styles Generator, generate resources for your Action Bar in the action mode and apply it. It will fix your problem.

How to use a different icon for action bar

I made an icon for my Android app but I want to use a different file for the action bar. So on icon for app section, and one icon for action bar. How can I do that ?
From official documentation:
By default, the system uses your application icon in the action bar,
as specified by the icon attribute in the or
element. However, if you also specify the logo attribute, then the
action bar uses the logo image instead of the icon.
http://developer.android.com/guide/topics/ui/actionbar.html#Logo

How to Replace Icon and title with a png logo

By default the native ActionBar show app name with app icon on the left. I want to replace all this section
with a custom logo
searching seems that I have to edit the styles.xml file to customize the action bar, but I haven't understood what is the right way and what resolution should have the logo.
"By default, the system uses your application icon in the action bar, as specified by the icon attribute in the <application> or <activity> element. However, if you also specify the logo attribute, then the action bar uses the logo image instead of the icon."
source: http://developer.android.com/guide/topics/ui/actionbar.html
In order to remove the Title of the Activity you call ActionBar.setDisplayShowTitleEnabled(false);

Categories

Resources