I\'ve been trying to make the ActionBar logo, or the Up button, a text instead of an image. actionbar.setLogo(); accepts only a drawable resource. Inflating a l
actionbar.setLogo();
Off the cuff:
Option #1: Draw your text (TextView or directly) on a Bitmap-backed Canvas, and then supply a BitmapDrawable to setLogo().
TextView
Bitmap
Canvas
BitmapDrawable
setLogo()
Option #2: Hide the icon and logo and use setCustomView() to have your caret image and your text.
setCustomView()