0

lint shows an overdraw issue because I set a background to a linear layout

<LinearLayout 
    android:background="@color/red">

but even I use a custom theme in the project the lint shows the issue with Holo theme. I don't know how (no usage for Holo theme)

Possible overdraw: Root element paints background @color/red with a theme that also paints a background (inferred theme is @android:style/Theme.Holo)

I made others overdraw issues on purpose but lint could not detect it.

0 Answers0