Try the following ugly technique to customize your options menu: getLayoutInflater().setFactory(new Factory() { public View onCreateView (String name, final Context context, AttributeSet attrs) { if(name.equalsIgnoreCase("com.android.internal.view.menu.IconMenuItemView")) { final View view = getLayoutInflater().createView(name, null, attrs); // Apply custom style after standard one gets applied new Handler().post(new Runnable() { public void run() { TextView text = (TextView) view; text.setTextAppearance(context, R.style.your_text_style); } }); return view; } return null; } });
On 20 мар, 17:25, Kamil <kmichal...@gmail.com> wrote: > Hi, > Is there any way to change menu typeface to bold? -- 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