Custom Message Dialog (Title)

Hello, I looked for this answer but this has not been asked. I am wondering why on earth the title does not appear?

image


P.S: I’ve got an additional question. How should be the “Package Name” format? Because i’ve written something and couldn’t open the APK because of an error.

Try unchecking Use Background Color property.

It should be in com.example.app format.
And from next time please search in the community.

Just tried, it doesn’t work :frowning:

It worked for me when I use default properties:
image

1 Like

Try to set text and title colour to white as well

It looks like the project is a dump one, could you send the AIA so I may look into it?

Yes sure

TestNotifier.aia (1.6 KB)

btw I found out that if there’s no icon, the title will disappear. Strange​:thinking:

1 Like

What should go in “icon” ? I tried with a name from material.io/icons but it did not work out.

Another issue is if the Title text color is set to default or white the title isn’t visible. And this does not depends on icon’s presence.

@Jfdsb Try set the title color to light grey temporarily. :point_down:

notifier

4 Likes

Wow thank you very much!!! You are awesome.

By the way, i don’t know if I should place this question here but is there any way to do any action after “OK” is pressed? Because I tried with several components and none of them work. However I can use Custom Message dialog now and I know that there is a component for that one. Just curiosity on this one. THANKS!
image

Custom Message is just for showing a custom message. If you want that some action should be performed after user’s choise then you can try Custom Choose Dialog :point_down:

https://docs.kodular.io/components/user-interface/notifier/#custom-choose-dialog

After the user makes choice above, Got Custom Choose Dialog event will be raised where you can decide what action to be performed based on user’s choice

https://docs.kodular.io/components/user-interface/notifier/#got-custom-choose-dialog

2 Likes

Nice you have completely ignored my post :slight_smile:

No, if you see first screen that was already done :frowning: text and title color were already white. Sorry not to answer

This :point_up: also doesn’t helps :point_down:

In Companion or Apk? :thinking:
Because these properties (default) work for me in Comapnion.

image

Nope, this doesn’t seems to work in companion. I have not tried with apk. Also I created the project from scratch this time but same result

Maybe android version issue.
I am using 5.0 (Memu)
Which one are you using?

Android 9.0

There are a lot of issues with Android Pie.
Maybe it is one of them.
Let me test once again…