IntlNumberInput is a custom view for Android that allows the user to enter his phone number in an elegant and friendly way. It adds a flag dropdown to any input, automatically detects the user's country, displays a relevant placeholder and auto formats the number as they type.
it wraps this project : https://github.com/Rimoto/IntlPhoneInput
IntlPhoneInput
Version: 1
https://www.dropbox.com/sh/o9yar82awa2onjn/AAAa9GfMTnFuEXMcRJetak_Wa?dl=0
it wraps this project : https://github.com/Rimoto/IntlPhoneInput
IntlPhoneInput
Version: 1
- IntlPhoneInput
Events:- onkeyboarddone (isValid As Boolean)
- onvaliditychange (isValid As Boolean)
- ba As BA
- 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)
- hideKeyboard
Hide keyboard from phoneEdit field - isValid As Boolean
Check if number is valid
Return type: @return:boolean - setDefault
Set default value
Will try to retrieve phone number from device
- android.permission.READ_PHONE_STATE
- Background As Drawable
- Color As Int [write only]
- EmptyDefault As String [write only]
Set default value with - Enabled As Boolean
- Height As Int
- Left As Int
- Number As String
Get number - Tag As Object
- Top As Int
- Visible As Boolean
- Width As Int
https://www.dropbox.com/sh/o9yar82awa2onjn/AAAa9GfMTnFuEXMcRJetak_Wa?dl=0