Android Question [SOLVED] B4XPreferencesDialog with different Android versions

Discussion in 'Android Questions' started by Rubsanpe, Apr 26, 2019.

  1. Rubsanpe

    Rubsanpe 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
     

    Attached Files:

    • 4.4.png
      4.4.png
      File size:
      76.9 KB
      Views:
      41
    • 7_1.png
      7_1.png
      File size:
      37.1 KB
      Views:
      38
  2. Rubsanpe

    Rubsanpe 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
     
  3. Rubsanpe

    Rubsanpe Member Licensed User

    Ok solved. I add the following code to sample and it works now.

    Code:
    prefdialog.Dialog.PutAtTop=True
    Rubén
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice