Xml文件  |  205行  |  7.22 KB

<?xml version="1.0" encoding="UTF-8"?>
<issues format="4" by="lint 3.0.0">

    <issue
        id="UnusedAttribute"
        message="Attribute `banner` is only used in API level 21 and higher (current min is 17)"
        errorLine1="        android:banner=&quot;@drawable/app_banner&quot;"
        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/AndroidManifest.xml"
            line="29"
            column="9"/>
    </issue>

    <issue
        id="UnusedAttribute"
        message="Attribute `banner` is only used in API level 21 and higher (current min is 17)"
        errorLine1="            android:banner=&quot;@drawable/app_banner&quot;"
        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/AndroidManifest.xml"
            line="35"
            column="13"/>
    </issue>

    <issue
        id="UnusedAttribute"
        message="Attribute `resizeableActivity` is only used in API level 24 and higher (current min is 17)"
        errorLine1="            android:resizeableActivity=&quot;true&quot;"
        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/AndroidManifest.xml"
            line="50"
            column="13"/>
    </issue>

    <issue
        id="UnusedAttribute"
        message="Attribute `supportsPictureInPicture` is only used in API level 24 and higher (current min is 17)"
        errorLine1="            android:supportsPictureInPicture=&quot;true&quot;>"
        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/AndroidManifest.xml"
            line="51"
            column="13"/>
    </issue>

    <issue
        id="InflateParams"
        message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout&apos;s root element)"
        errorLine1="        View view = inflater.inflate(R.layout.header_item, null);"
        errorLine2="                                                           ~~~~">
        <location
            file="src/main/java/com/google/android/leanbackjank/presenter/HeaderItemPresenter.java"
            line="44"
            column="60"/>
    </issue>

    <issue
        id="GradleDependency"
        message="A newer version of com.github.bumptech.glide:glide than 3.6.1 is available: 3.7.0"
        errorLine1="    implementation &apos;com.github.bumptech.glide:glide:3.6.1&apos;"
        errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="build.gradle"
            line="6"
            column="5"/>
    </issue>

    <issue
        id="AllowBackup"
        message="On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute `android:fullBackupContent` to specify an `@xml` resource which configures which files to backup. More info: https://developer.android.com/training/backup/autosyncapi.html"
        errorLine1="    &lt;application"
        errorLine2="    ^">
        <location
            file="src/main/AndroidManifest.xml"
            line="28"
            column="5"/>
    </issue>

    <issue
        id="AllowBackup"
        message="Should explicitly set `android:allowBackup` to `true` or `false` (it&apos;s `true` by default, and that can have some security implications for the application&apos;s data)"
        errorLine1="    &lt;application"
        errorLine2="    ^">
        <location
            file="src/main/AndroidManifest.xml"
            line="28"
            column="5"/>
    </issue>

    <issue
        id="UseCompoundDrawables"
        message="This tag and its children can be replaced by one `&lt;TextView/>` and a compound drawable"
        errorLine1="&lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
        errorLine2="^">
        <location
            file="src/main/res/layout/header_item.xml"
            line="18"
            column="1"/>
    </issue>

    <issue
        id="MergeRootFrame"
        message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
        errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
        errorLine2="^">
        <location
            file="src/main/res/layout/main.xml"
            line="18"
            column="1"/>
    </issue>

    <issue
        id="UnusedResources"
        message="The resource `R.dimen.card_width` appears to be unused"
        errorLine1="    &lt;dimen name=&quot;card_width&quot;>156dp&lt;/dimen>"
        errorLine2="           ~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/res/values/dimens.xml"
            line="20"
            column="12"/>
    </issue>

    <issue
        id="UnusedResources"
        message="The resource `R.dimen.card_height` appears to be unused"
        errorLine1="    &lt;dimen name=&quot;card_height&quot;>88dp&lt;/dimen>"
        errorLine2="           ~~~~~~~~~~~~~~~~~~">
        <location
            file="src/main/res/values/dimens.xml"
            line="21"
            column="12"/>
    </issue>

    <issue
        id="UnusedResources"
        message="The resource `R.drawable.movie` appears to be unused">
        <location
            file="src/main/res/drawable/movie.png"/>
    </issue>

    <issue
        id="IconLauncherShape"
        message="Launcher icons should not fill every pixel of their square region; see the design guide for details">
        <location
            file="src/main/res/drawable/app_banner.png"/>
    </issue>

    <issue
        id="IconLocation"
        message="Found bitmap drawable `res/drawable/android_header.png` in densityless folder">
        <location
            file="src/main/res/drawable/android_header.png"/>
    </issue>

    <issue
        id="IconLocation"
        message="Found bitmap drawable `res/drawable/app_banner.png` in densityless folder">
        <location
            file="src/main/res/drawable/app_banner.png"/>
    </issue>

    <issue
        id="IconLocation"
        message="Found bitmap drawable `res/drawable/movie.png` in densityless folder">
        <location
            file="src/main/res/drawable/movie.png"/>
    </issue>

    <issue
        id="MissingApplicationIcon"
        message="Should explicitly set `android:icon`, there is no default"
        errorLine1="    &lt;application"
        errorLine2="    ^">
        <location
            file="src/main/AndroidManifest.xml"
            line="28"
            column="5"/>
    </issue>

    <issue
        id="GoogleAppIndexingWarning"
        message="App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter. See issue explanation for more details."
        errorLine1="    &lt;application"
        errorLine2="    ^">
        <location
            file="src/main/AndroidManifest.xml"
            line="28"
            column="5"/>
    </issue>

    <issue
        id="ContentDescription"
        message="Missing `contentDescription` attribute on image"
        errorLine1="    &lt;ImageView"
        errorLine2="    ^">
        <location
            file="src/main/res/layout/header_item.xml"
            line="23"
            column="5"/>
    </issue>

</issues>