Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Custom Font Not working in android

$
0
0

Hi All I am implementing a Quiz project for android in Titanium my SDK version is 3.13 and the targeted android version is 4.2.0. I am facing the problem of loading the custom fonts for my application below is a snapshot of the code

var customFont = 'LilyScriptOne-Regular';

var StartQuiz = Titanium.UI.createLabel({ color : '#0f0', text : 'Start Quiz', font : { fontSize : 70, fontFamily : customFont }, top : 100, left : 60, width : 'auto', touchEnabled : true });


Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>