Android Question [SOLVED] B4XPreferencesDialog with different Android versions

Rubsanpe

Active Member
Licensed User
Hi, I'm trying the example of B4XPreferencesDialog and I've seen that according to the Android version dinde is going to put the title of the dialog or not. From what I've seen, in recent versions of Android with the 7 if it shows the title. I've tested on a device with a 4.4 version and it doesn't show the title, it starts showing from the categories. Is this correct or is there some way to show the title in all cases?

Thanks

Rubén
 

Attachments

  • 4.4.png
    4.4.png
    76.9 KB · Views: 306
  • 7_1.png
    7_1.png
    37.1 KB · Views: 290

Rubsanpe

Active Member
Licensed User
Hi, well the problem may not be in the Android version. I tested the example on a Genymotion device with a 5.1 version of Android and the problem is the same. The title of the dialog is not shown.

Ruben
 
Upvote 0

Rubsanpe

Active Member
Licensed User
Ok solved. I add the following code to sample and it works now.

B4X:
prefdialog.Dialog.PutAtTop=True

Rubén
 
Upvote 0
Top