Highlight border on entry focus in xamarin.forms

Hi all,

I have a entry field in my xaml page (icon before an entry field) .

I would like to highlight my entry field on focus along with icon like attached image.

I don't know how to achieve this. Please anyone suggest me an idea.

Thanks in Advance!!

Answers

  • VenkataSwamyVenkataSwamy INMember ✭✭✭
    edited July 2017

    Hi @Maya17,

    I don't know exactly

    Step1:

    Remove border from Entry

    Step2:

    Take Label, Entry, BoxView with Heightrequest=5 with StackLayout, in the same Row then you can achieve above functionality

    Step3;

    In Entry TextCahnged event you have to manage visibility of Label and In Focused and UnFocused events also

    And you can change BoxView Color also while Entry focused

Sign In or Register to comment.