sorry for the "me too" post, but me too. i'd really like to understand 
what's going on with the launcher vs. logo. 

On Monday, September 24, 2012 2:30:37 AM UTC-7, Martijn van Mechelen wrote:
>
> Does anyone know how to show a custom logo instead of the laucher app in 
> the SearchView ?
>
> Thanks,
>
> Martijn
>
> Op donderdag 20 september 2012 09:22:43 UTC+2 schreef Martijn van Mechelen 
> het volgende:
>>
>> Hi Kostya,
>>
>> Your suggested solution seems to solve the second problem (the incorrect 
>> positioning of the ViewSwitcher). Do you also know a solution for the first 
>> problem (the displayment of the laucher app icon instead of custom logo in 
>> the SearchView)?
>>
>> Thanks,
>>
>> Martijn
>>
>> Op dinsdag 18 september 2012 13:30:13 UTC+2 schreef Kostya Vasilyev het 
>> volgende:
>>>
>>> The answer at SO uses this:
>>>
>>> actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_HOME);
>>>
>>> Since your action bar has different content, you might want to try this:
>>>
>>> actionBar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TiTLE);
>>>
>>> or just this:
>>>
>>> actionBar.setDisplayShowTitleEnabled(false);
>>>
>>> -- K
>>>
>>> 2012/9/18 Martijn van Mechelen <martijnv...@gmail.com>
>>>
>>>> Hi all,
>>>>
>>>> Recentely we've published a Android app which is developed according to 
>>>> the Android design guidelines:
>>>> https://play.google.com/store/apps/details?id=nl.jip.benzineapp
>>>>
>>>> This app uses a logo instead of the launcher icon. In the app a search 
>>>> function is present in the ActionBar. There is also ViewSwitcher present 
>>>> in 
>>>> the ActionBar.
>>>>
>>>> Now we have two problems with the ActionBar.
>>>>
>>>>
>>>>    1. We aren't able to show the custom logo instead of the laucher 
>>>>    app icon in the SearchView, see attachment. This should be possible, 
>>>> this 
>>>>    is accomplished in the YouTube app for example. Any suggestions how to 
>>>>    accomplish this?
>>>>    
>>>>    2. When the user navigates between the default ActionBar and the 
>>>>    SearchView the positioning of the ViewSwitcher becomes incorrect, see 
>>>>    attachment. Apparently this is a known problem: 
>>>>    
>>>> http://stackoverflow.com/questions/12115372/android-margin-between-actionbar-icon-and-navigation-dropdown-menu-changes-when
>>>>    When we apply the suggested solution the custom logo is replaced by 
>>>>    the laucher icon. Any suggestions how to avoid this?
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Martijn van Mechelen
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Android Developers" group.
>>>> To post to this group, send email to android-d...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> android-developers+unsubscr...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to