From 1f0ddb4e0bd23c2c6331d8e264b44d8f7c724089 Mon Sep 17 00:00:00 2001 From: Michael Comella Date: Thu, 31 Aug 2017 13:07:32 -0700 Subject: [PATCH] Bug 1393274 - bustage: Add gravity=start where textAlignment to appease lint. r=mcomella Lint passes locally. MozReview-Commit-ID: 8f6hBwjzoYJ --HG-- extra : rebase_source : 4b5c4b03e97c529e8cba61794adf87bdc1721dfe --- .../src/main/res/layout/activity_stream_webpage_item_row.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml b/mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml index 280d75ad0ea8..d6c843fe7e36 100644 --- a/mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml +++ b/mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml @@ -44,7 +44,7 @@ + right in RTL. Note: to appease the RtlCompat lint warning, gravity="start" is also required. --> @@ -80,6 +81,7 @@ android:paddingRight="0dp" android:paddingEnd="0dp" android:textAlignment="viewStart" + android:gravity="start" android:textColor="#ff000000" android:textSize="14sp" android:textStyle="bold" @@ -119,6 +121,7 @@ android:layout_marginEnd="0dp" android:layout_weight="1" android:textAlignment="viewStart" + android:gravity="start" android:textColor="@color/activity_stream_subtitle" android:textSize="12sp" tools:text="Bookmarked" />