D davemorris Active Member Licensed User Longtime User Aug 6, 2017 #1 Hi Just started with B4A (so sorry if I am making a fundamental error). I working with sockets and found an example on the forum see www.b4x.com/android/forum/threads/b4x-help-viewer.46969 It works great - however I get the following warning Add android:targetSdkVersion="19" to the manifest editor (after minSdkVersion). (warning #26) I modify the manifest file and the warning goes away. Unfortunately the UI also changes (for the worst) and when I attempt to enter characters on the (on screen keyboard they are not echoed in the EditText box. Can someone help? Dave
Hi Just started with B4A (so sorry if I am making a fundamental error). I working with sockets and found an example on the forum see www.b4x.com/android/forum/threads/b4x-help-viewer.46969 It works great - however I get the following warning Add android:targetSdkVersion="19" to the manifest editor (after minSdkVersion). (warning #26) I modify the manifest file and the warning goes away. Unfortunately the UI also changes (for the worst) and when I attempt to enter characters on the (on screen keyboard they are not echoed in the EditText box. Can someone help? Dave
mangojack Expert Licensed User Longtime User Aug 7, 2017 #2 Did you manually set Text Colour property ? If so change it back to Default. Upvote 0
D davemorris Active Member Licensed User Longtime User Aug 7, 2017 #3 mangojack said: Did you manually set Text Colour property ? If so change it back to Default. Click to expand... Hi Mj Thanks for quick response. I am new to B4A - sorry which text colour property are we talk about - (for a particular view(control) or for all?) Regards Dave Upvote 0
mangojack said: Did you manually set Text Colour property ? If so change it back to Default. Click to expand... Hi Mj Thanks for quick response. I am new to B4A - sorry which text colour property are we talk about - (for a particular view(control) or for all?) Regards Dave
Erel B4X founder Staff member Licensed User Longtime User Aug 7, 2017 #4 Text Color in the designer: Upvote 0
mangojack Expert Licensed User Longtime User Aug 7, 2017 #5 they are not echoed in the EditText box. Click to expand... More precisely .. did you set the Text Color property of the EditText box .. if so reset it to Default Upvote 0
they are not echoed in the EditText box. Click to expand... More precisely .. did you set the Text Color property of the EditText box .. if so reset it to Default
D davemorris Active Member Licensed User Longtime User Aug 7, 2017 #6 mangojack said: More precisely .. did you set the Text Color property of the EditText box .. if so reset it to Default Click to expand... Hi, That has done the trick - I can now see the text. Another question I am afraid - to do with edittext background. Can you change the background colour at design time? Currently, I am having insert into the initialisation code edittext_name.Color = Colors.White (or whatever colour I want the background - is this normal or am I missing something?) Kind regards Dave Upvote 0
mangojack said: More precisely .. did you set the Text Color property of the EditText box .. if so reset it to Default Click to expand... Hi, That has done the trick - I can now see the text. Another question I am afraid - to do with edittext background. Can you change the background colour at design time? Currently, I am having insert into the initialisation code edittext_name.Color = Colors.White (or whatever colour I want the background - is this normal or am I missing something?) Kind regards Dave
mangojack Expert Licensed User Longtime User Aug 8, 2017 #7 A few things .. Always start a new thread for a new question. A Search for 'change edittext color' resulted in some good reading material .. https://www.b4x.com/android/forum/pages/results/?query=change+edittext+color You can change its color.. EditText.Color = Colors.White . But it is probably best to leave it as Default. see this .. https://www.b4x.com/android/forum/t...background-color-edit-text.40491/#post-242118 I am having insert into the initialisation code Click to expand... I am unsure what you mean .. there is no initialize method that calls for edittext color. If you have added EditText to a Layout in Designer .. there is no need to initialize the view. Have you downloaded and had a look at B4A Beginners and Users Guide ? .. https://www.b4x.com/b4a.html#documentation Upvote 0
A few things .. Always start a new thread for a new question. A Search for 'change edittext color' resulted in some good reading material .. https://www.b4x.com/android/forum/pages/results/?query=change+edittext+color You can change its color.. EditText.Color = Colors.White . But it is probably best to leave it as Default. see this .. https://www.b4x.com/android/forum/t...background-color-edit-text.40491/#post-242118 I am having insert into the initialisation code Click to expand... I am unsure what you mean .. there is no initialize method that calls for edittext color. If you have added EditText to a Layout in Designer .. there is no need to initialize the view. Have you downloaded and had a look at B4A Beginners and Users Guide ? .. https://www.b4x.com/b4a.html#documentation