Android Question B4XPreferencesDialog position is off screen

Ted Fines

Member
Licensed User
I'm trying to use B4XPreferencesDialog. I have created a new B4A project with a simple form, but it always positions itself so that half of it is off screen. (see screenshot)

I've tried moving the button, different device types, changing the dialog size, changing between portrait and landscape mode, but no matter what the left half is off screen. Here's the project:
https://drive.google.com/drive/folders/1EcK_TBzc0VRr6dDvjGCZjJh3Efx5OPbj?usp=sharing

Thanks in advance!

I'm using:
  • B4XPreferencesDialog v1.71
  • Core version 9.20
  • XUI version 1.90
  • XUI Views version 2.11
  • Android 8.0 (Sony G8232) phone

PZf2Ba.jpg
 

Ted Fines

Member
Licensed User
OK, that fixed it, thanks. I didn't know what to use as a "Parent" object when initializing the pfdialog variable on Android, and what I used was wrong.
 
Upvote 0
Top