Skip to content

Commit

Permalink
Add text direction to the CodeView example to support mix LTR & RTL L…
Browse files Browse the repository at this point in the history
…anguages
  • Loading branch information
AmrDeveloper committed Apr 24, 2022
1 parent 5df6024 commit 9f8efa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
android:dropDownWidth="@dimen/dimen150dp"
android:dropDownHorizontalOffset="0dp"
android:dropDownSelector="@color/darkGrey"
android:gravity="top|start" />
android:gravity="top|start"
android:textDirection="firstStrong" />

<RelativeLayout
android:id="@+id/source_info_layout"
Expand Down

0 comments on commit 9f8efa6

Please sign in to comment.