Files
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

126 lines
5.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.0.1" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.1)" variant="all" version="8.0.1">
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 21"
errorLine1=" &lt;item name=&quot;android:statusBarColor&quot; tools:targetApi=&quot;l&quot;>?attr/colorPrimaryVariant&lt;/item>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values-night/themes.xml"
line="13"
column="45"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 21"
errorLine1=" &lt;item name=&quot;android:statusBarColor&quot; tools:targetApi=&quot;l&quot;>?attr/colorPrimaryVariant&lt;/item>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes.xml"
line="13"
column="45"/>
</issue>
<issue
id="Overdraw"
message="Possible overdraw: Root element paints background `#A8C4DA` with a theme that also paints a background (inferred theme is `@style/Theme.ResacaApp`)"
errorLine1=" android:background=&quot;#A8C4DA&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_two.xml"
line="6"
column="5"/>
</issue>
<issue
id="Overdraw"
message="Possible overdraw: Root element paints background `#C6C3C3` with a theme that also paints a background (inferred theme is `@style/Theme.ResacaApp`)"
errorLine1=" android:background=&quot;#C6C3C3&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/main_activity.xml"
line="8"
column="5"/>
</issue>
<issue
id="Overdraw"
message="Possible overdraw: Root element paints background `#FFFFFF` with a theme that also paints a background (inferred theme is `@style/Theme.ResacaApp`)"
errorLine1=" android:background=&quot;#FFFFFF&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/main_fragment.xml"
line="8"
column="5"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.style.Theme_ResacaApp_AppBarOverlay` appears to be unused"
errorLine1=" &lt;style name=&quot;Theme.ResacaApp.AppBarOverlay&quot; parent=&quot;ThemeOverlay.AppCompat.Dark.ActionBar&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes.xml"
line="22"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.style.Theme_ResacaApp_PopupOverlay` appears to be unused"
errorLine1=" &lt;style name=&quot;Theme.ResacaApp.PopupOverlay&quot; parent=&quot;ThemeOverlay.AppCompat.Light&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes.xml"
line="24"
column="12"/>
</issue>
<issue
id="MonochromeLauncherIcon"
message="The application adaptive icon is missing a monochrome tag"
errorLine1="&lt;adaptive-icon xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;>"
errorLine2="^">
<location
file="src/main/res/mipmap-anydpi-v26/ic_launcher.xml"
line="2"
column="1"/>
</issue>
<issue
id="MonochromeLauncherIcon"
message="The application adaptive roundIcon is missing a monochrome tag"
errorLine1="&lt;adaptive-icon xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;>"
errorLine2="^">
<location
file="src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml"
line="2"
column="1"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Fragment Two\n has destroyed the View of \n the previous fragment\n \nWhen you navigate back with \n hardware back button \n the View of the Fragment \n will be re-created&quot;, should use `@string` resource"
errorLine1=" &lt;TextView"
errorLine2=" ^">
<location
file="src/main/res/layout/fragment_two.xml"
line="9"
column="5"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;MainFragment&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;MainFragment&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/main_fragment.xml"
line="16"
column="9"/>
</issue>
</issues>