EditText editText = (EditText) findViewById(R.id.EditText01);
editText.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD); //also
available from designer
editText.setTransformationMethod(new PasswordTransformationMethod());

BR,
Adrian Vintu

http://adrianvintu.com

On Wed, Feb 24, 2010 at 7:58 PM, ahamed <[email protected]> wrote:

> Hi All,
>
> Can you guys share how can we mask password input in fullscreen
> virtual keypad.
> EditText setPinEditText= new EditText(context);
> setPinEditText.setImeOptions(EditorInfo.IME_ACTION_UNSPECIFIED);)
>
> I tried using
> setPinEditText.setTransformationMethod(new
> PasswordTransformationMethod());
>
> Masking the password input in portrait vkp mode works fine with this
> change but when I rotate to landscape mode, in fullscreen virtual
> keyboard mode it doenst worked.
>
> Any help would be highly appreciated.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en


<http://www.google.com/search?q=EditText%20editText%20=%20%28EditText%29%20findViewById%28R.id.EditText01%29;%0D%0AeditText.setInputType%28InputType.TYPE_TEXT_VARIATION_PASSWORD%29;%20//also%20available%20from%20designer%0D%0AeditText.setTransformationMethod%28new%20PasswordTransformationMethod%28%29%29;%0D%0A%0D%0ABR,%0D%0AAdrian%20Vintu%0D%0A%0D%0Ahttp://adrianvintu.com>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to