Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
EditText を常に LTR に設定したいのですが、どうすればよいですか? Android:textDirection が答えのようです。プロジェクトをそのディレクティブでコンパイルすることはできません
editText に重力を使用する
android:gravity="right"
文字列の先頭に \u202D (LTR OVERRIDE) を追加するとうまくいきます
editText の方向を使用する
android:textDirection="ltr"