Android Question The content of the B4XFloatTextField is not shown

First of all, sorry, I'm new to b4x. I am in the process of writing an application that will run on both the PC with b4j and the phone (b4a). I've already learned a lot here through the search function, but now I've been sitting for a while and can't find a solution. I wrote the application in b4j first, it's already running there. Now I'm trying to run it under b4a. I copied a part as a dummy application to explain my problem. I have a mask on which data should be displayed and changed. Under b4j this works without any problems under b4a I can fill in the fields, the values are also displayed when I edit the fields, but they are not displayed in the individual fields after editing. I'm not sure if this is due to my selected format and autoscale. Attached is a zip with the dummy project. I'm grateful for every hint, thanks in advance.
 

Attachments

  • TextField.zip
    12.2 KB · Views: 80
Thank your for your fast answer. Sorry I need some time to make the the screenshot, as I said I'm new to Android development. Actually, I wanted to take the screenshot directly from my phone, but that didn't work, so I took a screenshot on an emulator. I think that brings me closer to my problem. I can see the input now, but it's so small you can't read it. On my original phone it is probably so small that it is no longer shown. So my problem seems to be the text scaling of the text boxes. How can I change the text scaling of the text boxes so that they appear larger actually the same size as the text of the labels. Another hint maybe, I've already tried changing the text size of the text boxes, but that didn't work either.

 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
Here are my observations. But, you could get other possible suggestions from others too:
1. You are cramming too many views in one little phone screen: B4xCombos, B4XFloats, buttons, labels and on top of that a B4XTable which needs lots of space of its own. Your best bet is to create more B4XPages to distribute the views, namely one of the B4XTable.
2. Another option is to use TabStripViewPager to have multiple pages, you can scroll through.
3. Your designer script is too verbose and has too much stuff. Use anchors and fine tune with the designer script.
4. Portrait mode may display better than the chosen landscape in this case, although that is a matter of preference.
5. Connect the designer to your phone via the designer WYSIWYG menu option located in the designer, then 'connect'. feature. You will be able to see the views positioning on that phone screen which will allow you to make adjustment.
6. Do not use small text size of 6. You need binoculars to see the text. at the minmum 14, even higher.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…