Hi,
For an app i'm working on I've created this settings menu class. Currently it is used to set a global value called language in the main activity. Of course you would be able to set more views on the panel.
If the calling activity contains a scrollview or other views the click event will be captured by an invisible panel.
I'm open for feedback!
Edit: uploaded project and removed code in post.
Call the class as following
For an app i'm working on I've created this settings menu class. Currently it is used to set a global value called language in the main activity. Of course you would be able to set more views on the panel.
If the calling activity contains a scrollview or other views the click event will be captured by an invisible panel.
I'm open for feedback!
Edit: uploaded project and removed code in post.
B4X:
Sub Process_Globals
Dim language As String
End Sub
Call the class as following
B4X:
Dim settings As settings_menu
settings.Initialize(Activity, 5%x, 5%y, 90%x, 90%y)
Attachments
Last edited: