Home > Mobile >  How to center title text of TabBar Tab?
How to center title text of TabBar Tab?

Time:09-30

This is a follow-up question, I am using the custom renderer in enter image description here

CodePudding user response:

You can set the alignment of the TextView :

using TextAlignment = Android.Views.TextAlignment;
smallTextView.TextAlignment = TextAlignment.Center;
  • Related