Android.Views.Textalignment is not working dynamically
I have tried the below code:
In load time:
CheckBox checkBox = new CheckBox(this);
checkBox.TextAlignment = Android.Views.TextAlignment.ViewStart;
Dynamically change the alignment in a button click. But alignment not updated.
checkBox.TextAlignment = Android.Views.TextAlignment.Center;