Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Align center text Entry

$
0
0

Hi guys!
I try to align text in android with a EntryRenderer but this doesn't work:

protected override void OnElementChanged (ElementChangedEventArgs<Entry> e)
    {
        base.OnElementChanged (e);
        Control.TextAlignment = Android.Views.TextAlignment.Center;
    }

In iOS the renderer, it does work...
Any ideas?
Thx


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>