Also override DialogTitle and possibly something else. In the simulator open the ComponentInspector tool and go over the hierarchy of the components until you find the applicable components. Then you can see the UIID of these components and you can change their styling dynamically to see the UI update live.
It looks like you defined regular images or sizes in percentages/pixels instead of millimeters for some of the elements. So you end up with UIs that look good on a high DPI device but look bad on a lower DPI device. You'll need to go over every element and check that backgrounds etc. are multi-images and that sizes are expressed in millimeters wherever possible. On Friday, August 14, 2020 at 8:19:38 AM UTC+3 [email protected] wrote: > Thank you I found same uiid in your sources but it won't work look > screenshots attached (dialog, dialog2. png) > > The second mentioned problem is not connected with dialog. When the > appliaction is installed > on Sonny Xperia the result is also attached (transakcie.png) and > screenshot from samsung where it looks > ok (screenshot_....jpg). I'm not able to explain either fix this behavior. > > On Friday, August 14, 2020 at 6:13:19 AM UTC+2, Shai Almog wrote: >> >> The UIID would be Dialog. >> >> The version of Android shouldn't matter for this and neither should >> resolution if style if used correctly. How did you style the dialog? >> >> On Thursday, August 13, 2020 at 1:45:32 PM UTC+3 [email protected] >> wrote: >> >>> Please what's the mentioned border uiid that have to be overriden? >>> >>> The second thing that I faced with is that on the older version of the >>> android phones (Sony Xperia E4g) created style >>> won't work. Does this have something with compatibility or screeen >>> resolution? >>> >>> If it is screen resolution how can I create styles for different >>> resolutions? >>> >>> >>> On Wednesday, August 12, 2020 at 4:01:51 AM UTC+2, Shai Almog wrote: >>>> >>>> Hi, >>>> the dialog uses a border to style it. You need to override the border >>>> to set it to a different color. >>>> >>>> On Tuesday, August 11, 2020 at 12:34:36 PM UTC+3 [email protected] >>>> wrote: >>>> >>>>> Hi, there, >>>>> >>>>> I use Dialog.show to pops up the message, but I'm not able to change >>>>> the >>>>> dialog backgroud. On android it is still grey on iOS it changed >>>>> correctly. >>>>> I use Dialog, DialogBody classes. >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/11432dca-76a1-4a80-9b0a-b3e4f0e9b4d9n%40googlegroups.com.
