M Mike1970 Well-Known Member Licensed User Longtime User May 18, 2019 #1 Hi everyone, i trying to achieve something like this: I need the cross in a edittext, i'm working on the AutocompletePlaces class of Erel: https://www.b4x.com/android/forum/t...google-place-autocomplete-view.81976/#content I modified the interefece to look like this: The problem is that the text goes under the cross when it too long: How can i solve this? Thanks
Hi everyone, i trying to achieve something like this: I need the cross in a edittext, i'm working on the AutocompletePlaces class of Erel: https://www.b4x.com/android/forum/t...google-place-autocomplete-view.81976/#content I modified the interefece to look like this: The problem is that the text goes under the cross when it too long: How can i solve this? Thanks
Star-Dust Expert Licensed User Longtime User May 18, 2019 #2 Simply add a button with an X after edittext and get the same result Upvote 0
M Mike1970 Well-Known Member Licensed User Longtime User May 18, 2019 #3 Star-Dust said: Simply add a button with an X after edittext and get the same result Click to expand... No, because the lblX (with the MaterialIcon) is IN the edittext The best thing i would like to do is to add an ellispize to the edittext in order to prevent the text to go under the cross Upvote 0
Star-Dust said: Simply add a button with an X after edittext and get the same result Click to expand... No, because the lblX (with the MaterialIcon) is IN the edittext The best thing i would like to do is to add an ellispize to the edittext in order to prevent the text to go under the cross
jimmyF Active Member Licensed User Longtime User May 18, 2019 #4 I think the B4XFloatTextField will do this. https://www.b4x.com/android/forum/t...ss-platform-views-and-dialogs.100836/#content Upvote 0
I think the B4XFloatTextField will do this. https://www.b4x.com/android/forum/t...ss-platform-views-and-dialogs.100836/#content