Android Actionbar Tabs not displaying text when setting an icon -
i trying set icon , text tab actionbar.
actionbar.tab artisttab = actionbar.newtab().seticon(r.drawable.untitled).settext("artists"); i set both, text , icon when start app it'll display icon. if leave seticon() function it'll display text.
what did wrong?
do changes in main.xml file.
android:showasaction="ifroom|withtext" android android-actionbar
No comments:
Post a Comment