Is it possible to style Acr.UserDialogs ?

Using Acr.UserDialogs in a project and I've been asked to make some UI tweaks to parts of the dialogs in the app. For example, reduce the width of the Prompt text entry and make text centred. Or CHange the colour of an Alert box to indicate a warning.

So was wondering if anyone had an idea, and some sample code, on how these type of UI stylings could be down with the dialogs.



  • DarrenKayDarrenKay GBUniversity ✭✭

    I've managed to fix the padding of the prompt EditText using some code submitted to the GitHub project (

    Trying to centre the text in the EditText, neither of these worked;

    txt.Gravity = GravityFlags.CenterHorizontal;
    txt.TextAlignment = TextAlignment.Center;
  • DwightHydeDwightHyde USMember ✭✭

    Hi Darren. Were you able to accomplish this? I'm trying to underline some text. Thanks.

  • DarrenKayDarrenKay GBUniversity ✭✭

    Not really. Managed to introduce margins around entry boxes so they indented level with labels. Uses the styles.xml to change the colours. That was it.

Sign In or Register to comment.