Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Icon fonts on Titanium Alloy application Tabs

$
0
0

Hi all, I'm trying to add some iconic font to my first alloy application, on titanium 3.2.3, on Android platform. In particular, I'm able to place iconic fonts everywhere on the application but in Tabs. The index.xml part:

<Tab id="tab1" onClick="getNewsList"> 
   <Window id="readWin"> 
        <TableView id="tableView"/>
   </Window>                
</Tab>
index.tss:
"#tab1":{
       title:'&#xf042;',  
       color:'black',
       font: {
            fontSize: 24,
            fontFamily: 'FontAwesome',
        },
},
As result: I'm able to see only this code &#xf042; on the tab and not the corrisponding icon.

I've put the font file into app/assets/android/fonts , and If i put the same code in a label it correctly works. Are there any chances to set an icon font on a tab? I hope my question was correct and Thanks a lot!


Viewing all articles
Browse latest Browse all 8068

Trending Articles