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:
@@ -55,6 +55,7 @@
|
||||
android:singleLine="false"
|
||||
android:gravity="top"
|
||||
android:visibility="gone"
|
||||
android:textAlignment="viewStart"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -24,5 +24,6 @@
|
||||
android:fadingEdge="horizontal"
|
||||
android:gravity="top"
|
||||
android:singleLine="true"
|
||||
android:textAlignment="viewStart"
|
||||
android:textAppearance="@style/TextAppearance.Material.Notification"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user