DD
{
base.OnElementChanged(e);
if (e.NewElement == null || e.OldElement != null)
return;
TabLayout tablayout = (TabLayout)ViewGroup.GetChildAt(1);
Android.Views.ViewGroup vgroup = (Android.Views.ViewGroup)tablayout.GetChildAt(0);
for (int i = 0; i < 5; i++)
{
Android.Views.ViewGroup vvgroup = (Android.Views.ViewGroup)vgroup.GetChildAt(i);
//Typeface fontFace = Typeface.CreateFromAsset(this.Context.Assets, "Roboto-Regular.ttf");
for (int j = 0; j < 2; j++)
{
Android.Views.View vView = (Android.Views.View)vvgroup.GetChildAt(j);
if (vView.GetType() == typeof(Android.Support.V7.Widget.AppCompatTextView) )
{
//here change textview style
TextView txtView = (TextView)vView;
txtView.TextSize = 10f;
//txtView.SetTypeface(fontFace, TypefaceStyle.Normal);
}
}
}
}