Is there anyone know the best way to apply custom font through out the Application environment?
I think the best way is to extend TextView and EditText so that they have their typeface set to whatever you want.
There are some examples how to do this in Java, which you should be able to convert to C#, here:
I will look at it a bit later and cook up a sample for you.
Here is a working sample: https://github.com/Cheesebaron/Cheesebaron.FontSample
Another way than overwriting TextView and EditText would be a method that iterates over all Sub Views and sets their Typefaces.
Are there memory concerns when doing this in C#? The stackoverflow article was updated recently with discussion concerning this.
When i want to run this examle i get the error: 'MyEditText.Tag' hides inherited member 'View.Tag'. Use the new keyword if hiding was intended.
@Cheesebaron Sir I am really new in xamarin. If I change Activity label and add string like \uf12d it is not recognized,but if i add it to textview it is recognized.What do i have to change to add it to label of activity(action bar).Thank you for giving time.Really appreciated.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies