I would like to add an icon to the tile of my activity. I used the FEATURE_RIGHT_ICON with the requestFeature method.
Here is my code:
Using java Syntax Highlighting
- </span>
- 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);
- }
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
I am not able to see any icon.
By the way, I used a 32x32 png as icon... I don't know if it could be important.
Have you got any suggestion?
Thanks a lot,
Regards.
s.semeria






