When all fails you start removing the code to find out the offending line...
In this case it was android:password="true" attribute on EditText id="@ +id/oldPassword". The other two EditText's had the transformation set in the code like so setTransformationMethod(new PasswordTransformationMethod()); Still would like to know why that is. Is it a bug, or does android:password="true" do more then just setting the transformation? On Sep 1, 9:12 am, gnugu <rho...@gmail.com> wrote: > Hi, > my activity screen has 3 EditText's for changing the password. > Somehow the hint on the "oldPassword" has different font spacing then > the other two. > > I have not changed any properties of the EditText in the Activity > code. > > I'm sure it's something obvious, I just don't see it. > > Thanks. > > Here is the layout: > > <?xml version="1.0" encoding="utf-8"?> > <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" > android:id="@+id/changePasswordTextScroller" > android:layout_width="fill_parent" > android:layout_height="fill_parent" android:fillViewport="true"> > <LinearLayout android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:orientation="vertical" > android:padding="10dip"> > <TextView android:id="@+id/changePasswordText" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:text="@string/changePasswordText" > android:textSize="20sp" > android:textColor="?android:attr/textColorSecondary" > android:lineSpacingMultiplier="0.92" > android:paddingBottom="10dip" /> > > <EditText android:id="@+id/oldPassword" > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:singleLine="true" > android:password="true" > android:layout_marginBottom="20dip" > android:hint="@string/oldPassword" /> > > <ca.heraconsulting.android.secretbox.NewPassword > android:id="@+id/newPassword" > android:layout_width="fill_parent" > android:layout_height="wrap_content" /> > > <LinearLayout android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:orientation="horizontal" > android:layout_marginTop="20dip"> > <Button android:id="@+id/changePasswordOk" > android:enabled="false" > android:text="@android:string/ok" > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:layout_weight="1" /> > <Button android:id="@+id/changePasswordCancel" > android:text="@android:string/cancel" > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:layout_weight="1" /> > </LinearLayout> > </LinearLayout> > </ScrollView> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---