Android Question b4i TextView alternative in Android

David Meier

Active Member
Licensed User
Longtime User
Hi

I am porting my iOS app to android. That is tougher than thought In b4i there is textview. Now I am searching for the equivalent in b4a. On the forum I read there is customlistview addtext. But I cannot find this command. I only find addtextitem.
My scope is to program the UI as close to material design as possible. So any solution close to material design is very much appreciated.
Attached you can see my iOS home screen, the box with the red arrow is the one with text view.

kind regards

David
 

Attachments

  • home_b4x.jpg
    124.1 KB · Views: 291
Last edited:

David Meier

Active Member
Licensed User
Longtime User
Thanks for this! I tried editText but must have missed the single line option...

Kind regards
David
 
Upvote 0

David Meier

Active Member
Licensed User
Longtime User
I tried it, but one question remains, in TextView the text is scrollable but I cannot find scrollable in EditText. Does EditText have a scrollable option?
I need this because the text box content is being fed by a httprequest that delivers different/dynamic length of text.

Kind regards
David
 
Upvote 0

David Meier

Active Member
Licensed User
Longtime User
Thank you Klaus,
I can see that now and it works as you say. BUT: I used the editText box in a scrollview and there it doesn't work properly. I did the same thing in b4i and it works fine. In Android this seems to work slightly different, swiping upwards will only have an effect on the actual scrollview. Objects within the scrollview are not affected (correctly) by the swipe movement. Maybe it is also because I use an older phone with Android 5.1.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…