アイアイコンの位置を左に変更したいと思います。 EditText内のテキストを右に整列されるようにレイアウト内のショーパスワードアイコンの位置を変更する方法
私は、アラビア語のアプリを開発しています。どのようにこれを行う上の任意のアイデア?
マイコード:
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/txt_password"
android:layout_width="match_parent"
android:layout_height="34dp"
android:hint="@string/prompt_password"
android:imeActionLabel="@string/action_sign_in"
android:imeOptions="actionUnspecified"
android:inputType="textPassword"
android:maxLines="1" />
</android.support.design.widget.TextInputLayout>
を使用してください。 drawableleftを使用してアイコンを左に揃えます – Madhav
@Madhavしかし、私はdrawTypeを使用していません。inputTypeをtextPasswordとして使用すると、目のアイコンが追加されます。 –