hi, the title pretty much describes what i want here.
simply a way to change the font of the tabs on the tabbar to another font.
Thank you very much for the fast respond.
so you mean i should put this in styles.xml that contains a style and bind it from the Tabbar.axml right ?
and yea i do see what do you mean its style and items
for anyone how did not understand the code below
this is how it should look like...
sorry to bother again but
item name="fontFamily" AndroidAsset/MyRegularFont.ttf item
item name="android:fontFamily" AndroidAsset/MyRegularFont.ttf item
and i don't know about the reference i used
it's probably wrong so how do i reference to it ?
if you have any link so i read more about it and you don't waste your time any further...
download fonts .ttf file which are used........ https://www.fontsquirrel.com/fonts/list/popular
extract zip file and paste this file in asset folder.............
Button button = FindViewById(Resource.Id.myButton);
var font = Typeface.CreateFromAsset(Assets, "FontName.ttf");
button.Typeface = font;
here how do i implement my font i already have it in my Assets folder
Sorry for troubling you and not being Clear enough
@suraj007 thanks a lot,
in the last link you sent the important part says it's working in java
"We’re setting our custom fonts in the java code. The MainActivity.java is given below"
and it is a bit hard for me to use java since i have ~0 experience in java
i asked the rest of my question in another thread
thnx again ^_^
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies