8

EditText behavior for arabic locale

view full story
linux-howto

http://stackoverflow.com – I have a login screen that consists of two EditText views. When using an arabic locale the password input field gets right aligned and starting to work according to RTL language rules. The username input field is not affected in any way. The layout XML for my two input fields looks like this: <!-- Username input. --> <EditText android:id="@+id/login_edittext_username_input" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingLeft="10dp" android:paddingRight="10dp" android:layout_marginBottom="0.66667dp" android:backgrou (HowTos)