Android edittext with Hebrew text alignment (right to left)

I have an edittext. From the code I set it with Hebrew text, however the text is aligned to the left (to the left of the edittext)

Here's a part from an XML file:

<EditText 
    android:layout_height="wrap_content" 
    android:layout_width="240dip" 
    android:textColor="@color/black"
    android:inputType="textMultiLine"
    android:gravity="right"
    android:lines="7"
    android:layout_marginTop="5dip"
    android:background="@drawable/field" 
    android:id="@+id/userEditTextId"
    android:textSize="14dp"
    android:hint="כתוב פה..." />

      

+3


source to share


1 answer


yeh, people are still asking this question until recently http://groups.google.com/group/android-developers/browse_thread/thread/971bd9df400ca89e



0


source







All Articles