B bishmedia Member Licensed User Longtime User Apr 2, 2013 #1 I'm confused about EditText in designer When i add 'Edittext' to my application via designer and run it the background of the textbox is black but when i run other eg source its white? I need a white input text box!! Am i missing something???
I'm confused about EditText in designer When i add 'Edittext' to my application via designer and run it the background of the textbox is black but when i run other eg source its white? I need a white input text box!! Am i missing something???
M Mahares Expert Licensed User Longtime User Apr 2, 2013 #2 You can use colordrawabe like this. It will give you a white background. You can modify the radius: B4X: Dim cd As ColorDrawable cd.Initialize(Colors.White,10) txtTest.TextColor=Colors.Red txtTest.Text="Bishmedia" txtTest.Background=cd Upvote 0
You can use colordrawabe like this. It will give you a white background. You can modify the radius: B4X: Dim cd As ColorDrawable cd.Initialize(Colors.White,10) txtTest.TextColor=Colors.Red txtTest.Text="Bishmedia" txtTest.Background=cd
B bishmedia Member Licensed User Longtime User Apr 2, 2013 #3 Thanks I'll try that tomorrow, its really bugging me as other apps are white without any scripts!!!! I'm sure its something stupid Many Thanks Upvote 0
Thanks I'll try that tomorrow, its really bugging me as other apps are white without any scripts!!!! I'm sure its something stupid Many Thanks
M Mahares Expert Licensed User Longtime User Apr 2, 2013 #4 You may want to check your manifest editor ( Project, Manifest Editor) for this line and compare it for both applications and use the old style for the new one you do not like: <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="10"/> Upvote 0
You may want to check your manifest editor ( Project, Manifest Editor) for this line and compare it for both applications and use the old style for the new one you do not like: <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="10"/>
B bishmedia Member Licensed User Longtime User Apr 3, 2013 #5 OMG thanks i changed the following line <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/> to this <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4"/> and it works perfectly now??? What does this line actually do?? Upvote 0
OMG thanks i changed the following line <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/> to this <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4"/> and it works perfectly now??? What does this line actually do??