Hi friends,
In my application there is a requirement that the text values should be shown in a digital text format can it be possible to do in TextView (How digital clock shows)? Any help please.
//download the font from the this link and create a folder as fonts inside your assets and put your font in that folder
or download direct link
Typeface tf = Typeface.createFromAsset(getAssets(),"fonts/digital_07.otf");
TextView tv = (TextView) findViewById(R.id.digitalclock);
tv.setTypeface(tf);
EDIT :
I attached the project link also
Enjoy :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With