Aug 13, 2020 Replies: 109 I needed to develop a modern editText (or TextField), but different from the B4XFloatTextField, different in terms of graphics and style. So I created the SD_TextView (see also xComboBox) NOTE: You can use this library for personal and commercial use. Include it in your projects.. Attention, even if it is a B4XLib library, it is not allowed to decompress it, modify it, change its name or redistribute it without the permission of the author SD_TextView Author: Star-Dust Version: 0.25 SD_IconTextView Events: EnterPressed FocusChanged (HasFocus As Boolean) HintClick TextChanged (OldText As String, Newtext As String) Fields: mBase As B4XView Tag As Object Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object GetBase As B4XView Initialize (Callback As Object, EventName As String) Properties: Hint As String HintFont As B4XFont NativeObject As TextField [read only] Text As String TextFont As B4XFont SD_TextView Events: EnterPressed FocusChanged (HasFocus As Boolean) TextChanged (OldText As String, Newtext As String) Fields: mBase As B4XView Tag As Object Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object GetBase As B4XView Initialize (Callback As Object, EventName As String) SetHintColor (HintTextColor As Int, HintBackGroundColor As Int) SetTextViewColor (TextColor As Int, BackGroundColor As Int, Corner_Color As Int) Properties: AnimateHint As Boolean Hint As String HintFont As B4XFont NativeObject As TextField [read only] Text As String TextFont As B4XFont SD_TwoIconTextView Events: Click EnterPressed FocusChanged (HasFocus As Boolean) HintClick TextChanged (OldText As String, Newtext As String) Unfocus Fields: mBase As B4XView Tag As Object Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object GetBase As B4XView Initialize (Callback As Object, EventName As String) Properties: Hint As String HintFont As B4XFont NativeObject As TextField [read only] Text As String TextConfirmButton As String Char fontAwesone TextFont As B4XFont SD_UnderLineTextView Events: EnterPressed FocusChanged (HasFocus As Boolean) TextChanged (OldText As String, Newtext As String) Fields: ExpansionTime As Int mBase As B4XView Tag As Object Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object GetBase As B4XView Initialize (Callback As Object, EventName As String) UnderLine (Show As Boolean) Properties: Hint As String HintFont As B4XFont NativeObject As TextField [read only] Text As String TextFont As B4XFont Attachments Sample B4i.zip Sample B4i.zip 110.6 KB · Views: 1,451 1597673547592.png 20.7 KB · Views: 2,334 Sample B4J.zip Sample B4J.zip 2.5 KB · Views: 1,374 Sample B4A.zip Sample B4A.zip 8.3 KB · Views: 1,964 SD_TextView.B4xLib SD_TextView.B4xLib 9.4 KB · Views: 376 Last edited: Jan 30, 2026 Click to expand...
I needed to develop a modern editText (or TextField), but different from the B4XFloatTextField, different in terms of graphics and style. So I created the SD_TextView (see also xComboBox) NOTE: You can use this library for personal and commercial use. Include it in your projects.. Attention, even if it is a B4XLib library, it is not allowed to decompress it, modify it, change its name or redistribute it without the permission of the author SD_TextView Author: Star-Dust Version: 0.25 SD_IconTextView Events: EnterPressed FocusChanged (HasFocus As Boolean) HintClick TextChanged (OldText As String, Newtext As String) Fields: mBase As B4XView Tag As Object Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object GetBase As B4XView Initialize (Callback As Object, EventName As String) Properties: Hint As String HintFont As B4XFont NativeObject As TextField [read only] Text As String TextFont As B4XFont SD_TextView Events: EnterPressed FocusChanged (HasFocus As Boolean) TextChanged (OldText As String, Newtext As String) Fields: mBase As B4XView Tag As Object Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object GetBase As B4XView Initialize (Callback As Object, EventName As String) SetHintColor (HintTextColor As Int, HintBackGroundColor As Int) SetTextViewColor (TextColor As Int, BackGroundColor As Int, Corner_Color As Int) Properties: AnimateHint As Boolean Hint As String HintFont As B4XFont NativeObject As TextField [read only] Text As String TextFont As B4XFont SD_TwoIconTextView Events: Click EnterPressed FocusChanged (HasFocus As Boolean) HintClick TextChanged (OldText As String, Newtext As String) Unfocus Fields: mBase As B4XView Tag As Object Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object GetBase As B4XView Initialize (Callback As Object, EventName As String) Properties: Hint As String HintFont As B4XFont NativeObject As TextField [read only] Text As String TextConfirmButton As String Char fontAwesone TextFont As B4XFont SD_UnderLineTextView Events: EnterPressed FocusChanged (HasFocus As Boolean) TextChanged (OldText As String, Newtext As String) Fields: ExpansionTime As Int mBase As B4XView Tag As Object Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object GetBase As B4XView Initialize (Callback As Object, EventName As String) UnderLine (Show As Boolean) Properties: Hint As String HintFont As B4XFont NativeObject As TextField [read only] Text As String TextFont As B4XFont
Star-Dust Expert Licensed User Longtime User Aug 13, 2020 #3 DonManfred said: Where is the download? Click to expand... I'm inserting, slowly, I'm getting old and I'm slow ? ? ? ?
DonManfred said: Where is the download? Click to expand... I'm inserting, slowly, I'm getting old and I'm slow ? ? ? ?
Star-Dust Expert Licensed User Longtime User Aug 14, 2020 #4 Update 0.2 Added IconTextField. A new view allows you to insert an icon (FontAversone or Material) before the editable text
Update 0.2 Added IconTextField. A new view allows you to insert an icon (FontAversone or Material) before the editable text
omo Active Member Licensed User Longtime User Aug 14, 2020 #5 Fontawesome icon is not responding to click event and does multiple icons on a single IconTextField allowed with '&' - concatenation sign?
Fontawesome icon is not responding to click event and does multiple icons on a single IconTextField allowed with '&' - concatenation sign?
Star-Dust Expert Licensed User Longtime User Aug 14, 2020 #6 omo said: Fontawesome icon is not responding to click event Click to expand... There is no event connected to the icon, because it is not a button. It is an icon / label that describes the type of information to be edited. In the example we indicate username and in the following view the password omo said: does multiple icons on a single IconTextField allowed with '&' - concatenation sign? Click to expand... Yes, it is possible to do it. But keep in mind that the space is only 40dip. Therefore it is not possible to insert more than 2 characters if the font size is not reduced
omo said: Fontawesome icon is not responding to click event Click to expand... There is no event connected to the icon, because it is not a button. It is an icon / label that describes the type of information to be edited. In the example we indicate username and in the following view the password omo said: does multiple icons on a single IconTextField allowed with '&' - concatenation sign? Click to expand... Yes, it is possible to do it. But keep in mind that the space is only 40dip. Therefore it is not possible to insert more than 2 characters if the font size is not reduced
Xfood Expert Licensed User Longtime User Aug 14, 2020 #7 Ritengo che sia ottima, e molto bella questa lib, ma non capisco la differenza con quella di erel... SD_TextView vs B4XFloatTextField
Ritengo che sia ottima, e molto bella questa lib, ma non capisco la differenza con quella di erel... SD_TextView vs B4XFloatTextField
Star-Dust Expert Licensed User Longtime User Aug 14, 2020 #8 Xfood said: Ritengo che sia ottima, e molto bella questa lib, ma non capisco la differenza con quella di erel... SD_TextView vs B4XFloatTextField Click to expand... Please write in English in the intentional forum Only the graphics.The editable view is surrounded by a rounded border line. The label is placed on the top line. Also can the view can be colored like the frame so as to create a particular effect. Additionally, the label animation is optional. Otherwise all editable views are the same
Xfood said: Ritengo che sia ottima, e molto bella questa lib, ma non capisco la differenza con quella di erel... SD_TextView vs B4XFloatTextField Click to expand... Please write in English in the intentional forum Only the graphics.The editable view is surrounded by a rounded border line. The label is placed on the top line. Also can the view can be colored like the frame so as to create a particular effect. Additionally, the label animation is optional. Otherwise all editable views are the same
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Aug 15, 2020 #9 Is right to left RTL direction supported?
Star-Dust Expert Licensed User Longtime User Aug 15, 2020 #10 HAH said: Is right to left RTL direction supported? Click to expand... What do you mean exactly
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Aug 15, 2020 #11 Star-Dust said: What do you mean exactly Click to expand... I mean hz direction:
Star-Dust Expert Licensed User Longtime User Aug 15, 2020 #12 HAH said: I mean hz direction: Click to expand... There is no provision on the right. I really haven't even thought about it ?
HAH said: I mean hz direction: Click to expand... There is no provision on the right. I really haven't even thought about it ?
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Aug 15, 2020 #13 Star-Dust said: There is no provision on the right. I really haven't even thought about it ? Click to expand... tested .. not supported .. I think when you get time you'll support it
Star-Dust said: There is no provision on the right. I really haven't even thought about it ? Click to expand... tested .. not supported .. I think when you get time you'll support it
Star-Dust Expert Licensed User Longtime User Aug 15, 2020 #14 HAH said: tested .. not supported .. I think when you get time you'll support it Click to expand... Maybe, but what could it do?
HAH said: tested .. not supported .. I think when you get time you'll support it Click to expand... Maybe, but what could it do?
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Aug 15, 2020 #15 Star-Dust said: Maybe, but what could it do? Click to expand... It is important for Arabic/Hebrow/Persian Languages because they are Right To Left (RTL) languages, their sentences written from right to left (english opposite)
Star-Dust said: Maybe, but what could it do? Click to expand... It is important for Arabic/Hebrow/Persian Languages because they are Right To Left (RTL) languages, their sentences written from right to left (english opposite)
Star-Dust Expert Licensed User Longtime User Aug 15, 2020 #16 HAH said: It is important for Arabic/Hebrow/Persian Languages because they are Right To Left (RTL) languages, their sentences written from right to left (english opposite) Click to expand... Ok. When I can, I will try to implement it
HAH said: It is important for Arabic/Hebrow/Persian Languages because they are Right To Left (RTL) languages, their sentences written from right to left (english opposite) Click to expand... Ok. When I can, I will try to implement it
Star-Dust Expert Licensed User Longtime User Aug 15, 2020 #17 HAH said: It is important for Arabic/Hebrow/Persian Languages because they are Right To Left (RTL) languages, their sentences written from right to left (english opposite) Click to expand... Update 0.03 RTL from Design is now possible
HAH said: It is important for Arabic/Hebrow/Persian Languages because they are Right To Left (RTL) languages, their sentences written from right to left (english opposite) Click to expand... Update 0.03 RTL from Design is now possible
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Aug 15, 2020 #18 Thank you very much
Star-Dust Expert Licensed User Longtime User Aug 15, 2020 #19 HAH said: Thank you very much Click to expand... before thanking, try if that's what you wanted
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Aug 15, 2020 #20 tested, no RTL found! How can I set?