B4A Library MarkView V1.0.0 - Can also used as a Progress

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

  1. DonManfred

    DonManfred Expert Licensed User

    This is a Wrapper for this Github project.

    MarkView
    Version:
    1.0.0
    • MarkView
      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)
      • isMarkValid (mark As Int) As Boolean
        Checks whether a given mark is valid according to the current configuration
      Properties:
      • Background As Drawable
      • Color As Int [write only]
      • Enabled As Boolean
      • Height As Int
      • Left As Int
      • Mark As Int
        Returns the current mark
      • Max As Int
        Returns the highest mark this MarkView accepts
      • RingColor As Int
        Returns the color of the background ring
      • RingWidth As Float
        Returns the width of the background ring
      • StrokeColor As Int [read only]
        Returns the stroke color depending on the current mark.
        <p/>
        May return:
        - DEFAULT_STROKE_COLOR if the mark is invalid or there are no colors in mStrokeColors.
        - The color at the position of the mark in mStrokeColors if it contains the mark.
        - The last color in mStrokeColors if it doesn't contain the mark.
      • StrokeColors()() As Int
        Returns the current stroke colors array
      • StrokeWidth As Float
        Returns stroke width
      • Tag As Object
      • TextColor As Int
        Returns the current text color
      • TextSize As Float
        Returns the current text size
      • Top As Int
      • Visible As Boolean
      • Width As Int


    [​IMG]

    This library is Donationware. You can download the library, you can test the library. But if you want to USE the library in your App you need to Donate for it.
    Please click here to donate (You can donate any amount you want to donate for the library (or my work) :)
    [​IMG]
     

    Attached Files:

  2. MarcoRome

    MarcoRome Expert Licensed User

    Hi DonMandred
    is possible countdown ?
    Thank you
    Marco
     
  3. DonManfred

    DonManfred Expert Licensed User

    you could have done it easily by yourself. It´s no magic
     

    Attached Files:

    MarcoRome and Peter Simpson like this.
  4. MarcoRome

    MarcoRome Expert Licensed User

    Sorry DonMandred ....
    I posted the wrong ( and stupid ) question ... I mean
    "finally is possible countdown ! "
    Anyway... no problem
     
  5. Douglas Farias

    Douglas Farias Expert Licensed User

    The example MarkViewEx.zip is with error when i run
    here is the log
    MOTO G
     
  6. DonManfred

    DonManfred Expert Licensed User

    Did you forgot to add the resources? See examplecode and the folder Resources in the example.

    Code:
    #Region  Project Attributes
        
    #ApplicationLabel: B4A Example
        
    #VersionCode: 1
        
    #VersionName:
        
    'SupportedOrientations possible values: unspecified, landscape or portrait.
        #SupportedOrientations: unspecified
        
    #CanInstallToExternalStorage: False
        
    #AdditionalRes: ..\Resources
    #End Region
    Note the #AdditionalRes command
     
  7. Douglas Farias

    Douglas Farias Expert Licensed User

    yes, i removed because when i compile show me error #AdditionalRes: ..\Resources not found
    but now i have put #AdditionalRes: ..\Resources again and works no error on compile. works fine. o_O:eek:

    another question, how much i need donate to use for example 5 your libs?
     
  8. DonManfred

    DonManfred Expert Licensed User

    The Decision is up to you! Note: the more you donate the more i will like it :D

    Let me say that the most people donated 10 for a library. Some have give more (up to 30) and some asks for a possible price FOR ALL my librarys. I usually answered 50 Euro for ALL (including future releases)

    Again: The Decision is up to you!
     
    Douglas Farias likes this.
  9. Douglas Farias

    Douglas Farias Expert Licensed User

    Sended $10 for this lib too.
    thx for u work, i will use this lib on my projects
    thx again
     
    DonManfred likes this.
  10. DonManfred

    DonManfred Expert Licensed User

    Thank you again :D
     
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