B4A Library FlyTextView

This is a wrapper for this github project.

FlyTextView
Version:
1
  • FlyTxtView
    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)
    • init
    • startAnimation
    Properties:
    • Animation As Animation [write only]
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Tag As Object
    • TextColor As Int [write only]
    • TextSize As Int [write only]
    • Texts As String [write only]
    • Top As Int
    • Visible As Boolean
    • Width As Int

B4X:
Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.
    Private ftv1 As FlyTxtView
    Private Button1 As Button
End Sub

Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    Activity.LoadLayout("Layout1")
    ftv1.init
    ftv1.TextColor = Colors.Green
    ftv1.TextSize = 30

    ftv1.Texts = "Hello B4A Community! I´m prod to present you this new nice view. Have fun with it. Best regards, Manfred a.k.a. DonManfred            "
End Sub
 

Attachments

  • FlyTextViewEx.zip
    7.3 KB · Views: 306
  • libFlyTextViewV1.0.0.zip
    4.9 KB · Views: 311

walterf25

Expert
Licensed User
Longtime User
This is a wrapper for this github project.

FlyTextView
Version:
1
  • FlyTxtView
    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)
    • init
    • startAnimation
    Properties:
    • Animation As Animation [write only]
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Tag As Object
    • TextColor As Int [write only]
    • TextSize As Int [write only]
    • Texts As String [write only]
    • Top As Int
    • Visible As Boolean
    • Width As Int

B4X:
Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.
    Private ftv1 As FlyTxtView
    Private Button1 As Button
End Sub

Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    Activity.LoadLayout("Layout1")
    ftv1.init
    ftv1.TextColor = Colors.Green
    ftv1.TextSize = 30

    ftv1.Texts = "Hello B4A Community! I´m prod to present you this new nice view. Have fun with it. Best regards, Manfred a.k.a. DonManfred            "
End Sub
haha you beat me to it, i saw this today and was going to wrap it, but now i don't have to. Good Job!
Walter
 

somed3v3loper

Well-Known Member
Licensed User
Longtime User
No , you are not prod :p You should be proud of yourself .
Glad to see you releasing libs again :)
 

DonManfred

Expert
Licensed User
Longtime User

PoleStar

Member
Licensed User
Longtime User
Thanks for share this library ;)
The library has a problem...
this library does not support Arabic language :)
There is a way to solve this problem?
My text is: العالم في خطر

problem.PNG
 
Top