Re: [android-developers] Custom font in ActionBar overflow menu

2012-09-24 Thread Martijn van Mechelen
Does anyone know how to accomplish this?

Thanks,

Martijn

Op donderdag 20 september 2012 10:00:17 UTC+2 schreef Martijn van Mechelen 
het volgende:

 Hi Kostya,

 Your suggestion for the custom font in the overflow menu doesn't seem to 
 be working. We're looking into to it and will keep you posted.

 Thanks,

 Martijn

 Op dinsdag 18 september 2012 13:37:25 UTC+2 schreef Kostya Vasilyev het 
 volgende:

 I think you should be able to override these in your theme:

 android:attr/textAppearanceSmallPopupMenu

 android:attr/textAppearanceLargePopupMenu

 A text appearance, in turn, can specify a typeface.

 -- K

 2012/9/18 Martijn van Mechelen martijnv...@gmail.com

 Hi all,

 It seems that it's not possible to apply a custom font to the overflow 
 menu. The following page mentions a hack which we don't want to use:

 http://stackoverflow.com/questions/4135699/how-to-set-a-font-for-the-options-menu
  

 Does anyone know if there is an official way to solve this?

 Thanks,

 Martijn

 -- 
 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

Re: [android-developers] Using a logo instead of icon in a SearchView and postioning of a ViewSwitcher

2012-09-24 Thread Martijn van Mechelen
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

Re: [android-developers] Using a logo instead of icon in a SearchView and postioning of a ViewSwitcher

2012-09-20 Thread Martijn van Mechelen
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 javascript:

 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.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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

Re: [android-developers] Custom font in ActionBar overflow menu

2012-09-20 Thread Martijn van Mechelen
Hi Kostya,

Your suggestion for the custom font in the overflow menu doesn't seem to be 
working. We're looking into to it and will keep you posted.

Thanks,

Martijn

Op dinsdag 18 september 2012 13:37:25 UTC+2 schreef Kostya Vasilyev het 
volgende:

 I think you should be able to override these in your theme:

 android:attr/textAppearanceSmallPopupMenu

 android:attr/textAppearanceLargePopupMenu

 A text appearance, in turn, can specify a typeface.

 -- K

 2012/9/18 Martijn van Mechelen martijnv...@gmail.com javascript:

 Hi all,

 It seems that it's not possible to apply a custom font to the overflow 
 menu. The following page mentions a hack which we don't want to use:

 http://stackoverflow.com/questions/4135699/how-to-set-a-font-for-the-options-menu
  

 Does anyone know if there is an official way to solve this?

 Thanks,

 Martijn

 -- 
 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.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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

Re: [android-developers] Custom font in ActionBar overflow menu

2012-09-19 Thread Martijn van Mechelen
Hi Kostya,

Thanks for your reply. We'll try it out and let you know if it worked.

Martijn


Op dinsdag 18 september 2012 13:37:25 UTC+2 schreef Kostya Vasilyev het 
volgende:

 I think you should be able to override these in your theme:

 android:attr/textAppearanceSmallPopupMenu

 android:attr/textAppearanceLargePopupMenu

 A text appearance, in turn, can specify a typeface.

 -- K

 2012/9/18 Martijn van Mechelen martijnv...@gmail.com javascript:

 Hi all,

 It seems that it's not possible to apply a custom font to the overflow 
 menu. The following page mentions a hack which we don't want to use:

 http://stackoverflow.com/questions/4135699/how-to-set-a-font-for-the-options-menu
  

 Does anyone know if there is an official way to solve this?

 Thanks,

 Martijn

 -- 
 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.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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

Re: [android-developers] Using a logo instead of icon in a SearchView and postioning of a ViewSwitcher

2012-09-19 Thread Martijn van Mechelen
Hi Kostya,

Thanks for your reply. We'll try it out and let you know if it worked.

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 javascript:

 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.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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

[android-developers] Re: Posts not showing up?

2012-09-18 Thread Martijn van Mechelen
Can one of the moderators please reply?

Op donderdag 13 september 2012 11:26:47 UTC+2 schreef Martijn van Mechelen 
het volgende:

 Hi,

 Two days ago I've posted three messages into the Android Developers group. 
 The messages probably have to moderated, but they are still not showing up. 
 Is something going wrong?

 Regards,

 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-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

[android-developers] Custom font in ActionBar overflow menu

2012-09-18 Thread Martijn van Mechelen
Hi all,

It seems that it's not possible to apply a custom font to the overflow 
menu. The following page mentions a hack which we don't want to use:
http://stackoverflow.com/questions/4135699/how-to-set-a-font-for-the-options-menu
 

Does anyone know if there is an official way to solve this?

Thanks,

Martijn

-- 
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

[android-developers] Posts not showing up?

2012-09-13 Thread Martijn van Mechelen
Hi,

Two days ago I've posted three messages into the Android Developers group.
The messages probably have to moderated, but they are still not showing up.
Is something going wrong?

Regards,

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-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