lint: check negative margin
This commit is contained in:
parent
d85776297d
commit
12861aacda
|
@ -10,6 +10,7 @@
|
||||||
<issue id="IconDipSize" severity="error" />
|
<issue id="IconDipSize" severity="error" />
|
||||||
<issue id="IconDuplicatesConfig" severity="error" />
|
<issue id="IconDuplicatesConfig" severity="error" />
|
||||||
<issue id="IconDuplicates" severity="error" />
|
<issue id="IconDuplicates" severity="error" />
|
||||||
|
<issue id="IconExpectedSize" severity="error" />
|
||||||
|
|
||||||
<!-- UX -->
|
<!-- UX -->
|
||||||
<issue id="ButtonOrder" severity="error" />
|
<issue id="ButtonOrder" severity="error" />
|
||||||
|
@ -23,6 +24,7 @@
|
||||||
<issue id="InefficientWeight" severity="error" />
|
<issue id="InefficientWeight" severity="error" />
|
||||||
<issue id="DisableBaselineAlignment" severity="error" />
|
<issue id="DisableBaselineAlignment" severity="error" />
|
||||||
<issue id="ScrollViewSize" severity="error" />
|
<issue id="ScrollViewSize" severity="error" />
|
||||||
|
<issue id="NegativeMargin" severity="error" />
|
||||||
|
|
||||||
<!-- RTL -->
|
<!-- RTL -->
|
||||||
<issue id="RtlEnabled" severity="error" />
|
<issue id="RtlEnabled" severity="error" />
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
android:layout_marginLeft="-5dp"
|
android:layout_marginLeft="-5dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
|
tools:ignore="NegativeMargin"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@tools:sample/avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
@ -31,6 +32,7 @@
|
||||||
android:layout_marginLeft="-5dp"
|
android:layout_marginLeft="-5dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
|
tools:ignore="NegativeMargin"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@tools:sample/avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
@ -41,6 +43,7 @@
|
||||||
android:layout_marginLeft="-5dp"
|
android:layout_marginLeft="-5dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
|
tools:ignore="NegativeMargin"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@tools:sample/avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
@ -51,6 +54,7 @@
|
||||||
android:layout_marginLeft="-5dp"
|
android:layout_marginLeft="-5dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
|
tools:ignore="NegativeMargin"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@tools:sample/avatars" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
Loading…
Reference in New Issue