Skip to content

Commit 9f8efa6

Browse files
committed
Add text direction to the CodeView example to support mix LTR & RTL Languages
1 parent 5df6024 commit 9f8efa6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
android:dropDownWidth="@dimen/dimen150dp"
1515
android:dropDownHorizontalOffset="0dp"
1616
android:dropDownSelector="@color/darkGrey"
17-
android:gravity="top|start" />
17+
android:gravity="top|start"
18+
android:textDirection="firstStrong" />
1819

1920
<RelativeLayout
2021
android:id="@+id/source_info_layout"

0 commit comments

Comments
 (0)