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 Thu, Feb 25, 2010 at 4:44 PM, ahamed <[email protected]> wrote: > Dear Experts, > > Can you please assist 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. > > -- > 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 -- 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

