B4A Library [B4X] [XUI] AS BlinkTextView

A TextView that blinks, just like the good old HTML <blink> tag.


i spend a lot of time in creating views, some views i need by my self, but some views not and to create a high quality view cost a lot of time. If you want to support me, then you can do it here by Paypal or with a coffee. :)

Animation.gif

Examples:
Create view per code:
Dim Blink As AS_BlinkTextView
Blink.Initialize(Me,"Blink")
Blink.AddToParent(Root,0,0,50dip,50dip)
Blink.Text = "Test"
Blink.Font = xui.CreateDefaultBoldFont(20)
Blink.TextColor = xui.Color_White
Blink.AnimationDuration = 250
Blink.StartBlink
ASBlinkTextView
Author: Alexander Stolte
Version: 1.00

  • AS_BlinkTextView
    • Events:
      • Click
    • Fields:
      • mBase As B4XView
      • Tag As Object
    • Functions:
      • AddToParent (Parent As B4XView, Left As Float, Top As Float, Width As Float, Height As Float) As String
      • Class_Globals As String
      • DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
        Base type must be Object
      • getAnimationDuration As Long
      • getFont As B4XFont
      • getLabel As B4XView
      • getRotation As Double
      • getText As String
      • getTextColor As Int
      • Initialize (Callback As Object, EventName As String) As String
      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • RemoveView As String
      • setAnimationDuration (Duration As Long) As String
      • setDuration (Duration As Long) As String
      • setFont (xFont As B4XFont) As String
      • setRotation (Rotation As Double) As String
      • setText (Text As String) As String
      • setTextColor (Color As Int) As String
      • StartBlink As String
      • StopBlink As String
    • Properties:
      • AnimationDuration As Long
      • Duration
      • Font As B4XFont
      • Label As B4XView [read only]
      • Rotation As Double
      • Text As String
      • TextColor As Int
Changelog
  • 1.00
    • Release
Have Fun :)
 

Attachments

  • AS BlinkTextView Example.zip
    10.5 KB · Views: 298
  • AS_BlinkTextView.b4xlib
    1.6 KB · Views: 303
Last edited:
Top