EditText editText = (EditText) findViewById(R.id.EditText01); editText.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD); //also available in design mode editText.setTransformationMethod(new PasswordTransformationMethod());
BR, Adrian Vintu http://adrianvintu.com On Tue, Feb 23, 2010 at 8:19 PM, syronet <[email protected]> wrote: > I have a login screen with a edit text password field. In landscape > mode, when i try to enter anything into the field, the view kinda > zooms into the field with the virtual keyboard on the bottom, and > anything i type is visible as plain text; now if i were to hit the > back button, it will zoom out and display the entire activity but the > text in the field is hidden. > > I have tried setting android:password="true", it works only in > portrait and when in the zoomed in state.. thats no help > android:inputType="textPassword" this by itself is useless > any other ideas ? > > -- > 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

