Sorry for open this topic again. I am also facing the same problem. In
landscape mode, the soft keyborad is coming in full screen and
whatever typed is displayed, password property is working. I am
creating View in java, so no xml attributes please.

I tried with ,
textInput.setInputType(InputType.TYPE_CLASS_NUMBER);
textInput.setTransformationMethod(new PasswordTransformationMethod());

Any suggestions please..

Nithin




On Mar 4, 3:28 am, Adrian Vintu <adrianvi...@gmail.com> wrote:
> 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.com<android-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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to