1

Adding Icons to a Tab List using Sherlock Action Bar

view story
linux-howto

http://stackoverflow.com – i've been trying to figure out how to add icons beside the text array on the sherlock action bar tabs when using the NAVIGATION_MODE_LIST mode. I am trying to figure this part out: Context context = getSupportActionBar().getThemedContext(); ArrayAdapter<CharSequence> listAdapter = ArrayAdapter.createFromResource(context, R.array.locations, R.layout.sherlock_spinner_item); listAdapter.setDropDownViewResource(R.layout.sherlock_spinner_dropdown_item); I can see we're using an array of text, and then the layout "sherlock_spinner_item" if i use my own layout: ROW.XML < (HowTos)