0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00

Enabled lint check "ObsoleteLayoutParam" (#10498)

This commit is contained in:
Anam Ansari 2022-03-15 22:33:46 +05:30 committed by GitHub
parent 3063aa95ad
commit dbe04e41a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -9,20 +9,16 @@
<include layout="@layout/toolbar"
android:id="@id/toolbar"
android:layout_alignParentTop="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<include
layout="@layout/reviewer_whiteboard_editor"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_above="@+id/bottom_area_layout"/>
android:layout_height="wrap_content" />
<FrameLayout
android:layout_gravity="center"
android:id="@+id/whiteboard"
android:layout_below="@id/whiteboard_editor"
android:layout_margin="0dip"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />

View File

@ -45,6 +45,7 @@
<issue id="WrongConstant" severity="fatal" />
<issue id="WrongViewCast" severity="fatal" />
<issue id="UnknownId" severity="fatal" />
<issue id="ObsoleteLayoutParam" severity="fatal" />
<!-- RTL Rules -->
<issue id="RtlCompat" severity="fatal" />
@ -265,7 +266,6 @@
<issue id="UnlocalizedSms" severity="ignore" />
<issue id="ObjectAnimatorBinding" severity="ignore" />
<issue id="AnimatorKeep" severity="ignore" />
<issue id="ObsoleteLayoutParam" severity="ignore" />
<issue id="OnClick" severity="ignore" />
<issue id="Overdraw" severity="ignore" />
<issue id="DalvikOverride" severity="ignore" />