RelativeLayout stuck on top

hello guys, i am new in xamarin
i dont know why my buttons, textview, and etc stuck on top even i am use relative layout
for image https: //ibb.co/k26YZbq
anyone can help me, please

Best Answers

  • damhafafanodamhafafano ✭✭
    Accepted Answer
    > @ColeX said:
    > @damhafafano
    >
    > It should be @+id/xxx not @id/xxx , like this
    >
    >
    >
    > It works fine on my side .

    Thank you for your helps :smile: Now i have found my way to solve my issue the UI does not work until i restart the IDE or i close and re-open the xaml layout files. Maybe this issue should be forwarded to Microsoft teams
    Once again i say thank you @ColeX

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    The image :

  • damhafafanodamhafafano Member ✭✭
    > @ColeX said:
    > The image :

    No, if you look into xml there are texview and input text hidden by button.
    The "ok" button align is matchParentRight
  • damhafafanodamhafafano Member ✭✭
    > @ColeX said:
    > This is a known issue .
    >
    > Use "@+id/xxx" instead of "@id/xxx";
    >
    > Check https:/ /stackoverflow.com/questions/51842519/order-of-elements-in-axml-in-xamarin-android-leads-to-compilation-error#comment90652095_51842519

    Thank you for helping me
    I've change to @id/xxx but nothing happen
  • damhafafanodamhafafano Member ✭✭
    Accepted Answer
    > @ColeX said:
    > @damhafafano
    >
    > It should be @+id/xxx not @id/xxx , like this
    >
    >
    >
    > It works fine on my side .

    Thank you for your helps :smile: Now i have found my way to solve my issue the UI does not work until i restart the IDE or i close and re-open the xaml layout files. Maybe this issue should be forwarded to Microsoft teams
    Once again i say thank you @ColeX
Sign In or Register to comment.