B4A Library LicenseView V1.0.0

This is a wrapper for this github project.




LicenseView
Version:
1
  • LicenseView
    Fields:
    • ba As BA
    Methods:
    • AddToParent (Parent As ViewGroup, left As Int, top As Int, width As Int, height As Int)
    • BringToFront
    • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
    • Initialize (EventName As String)
    • Invalidate
    • Invalidate2 (arg0 As Rect)
    • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
    • IsInitialized As Boolean
    • RemoveView
    • RequestFocus As Boolean
    • SendToBack
    • SetBackgroundImage (arg0 As Bitmap)
    • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
    • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
    • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
    • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Tag As Object
    • Top As Int
    • Visible As Boolean
    • Width As Int
 

Attachments

  • libLicenseViewV1.0.0.zip
    8.2 KB · Views: 363
  • LicenseViewEx.zip
    9.9 KB · Views: 396
Last edited:

DonManfred

Expert
Licensed User
Longtime User
I dont have any good experiences with DIALOGS. Sorry, i cant... but you should be able to place the view in a dialog when there are libraries for dialogs where you can add own views on it... I dont know.

I would suggest using an activity for it
 

LucaMs

Expert
Licensed User
Longtime User
Create a "dialog" is very simple.

A parent panel - full screen, with transparent color, set to invisible.
A child panel with some views.
Intercept the click (or touch) of the parent (just write a routine click empty) [EDIT: touch event, better, with "Return True"]
Change the visibility of the parent when you want to display / hide the dialog (show/hide).
 
Last edited:

jahswant

Well-Known Member
Licensed User
Longtime User
Sure you are trying to help.But i don't understand a snippet will be easily understood.
 

bluedude

Well-Known Member
Licensed User
Longtime User
WOuld be much better to create a Markdown library, that is a standard on the web to show rich info without the heavy load of HTML.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…