0

This is my button in main.xml

<Button
    android:id="@+id/checkInButton"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:text="@string/checkIn"
    android:textDirection="anyRtl"
    android:textStyle="bold" />

Are there any property in order to make it RTL, in other words from right to left?

j0k
  • 22,600
  • 28
  • 79
  • 90
Tuvia Khusid
  • 792
  • 5
  • 15
  • 31
  • 1
    http://stackoverflow.com/questions/7874125/how-to-write-text-right-to-left-arabic-textin-android Check this if helps – Ritaban Sep 01 '13 at 08:28
  • What's the lowest version of Android that you want this to work on? The answer varies. – Ted Hopp Sep 03 '13 at 14:59
  • Usually you will simply see it work OK when you use the string resource in utf-8. Is there some specific problem in your app? Which version of Android do you run? – Alex Cohn Sep 12 '13 at 15:50

1 Answers1

1

Google Android Developers have a few directives that might help you with this.

Stav Geffen
  • 300
  • 3
  • 12