From 44c6947c069fbcbd5ce0be0da3a2920684ffebd3 Mon Sep 17 00:00:00 2001 From: aurimas Date: Wed, 25 Feb 2015 11:59:38 -0800 Subject: [PATCH] Fix up a few more lint warnings in chrome/ BUG=266140 TBR=jbudorick@chromium.org Review URL: https://codereview.chromium.org/923803003 Cr-Commit-Position: refs/heads/master@{#318094} --- build/android/lint/suppressions.xml | 25 ++++++++++++++++++++++ .../res/layout/autofill_card_unmask_prompt.xml | 7 ++++-- .../password_generation_popup_suggestion.xml | 2 ++ .../java/res/layout/preference_category.xml | 4 +++- .../res/layout/website_settings_permission_row.xml | 3 ++- chrome/android/java/res/values/colors.xml | 1 + 6 files changed, 38 insertions(+), 4 deletions(-) diff --git a/build/android/lint/suppressions.xml b/build/android/lint/suppressions.xml index d8422a74e425..8d9b628c7223 100644 --- a/build/android/lint/suppressions.xml +++ b/build/android/lint/suppressions.xml @@ -41,6 +41,20 @@ Still reading? + + + + + + + + + + + + + + @@ -52,12 +66,23 @@ Still reading? + + + + + + + + + + + diff --git a/chrome/android/java/res/layout/autofill_card_unmask_prompt.xml b/chrome/android/java/res/layout/autofill_card_unmask_prompt.xml index d0ee7e6d268b..009e56921d1e 100644 --- a/chrome/android/java/res/layout/autofill_card_unmask_prompt.xml +++ b/chrome/android/java/res/layout/autofill_card_unmask_prompt.xml @@ -82,7 +82,8 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_marginStart="8dp" - android:layout_marginEnd="16dp" /> + android:layout_marginEnd="16dp" + android:contentDescription="@null" /> + + android:visibility="gone" + android:contentDescription="@null" /> + + diff --git a/chrome/android/java/res/layout/preference_category.xml b/chrome/android/java/res/layout/preference_category.xml index e03b2760b56a..52bba26002a2 100644 --- a/chrome/android/java/res/layout/preference_category.xml +++ b/chrome/android/java/res/layout/preference_category.xml @@ -18,6 +18,7 @@ android:layout_height="wrap_content" android:textAppearance="@style/PreferenceCategoryTextStyle" /> + + android:background="?android:attr/selectableItemBackground" + android:contentDescription="@null" /> \ No newline at end of file diff --git a/chrome/android/java/res/layout/website_settings_permission_row.xml b/chrome/android/java/res/layout/website_settings_permission_row.xml index fdd4f2dbf0b0..ff2be4d05c35 100644 --- a/chrome/android/java/res/layout/website_settings_permission_row.xml +++ b/chrome/android/java/res/layout/website_settings_permission_row.xml @@ -12,7 +12,8 @@ android:id="@+id/website_settings_permission_icon" android:layout_width="@dimen/website_settings_popup_permission_icon_size" android:layout_height="@dimen/website_settings_popup_permission_icon_size" - android:layout_marginEnd="16dp" /> + android:layout_marginEnd="16dp" + android:contentDescription="@null" /> #333333 #ffffff #333333 + #ffffff -- 2.11.4.GIT