Add title attribute for menu item.
fliang [Wed, 27 Feb 2013 10:04:42 +0000 (05:04 -0500)]
This fix is needed to display text instead of a blank rectangle when
user selects the share or delete icons.

Bug: 8418296
Change-Id: Ie21af8600cb19bc652d3677c53bdc05278998612

ui/res/menu/download_menu.xml

index fc57892..a33dd52 100644 (file)
 <menu xmlns:android="http://schemas.android.com/apk/res/android">
     <item android:id="@+id/share_download"
           android:icon="@android:drawable/ic_menu_share"
+          android:title="@string/download_share_dialog"
           android:showAsAction="always" />
 
     <item android:id="@+id/delete_download"
           android:icon="@android:drawable/ic_menu_delete"
+          android:title="@string/delete_download"
           android:showAsAction="always" />
 </menu>