Answers for "add custom font in android studio"

0

change font programmatically android

Typeface typeface = ResourcesCompat.getFont(context, R.font.antonine); //your font heva to be save in the res/fonts folder
setTypeface(typeface);
Posted by: Guest on April-22-2021
1

chenge font android studio

change font Family in java App (android studio).
  
<?xml version="1.0" encoding="utf-8"?>
<resources>
   <style name="AppTheme" perent="Theme.AppCompat.Light.DarkActionBar">
       <item name="android:fontFamily">@font/font_name</item> // fontFamily
   </style>
</resources>
Posted by: Guest on July-13-2021

Code answers related to "add custom font in android studio"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language