Rating Dialog - Icon, Title & Message HTML, Colors...

Rating Dialog

You can customize the background, radius, title, message, icon, colors and the texts accept html.

20241017_030824


ShowRatingDialog

  • numStars: Number of stars in the RatingBar.
  • defaultRating: Default rating value.
  • title: Text of the dialog title.
  • titleColor: Color of the title (hex or int).
  • titleSize: Size of the title text.
  • useHtml: If true, allows the use of HTML in the title.
  • selectedStarColor: Color of the selected stars (hex or int).
  • unselectedStarColor: Color of the unselected stars (hex or int).
  • iconName: Name of the icon to display below the title (of the Assets).
  • message: Message to display below the icon.
  • messageColor: Color of the message (hex or int).
  • useHtmlMessage: If true, allows the use of HTML in the message.
  • dialogBackgroundColor: Background color of the dialog (hex or int).
  • dialogCornerRadius: Corner radius of the dialog.
  • layoutBackgroundColor: Background color of the LinearLayout (hex or int).
  • layoutCornerRadius: Corner radius of the LinearLayout.
  • buttonColor: Color of the PositiveButton and NegativeButton buttons (hex or int).

AfterRatingSelected

  • rating: The rating value that the user has selected.

AIA project:
RatingDialogTest.aia (60.1 KB)

Extension:
joejsanz.joedevratingdialog.aix (11.2 KB)


Thanks.

7 Likes

It's really awesome and useful :ok_hand::clap:

1 Like

Good job @Joejsanz

1 Like

Thank you Jewel.

1 Like

Thank you @devxlabs

It could be improved further.

Ideas are welcome, tell me more.

image

something like this
or

image

2 Likes

I'll see what can be done.

1 Like

Ok let see i am also coding for that if i can just testing myself :smile:

1 Like

Very useful extension!
Nico

2 Likes

Thank you nico.

1 Like