android-fonts

Is it possible to set font for entire Application?

Hi, I need to use certain font for my entire application. I have .ttf file for the same. Is it possible to set this as default font, at application start up and then use it elsewhere in the application? When set, how do i use it in my layout XMLs? Sample code, tutorial that can help me here is appreciated. Thanks. ...

Change Toast Font

Currently, I'm trying to develop an app. and I don't know how to change the Toast font. . final OnClickListener clickListener = new OnClickListener() { public void onClick(View v) { try { Toast.makeText(nova.this,"Hello", 500000).show(); } catch (Exception e) { To...

android make application sensitive to font size

When I use sp as my font size unit in the XML file, I go to spare parts and change font size, my app's font size is not changing. Does anyone know a way to resolve that? ...

Is it possible to change the scale of the sp unit

In my XML I can set textSize="18sp". Is it possible to change the scale of the sp unit which would affect all sp sizes but not affect dp sizes? ...