Introduced the ContentDescription lint check.

This commit is contained in:
MohitMaliFtechiz 2024-05-13 12:38:12 +05:30
parent 95ef46adf5
commit 72d1ea3340
2 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,6 @@ class AllProjectConfigurer {
add("SelectableText")
add("MissingTranslation")
add("IconDensities")
add("ContentDescription")
add("IconDipSize")
add("UnusedResources")
add("NonConstantResourceId")

View File

@ -11,6 +11,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="100dp"
android:contentDescription="@string/app_name"
android:src="@mipmap/ic_launcher_foreground"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"