Fixed the text alignment with RTL text

The alignment was inconsistent before and text was displaying
on the lefthand side.

Test: add notification, observe text in RTL mode
Change-Id: I9e164687307727a07093a70f5b7710ea8b7c3deb
Bug: 62845923
This commit is contained in:
Selim Cinek
2017-07-14 12:16:41 +02:00
parent b02cbdeeb3
commit 910d49f1aa
3 changed files with 3 additions and 0 deletions

View File

@@ -55,6 +55,7 @@
android:singleLine="false"
android:gravity="top"
android:visibility="gone"
android:textAlignment="viewStart"
/>
</LinearLayout>

View File

@@ -28,6 +28,7 @@
android:singleLine="true"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:textAlignment="viewStart"
/>
<TextView android:id="@+id/text_line_1"
android:textAppearance="@style/TextAppearance.Material.Notification"

View File

@@ -24,5 +24,6 @@
android:fadingEdge="horizontal"
android:gravity="top"
android:singleLine="true"
android:textAlignment="viewStart"
android:textAppearance="@style/TextAppearance.Material.Notification"
/>