Is it possible to create a image from a textview and imageview and set the appicon to the image?
Something like this:
TextView tv = new TextView(getBaseContext());
tv.setText("Hello");
tv.buildDrawingCache();
ImageView img = new ImageView(getBaseContext());
img.setImageBitmap(tv.getDrawingCache());
img.buildDrawingCache();
Bitmap bmap = img.getDrawingCache();
Drawable d = new BitmapDrawable(getResources(), bmap);
getActionBar().setIcon(d);