D Dman Active Member Licensed User Longtime User Nov 5, 2012 #1 I like the way an app lays out using the targetSdkVersion="14"/ line in the xml file but if I have a light colored background, the flashing cursor in the edittext boxes is white and very hard hard to see since there really isn't a "box" per se. Is there a way to change the flashing cursor to black without changing the sdkversion number?
I like the way an app lays out using the targetSdkVersion="14"/ line in the xml file but if I have a light colored background, the flashing cursor in the edittext boxes is white and very hard hard to see since there really isn't a "box" per se. Is there a way to change the flashing cursor to black without changing the sdkversion number?
M Mahares Expert Licensed User Longtime User Nov 5, 2012 #2 One way to enhance your edittext boxes when they have focus is to do the following: Suppose you have several edittext boxes with the same EventName called: Dman, your code can be: Code: Copy Sub Dman_FocusChanged(Hasfocus As Boolean) Dim Send As EditText Send=Sender If Hasfocus=True Then Send.Color=Colors.Cyan Else Send.Color=Colors.White End If End Sub Upvote 0
One way to enhance your edittext boxes when they have focus is to do the following: Suppose you have several edittext boxes with the same EventName called: Dman, your code can be: Code: Copy Sub Dman_FocusChanged(Hasfocus As Boolean) Dim Send As EditText Send=Sender If Hasfocus=True Then Send.Color=Colors.Cyan Else Send.Color=Colors.White End If End Sub