Hello,
I would like to add an icon into activity titlebar.
My code is as follows:
public void onCreate(Bundle icicle){
super.onCreate(icicle);
requestFeature(Window.FEATURE_RIGHT_ICON);
setFeatureDrawableResource(Window.FEATURE_RIGHT_ICON,R.drawable.myicon);
setContentView(R.layout.main);
}
But I am not able to see any icon.
By the way, my icon is a 32x32 png.
Does anybody have any suggestion?
Thanks for your help.
Regards,
Stefano
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---