I have a EditText in a layout with a white background.
On Android 2.x, the EditText is visible with a frame around it, but in Ice Cream Sandwich on a Galaxy Nexus, it is not visible until I click on it. Then the blue line under it appears.
I think this is due to the holo theme in Ice Cream Sandwich, but can I somehow get the line to show all the time? Or do I have to add a custom background 9patch-image?
I am using ActionBarSherlock for compatibility, but I don’t think this is an issue here, as the EditText is shown normally on older Versions.
Regards,
Kim
I would recommend creating your own background for it. Another thing you can do is which may or may not work for your app’s purpose is set that view to be focused by default.
Just have your view call requestFocus() after it’s loaded.