Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Menu Icon with Title : Title doesn't display

Tags:

android

Here is my XML

<?xml version="1.0" encoding="UTF-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
 <item android:id="@+id/refresh" android:title="Home"
  android:icon="@drawable/menu_home" />
 <item android:id="@+id/search" android:title="Search"
  android:icon="@drawable/menu_search" />
 <item android:id="@+id/help" android:title="Help" android:icon="@drawable/menu_help" />
</menu>

Icon is getting displayed but title doesn't. Please advise.

like image 424
WebThinker Avatar asked Dec 09 '10 03:12

WebThinker


1 Answers

I'll post this as an answer then...

The size of menu pixes can be too large (such as 72x72). Make sure you use the proper size icons for your current display.

like image 95
Andrew White Avatar answered Sep 22 '22 23:09

Andrew White