Android Question Set view invisible but still touchable

mitobobo

Member
Licensed User
Longtime User
Hello everyone.

I need your help, please :( I'm really sad I can't find a solution for that. I've created a design/layout with Photoshop for a login activity which includes an username and a password field, though they're only drawn in the design, they don't really exist(I mean, they're NOT EditText, so if you touch them, nothing happens). And that's the problem: how can I create an EditText view that is invisible but still touchable, so that when someone touch the "username" field, the keyboard will appear? I've tried setting the EditText view to visible = False and Enabled = True, but then when I touch it, nothing happens.

I hope my explanation didn't confuse you too much. Thank you so much in advance for your help! I really appreciate it:):)
 
Top