Home | History | Annotate | Download | only in SupportContentDemos
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <issues format="4" by="lint 3.0.0">
      3 
      4     <issue
      5         id="AppCompatResource"
      6         message="Should use `android:showAsAction` when not using the appcompat library"
      7         errorLine1="          app:showAsAction=&quot;always&quot;/>"
      8         errorLine2="          ~~~~~~~~~~~~~~~~~~~~~~~~~">
      9         <location
     10             file="src/main/res/menu/menu_demo.xml"
     11             line="25"
     12             column="11"/>
     13     </issue>
     14 
     15     <issue
     16         id="AppCompatResource"
     17         message="Should use `android:showAsAction` when not using the appcompat library"
     18         errorLine1="          app:showAsAction=&quot;always&quot;/>"
     19         errorLine2="          ~~~~~~~~~~~~~~~~~~~~~~~~~">
     20         <location
     21             file="src/main/res/menu/menu_demo.xml"
     22             line="31"
     23             column="11"/>
     24     </issue>
     25 
     26     <issue
     27         id="AppCompatResource"
     28         message="Should use `android:showAsAction` when not using the appcompat library"
     29         errorLine1="          app:showAsAction=&quot;always&quot;/>"
     30         errorLine2="          ~~~~~~~~~~~~~~~~~~~~~~~~~">
     31         <location
     32             file="src/main/res/menu/menu_demo.xml"
     33             line="37"
     34             column="11"/>
     35     </issue>
     36 
     37     <issue
     38         id="AllowBackup"
     39         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"
     40         errorLine1="    &lt;application"
     41         errorLine2="    ^">
     42         <location
     43             file="src/main/AndroidManifest.xml"
     44             line="20"
     45             column="5"/>
     46     </issue>
     47 
     48     <issue
     49         id="GoogleAppIndexingWarning"
     50         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."
     51         errorLine1="    &lt;application"
     52         errorLine2="    ^">
     53         <location
     54             file="src/main/AndroidManifest.xml"
     55             line="20"
     56             column="5"/>
     57     </issue>
     58 
     59     <issue
     60         id="AlwaysShowAction"
     61         message="Prefer &quot;`ifRoom`&quot; instead of &quot;`always`&quot;"
     62         errorLine1="          app:showAsAction=&quot;always&quot;/>"
     63         errorLine2="          ~~~~~~~~~~~~~~~~~~~~~~~~~">
     64         <location
     65             file="src/main/res/menu/menu_demo.xml"
     66             line="25"
     67             column="11"/>
     68         <location
     69             file="src/main/res/menu/menu_demo.xml"
     70             line="31"
     71             column="11"/>
     72         <location
     73             file="src/main/res/menu/menu_demo.xml"
     74             line="37"
     75             column="11"/>
     76     </issue>
     77 
     78     <issue
     79         id="SetTextI18n"
     80         message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
     81         errorLine1="                holder.view.setText(&quot;Nope, couldn&apos;t position cursor to: &quot; + position);"
     82         errorLine2="                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
     83         <location
     84             file="src/main/java/com/example/android/support/content/demos/ContentPagerDemoActivity.java"
     85             line="183"
     86             column="37"/>
     87     </issue>
     88 
     89     <issue
     90         id="SetTextI18n"
     91         message="String literal in `setText` can not be translated. Use Android resources instead."
     92         errorLine1="                holder.view.setText(&quot;Nope, couldn&apos;t position cursor to: &quot; + position);"
     93         errorLine2="                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
     94         <location
     95             file="src/main/java/com/example/android/support/content/demos/ContentPagerDemoActivity.java"
     96             line="183"
     97             column="37"/>
     98     </issue>
     99 
    100 </issues>
    101