B4A Library [B4X] [XUI] [B4XLib] SD_TextView

Star-Dust

Expert
Licensed User
Last edited:

HAH

Well-Known Member
Licensed User
In the Design you find the RTL property
found & worked.
Some improvement please > in RTL mode, right padding is zero & 1st letter fused with right border! You should increase right padding.
 

Star-Dust

Expert
Licensed User
found & worked.
Some improvement please > in RTL mode, right padding is zero & 1st letter fused with right border! You should increase right padding.
It seemed only in B4A. Fixed with version 0.04
 

giannimaione

Well-Known Member
Licensed User
wish:
max length (numbers of characters) and type (alfa, number, decimal, max decimal, .....)
 

Star-Dust

Expert
Licensed User
wish:
max length (numbers of characters) and type (alfa, number, decimal, max decimal, .....)
Already this you can do as in native view:

MaxLength
B4X:
Private Sub SD_IconTextView1_TextChanged (OldText As String, Newtext As String)
    If Newtext.Length>MaxLength Then
        SD_IconTextView1.Text=OldText
    End If
End Sub
B4A InputType
B4X:
SD_IconTextView1.NativeObject.InputType=SD_IconTextView1.NativeObject.INPUT_TYPE_DECIMAL_NUMBERS
B4i InputType
B4X:
SD_IconTextView1.NativeObject.KeyboardType=SD_IconTextView1.NativeObject.TYPE_NUMBER_PAD
 

Star-Dust

Expert
Licensed User
I want add with designer but have error :

an error occurred.
unknown view:_sd_Icontextview
It's strange. Have you updated with the latest version?
You have to copy the xml file and the jar file to the libraries folder (or additional libraries)
 
Last edited:

aletayyeb

Member
Thank's for reply
I have lastest version(0.05)
but that's B4Xlib Type and I put on the additional library and cant find jar and xml files
and my b4a version is 10
 

Attachments

Star-Dust

Expert
Licensed User
Thank's for reply
I have lastest version(0.05)
but that's B4Xlib Type and I put on the additional library and cant find jar and xml files
and my b4a version is 10
you're right, my mistake, just the b4xlib file in the library folder is enough.

Make sure you don't have an older version in the Additional Libraries folder

I recommend that you delete the b4xlib file and download it again.
 

Star-Dust

Expert
Licensed User
If you experience this problem on other libraries, check if one library is conflicting with the others.

But a good thing is to get technical support.
 

Star-Dust

Expert
Licensed User
Update 0.06
Fix bug
 

Star-Dust

Expert
Licensed User
you can set other filters using the NativeObject property and assigning it to EditText (For Android) or TextField (B4i or B4j)

B4A sample
B4X:
Dim EditText1 As EditText = TextView.NativeObject
EditText1.InputType = EditText1.INPUT_TYPE_PHONE
 
Top