B4A Library ShowHidePasswordEditText

This is a wrap for this github project. The library needs B4A 6+ as the Resources are packaged inside an aar.

To install the lib copy all files from the zip to your additional libs folder. The standard resources are used as default for the filenames of the drawables. if you want to change them then you need to add additionalresources to your project and reference the correct filenames (without extension).

ShowHidePasswordEditText
Author:
DonManfred (wrapper)
Version: 1
  • ShowHidePasswordEditText
    Fields:
    • ba As BA
    Methods:
    • 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)
    • isShowingPassword As Boolean

      Return type: @return:true if the password is visable | false if hidden
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Text As Editable
    • Top As Int
    • Visible As Boolean
    • VisiblityIndicatorHide As Int
    • VisiblityIndicatorShow As Int
    • Width As Int


sample_screen_shot.png
 

Attachments

  • showhidepasswordedittextV1.0.zip
    25.2 KB · Views: 521

BarryW

Active Member
Licensed User
Longtime User
This is a wrap for this github project. The library needs B4A 6+ as the Resources are packaged inside an aar.

To install the lib copy all files from the zip to your additional libs folder. The standard resources are used as default for the filenames of the drawables. if you want to change them then you need to add additionalresources to your project and reference the correct filenames (without extension).

ShowHidePasswordEditText
Author:
DonManfred (wrapper)
Version: 1
  • ShowHidePasswordEditText
    Fields:
    • ba As BA
    Methods:
    • 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)
    • isShowingPassword As Boolean

      Return type: @return:true if the password is visable | false if hidden
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Text As Editable
    • Top As Int
    • Visible As Boolean
    • VisiblityIndicatorHide As Int
    • VisiblityIndicatorShow As Int
    • Width As Int


View attachment 45461

I have error on this. How to fix it
Cannot find: C:\B4A\libraries\com.android.support:support-v4.jar
 
Top