Forum Xamarin.Android

TextInputLayout problem.

mohammadomidvarmohammadomidvar USMember ✭✭
edited August 2015 in Xamarin.Android

When I add an action to myedittext.FocusChanged the doesn't work completely and always stay at top of the edittext with accent color.
Is there any way to solve the problem?!


  • mohammadomidvarmohammadomidvar USMember ✭✭

    I'v found the answer.
    Accidently, I tapped a radio button in my layout and I saw that TextInputLayout updated and the floating label changed and I found out that if layout refreshes the TextInputLayout updates.
    So I just add this to my FocusChanged method:
    ((TextView)sender).Text = ((TextView)sender).Text;

Sign In or Register to comment.