B4A Library smPopupWindow (wrapper for PopupWindow class)

Almost full wrapper of PopupWindow class - see https://developer.android.com/reference/android/widget/PopupWindow
Ignored "listeners" only, because it's possible to receive events in activity.
PopupWidow may be useful, for example, like custom menu (attached sample demonstrates exactly it)

History:
1.01 Changed parametres in Initialize subroutine.
Added event _onDismiss.
 

Attachments

  • smPopupWindow 1.01.zip
    22.6 KB · Views: 515
Last edited:

JohnC

Expert
Licensed User
Longtime User
Some screen shots of what this can do would be cool :)
 

Semen Matusovskiy

Well-Known Member
Licensed User
I made a sample. A form of menu can be absolutelly any (because you can place on panel any UI elements, not only labels and switch)
 

JohnC

Expert
Licensed User
Longtime User
You may have an example in the ZIP file, but it would take time to download and install and then run the sample before people can see it and truly understand what it can do.

People are lazy by nature, so being able to quickly see some eye candy of screen shots can not only convey what your lib can do faster, but greatly increases the chances of people making the effort to download and install your lib.

Just a suggestion.
 
Top