From 12861aacdae6f93f5870fa3ab45412aa43e48618 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 27 Feb 2020 15:11:43 +0100 Subject: [PATCH] lint: check negative margin --- vector/lint.xml | 2 ++ .../src/main/res/layout/vector_message_merge_avatar_list.xml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/vector/lint.xml b/vector/lint.xml index 2a7197e534..c74fcef250 100644 --- a/vector/lint.xml +++ b/vector/lint.xml @@ -10,6 +10,7 @@ + @@ -23,6 +24,7 @@ + diff --git a/vector/src/main/res/layout/vector_message_merge_avatar_list.xml b/vector/src/main/res/layout/vector_message_merge_avatar_list.xml index 853dfc80d7..58f38ada0e 100644 --- a/vector/src/main/res/layout/vector_message_merge_avatar_list.xml +++ b/vector/src/main/res/layout/vector_message_merge_avatar_list.xml @@ -21,6 +21,7 @@ android:layout_marginLeft="-5dp" android:adjustViewBounds="true" android:scaleType="centerCrop" + tools:ignore="NegativeMargin" tools:src="@tools:sample/avatars" /> \ No newline at end of file