From 328e80e03a9bb66df558667a10ac6de8b6cac3c6 Mon Sep 17 00:00:00 2001 From: Tiger Oakes Date: Mon, 29 Jun 2020 16:36:52 -0700 Subject: [PATCH] [fenix] Fix ignored XML lint issues (https://github.com/mozilla-mobile/fenix/pull/12094) --- .../res/drawable/ic_addons_extensions.xml | 8 +++---- app/src/main/res/drawable/ic_copy.xml | 17 +++++++-------- app/src/main/res/drawable/ic_open_in_app.xml | 8 +++---- .../main/res/layout/fragment_edit_login.xml | 21 ++++++++----------- .../main/res/layout/preference_cat_style.xml | 5 ++--- .../main/res/layout/search_widget_large.xml | 5 ++--- .../main/res/layout/search_widget_medium.xml | 5 ++--- 7 files changed, 29 insertions(+), 40 deletions(-) diff --git a/app/src/main/res/drawable/ic_addons_extensions.xml b/app/src/main/res/drawable/ic_addons_extensions.xml index c227de01c4..5fabf10b2e 100644 --- a/app/src/main/res/drawable/ic_addons_extensions.xml +++ b/app/src/main/res/drawable/ic_addons_extensions.xml @@ -3,13 +3,11 @@ - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - + diff --git a/app/src/main/res/drawable/ic_copy.xml b/app/src/main/res/drawable/ic_copy.xml index f50c9d054c..2780493992 100644 --- a/app/src/main/res/drawable/ic_copy.xml +++ b/app/src/main/res/drawable/ic_copy.xml @@ -1,15 +1,14 @@ - + + - - - \ No newline at end of file + android:fillAlpha="0.8" /> + diff --git a/app/src/main/res/drawable/ic_open_in_app.xml b/app/src/main/res/drawable/ic_open_in_app.xml index be5f9f3d1d..b874dda34d 100644 --- a/app/src/main/res/drawable/ic_open_in_app.xml +++ b/app/src/main/res/drawable/ic_open_in_app.xml @@ -3,13 +3,11 @@ - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - + diff --git a/app/src/main/res/layout/fragment_edit_login.xml b/app/src/main/res/layout/fragment_edit_login.xml index 344aeb0436..5881ed11c7 100644 --- a/app/src/main/res/layout/fragment_edit_login.xml +++ b/app/src/main/res/layout/fragment_edit_login.xml @@ -21,6 +21,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:paddingStart="3dp" + android:paddingEnd="0dp" android:gravity="center_vertical" android:text="@string/preferences_passwords_saved_logins_site" android:textColor="?primaryText" @@ -30,8 +31,7 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" - app:layout_constraintVertical_chainStyle="packed" - tools:ignore="RtlSymmetry" /> + app:layout_constraintVertical_chainStyle="packed" /> + app:layout_constraintTop_toBottomOf="@id/hostnameHeaderText"> + app:layout_constraintVertical_chainStyle="packed" /> + app:hintEnabled="false"> + app:layout_constraintVertical_chainStyle="packed" /> + app:layout_constraintVertical_chainStyle="packed"> + android:id="@android:id/title" /> diff --git a/app/src/main/res/layout/search_widget_large.xml b/app/src/main/res/layout/search_widget_large.xml index 07887b8ac8..0f06e86b0e 100644 --- a/app/src/main/res/layout/search_widget_large.xml +++ b/app/src/main/res/layout/search_widget_large.xml @@ -24,12 +24,11 @@ android:layout_marginStart="9dp" android:layout_toEndOf="@id/button_search_widget_new_tab_icon" android:layout_alignEnd="@id/button_search_widget_voice" - android:gravity="center_vertical" + android:gravity="start|center_vertical" android:letterSpacing="-0.025" android:textAlignment="viewStart" android:textColor="@color/search_widget_text" android:textSize="15sp" - tools:ignore="RtlCompat" tools:text="Search the web"/> - \ No newline at end of file + diff --git a/app/src/main/res/layout/search_widget_medium.xml b/app/src/main/res/layout/search_widget_medium.xml index 140fae17c6..e27b1229a5 100644 --- a/app/src/main/res/layout/search_widget_medium.xml +++ b/app/src/main/res/layout/search_widget_medium.xml @@ -24,12 +24,11 @@ android:layout_marginStart="9dp" android:layout_toEndOf="@id/button_search_widget_new_tab_icon" android:layout_alignEnd="@id/button_search_widget_voice" - android:gravity="center_vertical" + android:gravity="start|center_vertical" android:letterSpacing="-0.025" android:textAlignment="viewStart" android:textColor="@color/search_widget_text" android:textSize="15sp" - tools:ignore="RtlCompat" tools:text="Search"/> - \ No newline at end of file +