Tag Archives: Android Tutorial

Resolved : Hindi Language Text showing boxes in Android Emulator

First of all you need to supply external font to your application generally it’s kruti ttf or vigyapti-hindi ttf files. put it in asset folder and then try following code. Typeface hindiTypeFace = Typeface.createFromAsset(getAssets(), “kruti.ttf”); TextView myTextView = (TextView)findViewById(R.id.hindiTextView); myTextView.setTypeface(hindiTypeFace); … Continue reading

Set Background Image in Android Application

If you want to add background image to any activity then use following code. and to apply background to whole application use the same background image for every layout or make custom layout and use it in your application.