Android Question Icons on TabStripViewPager

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi,

I am trying to add icons to Tabstripviewpager but dont see any option.Also the material icon is not coming by adding iconpicker generated code.
I have set all Tabstrip labels to FontAwesome in the loop.
B4X:
For Each lbl As Label In GetAllTabLabels(TS)
            lbl.Typeface = Typeface.FONTAWESOME
        Next
TS.LoadLayout("LO_SearchItem", "Search "&Chr(0xF002))
Pls give some clue.

Juzer
 

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi mcqueccu,

I have on Tabstrip, with 3 tabs.Added one label named it lblFontAwesome and made it visible=false in designer and set its typeface to FontAwesome.
Added following code in Activity Create
B4X:
For Each lbl As Label In GetAllTabLabels(TS)
            lbl.Typeface = Typeface.FONTAWESOME
        Next
TS.LoadLayout("LO_SearchItem", "Search "&Chr(0xF002))

I saw that thread, Still some strange character (as postscript) is coming instead of correct search icon.

Am I missing something.

Juzer
 
Upvote 0
Top