luke2012 Well-Known Member Licensed User Longtime User Sep 23, 2017 #1 Hi All, @Erel Custom dialogs (see link belove) are very flexible and customizable dialogs but I have a problem setting a main color (final user don't accept colors different from the company design guidelines). https://www.b4x.com/android/forum/t...-2017-custom-dialogs-and-async-methods.80204/ The problem is that I can set colors within the layout elements (edit text, panel etc) but I'm not able to set the main dialog color (the problem evidence is within the attached image). Code: Copy Dim sf As Object = DetailsDialog.ShowAsync("INS. MANUALE CODICE", "CONFERMA", "ANNULLA", "", LoadBitmap(File.DirAssets, "form.png"), True) Any idea to solve this problem ? [ATTACH=full]59942[/ATTACH] Attachments custom_dialog.png 20.1 KB · Views: 304
Hi All, @Erel Custom dialogs (see link belove) are very flexible and customizable dialogs but I have a problem setting a main color (final user don't accept colors different from the company design guidelines). https://www.b4x.com/android/forum/t...-2017-custom-dialogs-and-async-methods.80204/ The problem is that I can set colors within the layout elements (edit text, panel etc) but I'm not able to set the main dialog color (the problem evidence is within the attached image). Code: Copy Dim sf As Object = DetailsDialog.ShowAsync("INS. MANUALE CODICE", "CONFERMA", "ANNULLA", "", LoadBitmap(File.DirAssets, "form.png"), True) Any idea to solve this problem ? [ATTACH=full]59942[/ATTACH]
luke2012 Well-Known Member Licensed User Longtime User Sep 23, 2017 #2 Attached image.... The "header" and the "footer" of the dialog have a different color that final user don't want. Attachments custom_dialog.png 20.1 KB · Views: 375 Upvote 0
Attached image.... The "header" and the "footer" of the dialog have a different color that final user don't want.
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2017 #3 The colors are based on the selected theme. Try it with a light theme: https://www.b4x.com/android/forum/threads/b4a-v5-80-beta-is-released.63300/#content Upvote 0
The colors are based on the selected theme. Try it with a light theme: https://www.b4x.com/android/forum/threads/b4a-v5-80-beta-is-released.63300/#content
DonManfred Expert Licensed User Longtime User Feb 8, 2018 #4 AldoRodrigo said: I have this problem.also Click to expand... if you have a problem: 1. ALWAYS create a NEW THREAD! 2. NEVER POST TO EXISTING THREADS! It is the wrong way 3. Post all relevant infos for YOUR problem. Upvote 0
AldoRodrigo said: I have this problem.also Click to expand... if you have a problem: 1. ALWAYS create a NEW THREAD! 2. NEVER POST TO EXISTING THREADS! It is the wrong way 3. Post all relevant infos for YOUR problem.
A AldoRodrigo Member Licensed User Feb 8, 2018 #5 [QUOTE = "DonManfred, publicación: 564833, miembro: 42649"] si tiene un problema: 1. ¡SIEMPRE crea una NUEVA HILO! 2. ¡NUNCA PUBLIQUE A HILOS EXISTENTES! Es el camino equivocado 3. Publique todas las informaciones relevantes para SU problema. [/ QUOTE] ok, ok. Sorry..! Upvote 0
[QUOTE = "DonManfred, publicación: 564833, miembro: 42649"] si tiene un problema: 1. ¡SIEMPRE crea una NUEVA HILO! 2. ¡NUNCA PUBLIQUE A HILOS EXISTENTES! Es el camino equivocado 3. Publique todas las informaciones relevantes para SU problema. [/ QUOTE] ok, ok. Sorry..!