Can a View be focused and invisible at the same time?

android, android-edittext

Solution

AFAIK, an invisibility Edittext cannot have a view( I have never tried) so the workaround for you is

You can set a transaparent background for edittext to achieve this.

youredittext.setBackgroundResource(android.R.color.transparent);

or you can directly set the attribute in XML like this

android:background="@null"

Problem

I want to have an `EditText` in focus so it is edited, but also invisible. In other words, all the user will see is the keyboard. Is that possible?

Original source