laravel59
(Михаил)
1
I’m trying to create a custom dialog, but it does not work normal.
This is interface of my app
This is blocks
When I one time click “Create custom dialog” button
After that, I click “Show custom dialog” and get an error
If I press the “Create custom dialog” button again, and then I click “Show custom dialog”, I see this dialog:
I dont see button and rating bar in dialog
1 Like
Mika
2
Add the create custom dialog on the screen initialize event
laravel59
(Михаил)
3
I tried it. Does not work too
After click “Show custom dialog” i see error message “requestFeature() must be called before adding content”
Mika
4
Make sure the layout you wanted as dialog is visible on screen
laravel59
(Михаил)
5
Yes. This arrangement is visible
laravel59
(Михаил)
6
How can I fix this error?
laravel59
(Михаил)
8
Yes. Same error
Runtime error
requestFeature() must be called before adding content
after second click on “create custom dialog” and press “Show custom dialog” i see dialog window without button and rating bar
laravel59
(Михаил)
10
I try it.. same error permanently
laravel59
(Михаил)
11
my aia filebtn_alarm.aia (91,4 КБ)
laravel59
(Михаил)
12
Boban
(Boban Stojmenovic)
13
Works as it should.
It’s time to post information about your phone Model, Android version, etc.
/Boban
Boban
(Boban Stojmenovic)
15
Seems to be device-dependent issue.
@Mika something to take a look at.
/Boban
Mika
16
I will send you today a test apk.
Then you can tell me if the problem still exist for you or not.
Mika
18
Sorry.
I can do it first tomorrow morning.
I have complete forgot to create the test apk today for you.
laravel59
(Михаил)
19
Don’t worry. I will wait tomorrow. Thanks for help
Mika
20
Please test this apk and let me know if it works for you.
customDialog.apk (4,3 MB)