Image in Tabbar tab

Is there any way to have image along the text of tabs in a tabbar (similar to the image in tree node) through the xml mode?

I tried using html code in the place of tabbar text:
Tab 1-1a
OR even
<![CDATA[ Vib Tab 1-1a]]>
[Attaching the screenshot of the two scenarios (its same in both cases)]

but, none of the two worked :frowning:

Could you please help me with this?

Vibhav Agrawal

Note: tabbar.setText(); is working fine but i want to do it using XML data mode.


the approach with tag is correct. Please check that image path is correct.