Fix "Open <a11y service> " starts from end for RTL language
Root cause: TextView space uses "wrap_content" to not match the parent width Solution: Use "match_parent" instead Bug: 279646115 Test: anual test for RTL and LTR language Change-Id: If4091958e5ab4323c881732a7b38814dc93db4a1
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
<TextView
|
||||
android:id="@android:id/title"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:paddingVertical="@dimen/settingslib_switch_title_margin"
|
||||
android:ellipsize="end"
|
||||
|
||||
Reference in New Issue
Block a user