1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="4" by="lint 3.0.0"> 3 4 <issue 5 id="ScrollViewSize" 6 message="This TableLayout should use `android:layout_width="wrap_content"`" 7 errorLine1=" android:layout_width="match_parent"" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="src/main/res/layout/commit_content.xml" 11 line="41" 12 column="17"/> 13 </issue> 14 15 <issue 16 id="NewApi" 17 message="Call requires API level 17 (current min is 14): android.app.Fragment#getChildFragmentManager" 18 errorLine1=" mTabHost.setup(getActivity(), getChildFragmentManager(), R.id.pager);" 19 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 20 <location 21 file="src/main/java/com/example/android/supportv13/app/FragmentTabsFragment.java" 22 line="34" 23 column="39"/> 24 </issue> 25 26 <issue 27 id="AllowBackup" 28 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" 29 errorLine1=" <application android:label="@string/activity_sample_code"" 30 errorLine2=" ^"> 31 <location 32 file="src/main/AndroidManifest.xml" 33 line="34" 34 column="5"/> 35 </issue> 36 37 <issue 38 id="AllowBackup" 39 message="Should explicitly set `android:allowBackup` to `true` or `false` (it's `true` by default, and that can have some security implications for the application's data)" 40 errorLine1=" <application android:label="@string/activity_sample_code"" 41 errorLine2=" ^"> 42 <location 43 file="src/main/AndroidManifest.xml" 44 line="34" 45 column="5"/> 46 </issue> 47 48 <issue 49 id="Overdraw" 50 message="Possible overdraw: Root element paints background `@android:color/black` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" 51 errorLine1=" android:background="@android:color/black">" 52 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 53 <location 54 file="src/main/res/layout/commit_content.xml" 55 line="20" 56 column="14"/> 57 </issue> 58 59 <issue 60 id="UnusedResources" 61 message="The resource `R.drawable.alert_dialog_icon` appears to be unused"> 62 <location 63 file="src/main/res/drawable-hdpi/alert_dialog_icon.png"/> 64 <location 65 file="src/main/res/drawable-mdpi/alert_dialog_icon.png"/> 66 </issue> 67 68 <issue 69 id="UnusedResources" 70 message="The resource `R.drawable.red` appears to be unused" 71 errorLine1=" <drawable name="red">#7f00</drawable>" 72 errorLine2=" ~~~~~~~~~~"> 73 <location 74 file="src/main/res/values/colors.xml" 75 line="18" 76 column="15"/> 77 </issue> 78 79 <issue 80 id="UnusedResources" 81 message="The resource `R.drawable.blue` appears to be unused" 82 errorLine1=" <drawable name="blue">#770000ff</drawable>" 83 errorLine2=" ~~~~~~~~~~~"> 84 <location 85 file="src/main/res/values/colors.xml" 86 line="19" 87 column="15"/> 88 </issue> 89 90 <issue 91 id="UnusedResources" 92 message="The resource `R.drawable.green` appears to be unused" 93 errorLine1=" <drawable name="green">#7700ff00</drawable>" 94 errorLine2=" ~~~~~~~~~~~~"> 95 <location 96 file="src/main/res/values/colors.xml" 97 line="20" 98 column="15"/> 99 </issue> 100 101 <issue 102 id="UnusedResources" 103 message="The resource `R.drawable.yellow` appears to be unused" 104 errorLine1=" <drawable name="yellow">#77ffff00</drawable>" 105 errorLine2=" ~~~~~~~~~~~~~"> 106 <location 107 file="src/main/res/values/colors.xml" 108 line="21" 109 column="15"/> 110 </issue> 111 112 <issue 113 id="UnusedResources" 114 message="The resource `R.layout.simple_list_item_checkable_1` appears to be unused" 115 errorLine1="<com.example.android.supportv4.view.CheckableFrameLayout" 116 errorLine2="^"> 117 <location 118 file="src/main/res/layout/simple_list_item_checkable_1.xml" 119 line="17" 120 column="1"/> 121 </issue> 122 123 <issue 124 id="UnusedResources" 125 message="The resource `R.string.alert_dialog_two_buttons_title` appears to be unused" 126 errorLine1=" <string name="alert_dialog_two_buttons_title">" 127 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 128 <location 129 file="src/main/res/values/strings.xml" 130 line="23" 131 column="13"/> 132 </issue> 133 134 <issue 135 id="UnusedResources" 136 message="The resource `R.string.action_bar_tabs_pager` appears to be unused" 137 errorLine1=" <string name="action_bar_tabs_pager">Fragment/Action Bar Tabs Pager</string>" 138 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 139 <location 140 file="src/main/res/values/strings.xml" 141 line="38" 142 column="13"/> 143 </issue> 144 145 <issue 146 id="IconMissingDensityFolder" 147 message="Missing density variation folders in `src/main/res`: drawable-xhdpi, drawable-xxhdpi"> 148 <location 149 file="src/main/res"/> 150 </issue> 151 152 <issue 153 id="ButtonStyle" 154 message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" 155 errorLine1=" <Button android:id="@+id/goto_first"" 156 errorLine2=" ^"> 157 <location 158 file="src/main/res/layout/fragment_pager.xml" 159 line="36" 160 column="9"/> 161 </issue> 162 163 <issue 164 id="ButtonStyle" 165 message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" 166 errorLine1=" <Button android:id="@+id/goto_last"" 167 errorLine2=" ^"> 168 <location 169 file="src/main/res/layout/fragment_pager.xml" 170 line="40" 171 column="9"/> 172 </issue> 173 174 <issue 175 id="GoogleAppIndexingWarning" 176 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." 177 errorLine1=" <application android:label="@string/activity_sample_code"" 178 errorLine2=" ^"> 179 <location 180 file="src/main/AndroidManifest.xml" 181 line="34" 182 column="5"/> 183 </issue> 184 185 <issue 186 id="SetTextI18n" 187 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 188 errorLine1=" ((TextView)tv).setText("Fragment #" + mNum);" 189 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 190 <location 191 file="src/main/java/com/example/android/supportv13/app/CountingFragment.java" 192 line="63" 193 column="32"/> 194 </issue> 195 196 <issue 197 id="SetTextI18n" 198 message="String literal in `setText` can not be translated. Use Android resources instead." 199 errorLine1=" ((TextView)tv).setText("Fragment #" + mNum);" 200 errorLine2=" ~~~~~~~~~~~~"> 201 <location 202 file="src/main/java/com/example/android/supportv13/app/CountingFragment.java" 203 line="63" 204 column="32"/> 205 </issue> 206 207 <issue 208 id="SetTextI18n" 209 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 210 errorLine1=" ((TextView)tv).setText("Fragment #" + mNum);" 211 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 212 <location 213 file="src/main/java/com/example/android/supportv13/app/FragmentPagerSupport.java" 214 line="127" 215 column="36"/> 216 </issue> 217 218 <issue 219 id="SetTextI18n" 220 message="String literal in `setText` can not be translated. Use Android resources instead." 221 errorLine1=" ((TextView)tv).setText("Fragment #" + mNum);" 222 errorLine2=" ~~~~~~~~~~~~"> 223 <location 224 file="src/main/java/com/example/android/supportv13/app/FragmentPagerSupport.java" 225 line="127" 226 column="36"/> 227 </issue> 228 229 <issue 230 id="SetTextI18n" 231 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 232 errorLine1=" ((TextView)tv).setText("Fragment #" + mNum);" 233 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 234 <location 235 file="src/main/java/com/example/android/supportv13/app/FragmentStatePagerSupport.java" 236 line="127" 237 column="36"/> 238 </issue> 239 240 <issue 241 id="SetTextI18n" 242 message="String literal in `setText` can not be translated. Use Android resources instead." 243 errorLine1=" ((TextView)tv).setText("Fragment #" + mNum);" 244 errorLine2=" ~~~~~~~~~~~~"> 245 <location 246 file="src/main/java/com/example/android/supportv13/app/FragmentStatePagerSupport.java" 247 line="127" 248 column="36"/> 249 </issue> 250 251 <issue 252 id="HardcodedText" 253 message="Hardcoded string "MIME", should use `@string` resource" 254 errorLine1=" android:text="MIME"" 255 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 256 <location 257 file="src/main/res/layout/commit_content.xml" 258 line="50" 259 column="25"/> 260 </issue> 261 262 <issue 263 id="HardcodedText" 264 message="Hardcoded string "Label", should use `@string` resource" 265 errorLine1=" android:text="Label"" 266 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 267 <location 268 file="src/main/res/layout/commit_content.xml" 269 line="66" 270 column="25"/> 271 </issue> 272 273 <issue 274 id="HardcodedText" 275 message="Hardcoded string "URI", should use `@string` resource" 276 errorLine1=" android:text="URI"" 277 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 278 <location 279 file="src/main/res/layout/commit_content.xml" 280 line="82" 281 column="25"/> 282 </issue> 283 284 <issue 285 id="HardcodedText" 286 message="Hardcoded string "Link", should use `@string` resource" 287 errorLine1=" android:text="Link"" 288 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 289 <location 290 file="src/main/res/layout/commit_content.xml" 291 line="98" 292 column="25"/> 293 </issue> 294 295 <issue 296 id="HardcodedText" 297 message="Hardcoded string "Flags", should use `@string` resource" 298 errorLine1=" android:text="Flags"" 299 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 300 <location 301 file="src/main/res/layout/commit_content.xml" 302 line="114" 303 column="25"/> 304 </issue> 305 306 <issue 307 id="HardcodedText" 308 message="Hardcoded string "No items.", should use `@string` resource" 309 errorLine1=" android:text="No items."/>" 310 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 311 <location 312 file="src/main/res/layout/fragment_pager_list.xml" 313 line="49" 314 column="13"/> 315 </issue> 316 317 <issue 318 id="RtlEnabled" 319 message="The project references RTL attributes, but does not explicitly enable or disable RTL support with `android:supportsRtl` in the manifest"> 320 <location 321 file="src/main/AndroidManifest.xml"/> 322 </issue> 323 324</issues> 325