Android Question Preferences in separated activity

Gawro777

Member
Licensed User
Longtime User
Hello,

I am trying to have preferences in separate activity. I generally use the way described in that thread:
https://www.b4x.com/android/forum/threads/user-preferences-in-a-separate-activity.22245/

It works, but when I am closing AHPreferences screen (by back button) I am going back to Settings Activity (which has no layout, because it uses StartActivity(screen.CreateIntent)). So I have black screen and have to click back again to go back to my main activity.
How can I avoid that?
 
Top