B4A Library LicenseView V1.0.0

Discussion in 'Additional libraries, classes and official updates' started by DonManfred, Jun 17, 2015.

  1. DonManfred

    DonManfred Expert Licensed User

    This is a wrapper for this github project.

    [​IMG]

    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
     

    Attached Files:

    Last edited: Jun 17, 2015
    KZero, Mashiane, hibrid0 and 6 others like this.
  2. LucaMs

    LucaMs Expert Licensed User

    ... which is useful for...?


    [P.S. my question is only to "force" you to write this info ;)]
     
    KZero and DonManfred like this.
  3. DonManfred

    DonManfred Expert Licensed User

    See Post #1 :D
     
    Erel and LucaMs like this.
  4. jahswani

    jahswani Active Member Licensed User

    @DomManfred can you try showing it in dialog as there ?
     
  5. DonManfred

    DonManfred Expert Licensed 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
     
    Peter Simpson and jahswani like this.
  6. LucaMs

    LucaMs Expert Licensed 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: Jun 18, 2015
  7. jahswani

    jahswani Active Member Licensed User

    Sure you are trying to help.But i don't understand a snippet will be easily understood.
     
  8. LucaMs

    LucaMs Expert Licensed User

    This is not the right thread; I'm talking about how to create a simple dialog, to which you can add any view.
     

    Attached Files:

    KZero, jahswani and DonManfred like this.
  9. bluedude

    bluedude Well-Known Member Licensed 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.
     
  10. jahswani

    jahswani Active Member Licensed User

    I think this lib is the best to use when showing third party licenses agreements ...
     
    DonManfred likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice