Re: [android-developers] Edit Text Password visible on focus in landscape

2010-03-03 Thread Adrian Vintu
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 edwinpat...@gmail.com 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Edit Text Password visible on focus in landscape

2010-02-23 Thread syronet
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en