I have a login screen that consists of two EditText views.
username & password fields.
When i change the language to Arabic, the password Edit text field gets right aligned.
I dont know about RTL language rules, but i feel it is starting to work according to RTL language rules.
Username field is not effected . But password field gets right aligned.
Password Text :
<EditText
android:id="@+id/login_password"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:singleLine="true"
android:inputType="textPassword"
android:hint="@string/login_input_password_hint" />
username :
<EditText
android:id="@+id/login_user"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:singleLine="true"
android:inputType="texturi"
android:hint="@string/login_input_userid_hint" />
I feel the problem is with == android:inputType="textPassword" Please tell me how to rectify this issue.