I tried everything in this post: Android RTL Password Fields?
But nothing helped me.
Problem . When the user language is Arabic (RTL), I want it to feel comfortable typing my password in my language. But, when I assign inputTypeto textPassword, it does not work and forces it to LTR no matter what I assign.
inputType
textPassword
I tried to assign gravity, textAlignment, layoutDirectionand I even tried this software, but nothing works.
gravity
textAlignment
layoutDirection
All other text fields work fine except for PASSWORD. Is there a workaround for this error / problem?
, . ( UserName). , . , ASCII, , . , , . Windows Login .
. ( ... , , , ... ..), , ... 90-, . , , "" LTR, .
, ( , , , ):
<p align="right">******</p> <p align="left">******</p>
(LTR) (RTL) (, ), Edittext XML:
android:inputType="textPassword" android:textAlignment="viewStart"
Have you tried the following ?:
XML:
android:ellipsize="end"
Java:
textview.setTextDirection(View.TEXT_DIRECTION_RTL);
or
textview.setTextDirection(View.TEXT_DIRECTION_ANY_RTL);
Source: https://habr.com/ru/post/1649964/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1649959/apply-condition-on-pandas-columns-to-create-a-boolen-indexing-array&usg=ALkJrhiuZi4gUgCJmq0UvdgtNSuQlqliKQhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1649960/jenkins-how-to-configure-jenkins-behind-nginx-reverse-proxy-for-jnlp-slaves-to-connect&usg=ALkJrhiD_dAbWZXAcdtgVMj9SKDSlzlXKQCannot get tcpdump to collect data from Android - bashhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1649962/converting-dictionary-with-known-indices-to-a-multidimensional-array&usg=ALkJrhjmRdYzln802lOpVY7CK5WZTpYGoAError installing OpenCV on Ubuntu 16.04 - opencvПравильно ли использовать React `context` для доступа к мутаторам модели в приложении без потока? - reactjsReact Native NetInfo Always Returns Offline - iosvue-resource and working JSONP example - jsonpThymleaf for Spring in IntelliJ - URI Not Registered - springUIAlertController error popoverPresentationController: snapshot of an image that was not displayed leads to empty snapshots - iosAll Articles