1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="4" by="lint 3.0.0"> 3 4 <issue 5 id="OnClick" 6 message="Corresponding method handler '`public void onAddTab(android.view.View)`' not found" 7 errorLine1=" android:onClick="onAddTab" />" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="src/main/res/layout/action_bar_tabs.xml" 11 line="32" 12 column="17"/> 13 </issue> 14 15 <issue 16 id="OnClick" 17 message="Corresponding method handler '`public void onRemoveTab(android.view.View)`' not found" 18 errorLine1=" android:onClick="onRemoveTab" />" 19 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 20 <location 21 file="src/main/res/layout/action_bar_tabs.xml" 22 line="37" 23 column="17"/> 24 </issue> 25 26 <issue 27 id="OnClick" 28 message="Corresponding method handler '`public void onToggleTabs(android.view.View)`' not found" 29 errorLine1=" android:onClick="onToggleTabs" />" 30 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 31 <location 32 file="src/main/res/layout/action_bar_tabs.xml" 33 line="42" 34 column="17"/> 35 </issue> 36 37 <issue 38 id="OnClick" 39 message="Corresponding method handler '`public void onRemoveAllTabs(android.view.View)`' not found" 40 errorLine1=" android:onClick="onRemoveAllTabs" />" 41 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 42 <location 43 file="src/main/res/layout/action_bar_tabs.xml" 44 line="47" 45 column="17"/> 46 </issue> 47 48 <issue 49 id="ScrollViewSize" 50 message="This LinearLayout should use `android:layout_height="wrap_content"`" 51 errorLine1=" android:layout_height="match_parent"" 52 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 53 <location 54 file="src/main/res/layout/action_bar_display_options.xml" 55 line="20" 56 column="19"/> 57 </issue> 58 59 <issue 60 id="ScrollViewSize" 61 message="This TextView should use `android:layout_height="wrap_content"`" 62 errorLine1=" android:layout_height="match_parent"" 63 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 64 <location 65 file="src/main/res/layout/drawer_layout.xml" 66 line="52" 67 column="17"/> 68 </issue> 69 70 <issue 71 id="ScrollViewSize" 72 message="This LinearLayout should use `android:layout_height="wrap_content"`" 73 errorLine1=" android:layout_height="match_parent"" 74 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 75 <location 76 file="src/main/res/layout/toolbar_display_options.xml" 77 line="36" 78 column="17"/> 79 </issue> 80 81 <issue 82 id="InconsistentLayout" 83 message="The id "vector_image" in layout "appcompat_animated_vector" is missing from the following layout configurations: layout (present in layout-v11)" 84 errorLine1=" <ImageView android:id="@+id/vector_image"" 85 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 86 <location 87 file="src/main/res/layout-v11/appcompat_animated_vector.xml" 88 line="23" 89 column="16"/> 90 </issue> 91 92 <issue 93 id="InlinedApi" 94 message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_TYPE_REMOTE`" 95 errorLine1=" .setPlaybackType(MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE)" 96 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 97 <location 98 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 99 line="172" 100 column="34"/> 101 </issue> 102 103 <issue 104 id="InlinedApi" 105 message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_VOLUME_FIXED`" 106 errorLine1=" .setVolumeHandling(MediaRouter.RouteInfo.PLAYBACK_VOLUME_FIXED)" 107 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 108 <location 109 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 110 line="173" 111 column="36"/> 112 </issue> 113 114 <issue 115 id="InlinedApi" 116 message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_TYPE_REMOTE`" 117 errorLine1=" .setPlaybackType(MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE)" 118 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 119 <location 120 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 121 line="185" 122 column="34"/> 123 </issue> 124 125 <issue 126 id="InlinedApi" 127 message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_VOLUME_VARIABLE`" 128 errorLine1=" .setVolumeHandling(MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE)" 129 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 130 <location 131 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 132 line="186" 133 column="36"/> 134 </issue> 135 136 <issue 137 id="InlinedApi" 138 message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_TYPE_REMOTE`" 139 errorLine1=" .setPlaybackType(MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE)" 140 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 141 <location 142 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 143 line="198" 144 column="34"/> 145 </issue> 146 147 <issue 148 id="InlinedApi" 149 message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_VOLUME_VARIABLE`" 150 errorLine1=" .setVolumeHandling(MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE)" 151 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 152 <location 153 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 154 line="199" 155 column="36"/> 156 </issue> 157 158 <issue 159 id="InlinedApi" 160 message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_TYPE_REMOTE`" 161 errorLine1=" .setPlaybackType(MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE)" 162 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 163 <location 164 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 165 line="213" 166 column="34"/> 167 </issue> 168 169 <issue 170 id="InlinedApi" 171 message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_VOLUME_VARIABLE`" 172 errorLine1=" .setVolumeHandling(MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE)" 173 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 174 <location 175 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 176 line="214" 177 column="36"/> 178 </issue> 179 180 <issue 181 id="MissingPrefix" 182 message="Unexpected namespace prefix "app" found for tag `Button`" 183 errorLine1=" app:backgroundTint="#00FF00"" 184 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 185 <location 186 file="src/main/res/layout/appcompat_widgets_buttons.xml" 187 line="142" 188 column="13"/> 189 </issue> 190 191 <issue 192 id="MissingPrefix" 193 message="Unexpected namespace prefix "app" found for tag `Button`" 194 errorLine1=" app:backgroundTint="#00FF00"" 195 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 196 <location 197 file="src/main/res/layout/appcompat_widgets_buttons.xml" 198 line="150" 199 column="13"/> 200 </issue> 201 202 <issue 203 id="SimpleDateFormat" 204 message="To get local formatting use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()`, or use `new SimpleDateFormat(String template, Locale locale)` with for example `Locale.US` for ASCII dates." 205 errorLine1=" mDateFormat = new SimpleDateFormat("HH:mm:ss.SSS");" 206 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 207 <location 208 file="src/main/java/com/example/android/supportv7/widget/ListPopupWindowActivity.java" 209 line="57" 210 column="23"/> 211 </issue> 212 213 <issue 214 id="SimpleDateFormat" 215 message="To get local formatting use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()`, or use `new SimpleDateFormat(String template, Locale locale)` with for example `Locale.US` for ASCII dates." 216 errorLine1=" mDateFormat = new SimpleDateFormat("HH:mm:ss.SSS");" 217 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 218 <location 219 file="src/main/java/com/example/android/supportv7/widget/PopupMenuActivity.java" 220 line="48" 221 column="23"/> 222 </issue> 223 224 <issue 225 id="ValidFragment" 226 message="Avoid non-default constructors in fragments: use a default constructor plus `Fragment#setArguments(Bundle)` instead" 227 errorLine1=" public ControllerDialogFragment(Player player, CheckBox customControlViewCheckBox) {" 228 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 229 <location 230 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 231 line="778" 232 column="16"/> 233 </issue> 234 235 <issue 236 id="AppCompatResource" 237 message="Should use `android:showAsAction` when not using the appcompat library" 238 errorLine1=" app:showAsAction="ifRoom"" 239 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 240 <location 241 file="src/main/res/menu/action_bar_settings_action_provider.xml" 242 line="20" 243 column="9"/> 244 </issue> 245 246 <issue 247 id="AppCompatResource" 248 message="Should use `android:actionProviderClass` when not using the appcompat library" 249 errorLine1=" app:actionProviderClass="com.example.android.supportv7.app.ActionBarSettingsActionProviderActivity$SettingsActionProvider"/>" 250 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 251 <location 252 file="src/main/res/menu/action_bar_settings_action_provider.xml" 253 line="21" 254 column="9"/> 255 </issue> 256 257 <issue 258 id="AppCompatResource" 259 message="Should use `android:showAsAction` when not using the appcompat library" 260 errorLine1=" app:showAsAction="never"" 261 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 262 <location 263 file="src/main/res/menu/action_bar_settings_action_provider.xml" 264 line="25" 265 column="9"/> 266 </issue> 267 268 <issue 269 id="AppCompatResource" 270 message="Should use `android:actionProviderClass` when not using the appcompat library" 271 errorLine1=" app:actionProviderClass="com.example.android.supportv7.app.ActionBarSettingsActionProviderActivity$SettingsActionProvider"/>" 272 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 273 <location 274 file="src/main/res/menu/action_bar_settings_action_provider.xml" 275 line="26" 276 column="9"/> 277 </issue> 278 279 <issue 280 id="AppCompatResource" 281 message="Should use `android:showAsAction` when not using the appcompat library" 282 errorLine1=" app:showAsAction="ifRoom"" 283 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 284 <location 285 file="src/main/res/menu/action_bar_share_action_provider.xml" 286 line="21" 287 column="9"/> 288 </issue> 289 290 <issue 291 id="AppCompatResource" 292 message="Should use `android:actionProviderClass` when not using the appcompat library" 293 errorLine1=" app:actionProviderClass="androidx.appcompat.widget.ShareActionProvider"/>" 294 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 295 <location 296 file="src/main/res/menu/action_bar_share_action_provider.xml" 297 line="22" 298 column="9"/> 299 </issue> 300 301 <issue 302 id="AppCompatResource" 303 message="Should use `android:showAsAction` when not using the appcompat library" 304 errorLine1=" app:showAsAction="ifRoom|collapseActionView"" 305 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 306 <location 307 file="src/main/res/menu/actions.xml" 308 line="23" 309 column="11"/> 310 </issue> 311 312 <issue 313 id="AppCompatResource" 314 message="Should use `android:actionViewClass` when not using the appcompat library" 315 errorLine1=" app:actionViewClass="androidx.appcompat.widget.SearchView" />" 316 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 317 <location 318 file="src/main/res/menu/actions.xml" 319 line="24" 320 column="11"/> 321 </issue> 322 323 <issue 324 id="AppCompatResource" 325 message="Should use `android:showAsAction` when not using the appcompat library" 326 errorLine1=" app:showAsAction="always" />" 327 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 328 <location 329 file="src/main/res/menu/actions.xml" 330 line="35" 331 column="11"/> 332 </issue> 333 334 <issue 335 id="AppCompatResource" 336 message="Should use `android:showAsAction` when not using the appcompat library" 337 errorLine1=" app:showAsAction="ifRoom" />" 338 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 339 <location 340 file="src/main/res/menu/actions.xml" 341 line="41" 342 column="11"/> 343 </issue> 344 345 <issue 346 id="AppCompatResource" 347 message="Should use `android:showAsAction` when not using the appcompat library" 348 errorLine1=" app:showAsAction="ifRoom">" 349 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 350 <location 351 file="src/main/res/menu/actions.xml" 352 line="45" 353 column="11"/> 354 </issue> 355 356 <issue 357 id="AppCompatResource" 358 message="Should use `android:showAsAction` when not using the appcompat library" 359 errorLine1=" app:showAsAction="ifRoom" />" 360 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 361 <location 362 file="src/main/res/menu/display_options_actions.xml" 363 line="20" 364 column="11"/> 365 </issue> 366 367 <issue 368 id="AppCompatResource" 369 message="Should use `android:showAsAction` when not using the appcompat library" 370 errorLine1=" app:showAsAction="always"/>" 371 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 372 <location 373 file="src/main/res/menu/menu_with_tinted_icons.xml" 374 line="26" 375 column="9"/> 376 </issue> 377 378 <issue 379 id="AppCompatResource" 380 message="Should use `android:showAsAction` when not using the appcompat library" 381 errorLine1=" app:showAsAction="always"/>" 382 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 383 <location 384 file="src/main/res/menu/menu_with_tinted_icons.xml" 385 line="34" 386 column="9"/> 387 </issue> 388 389 <issue 390 id="AppCompatResource" 391 message="Should use `android:showAsAction` when not using the appcompat library" 392 errorLine1=" app:showAsAction="always"/>" 393 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 394 <location 395 file="src/main/res/menu/menu_with_tinted_icons.xml" 396 line="42" 397 column="9"/> 398 </issue> 399 400 <issue 401 id="AppCompatResource" 402 message="Should use `android:showAsAction` when not using the appcompat library" 403 errorLine1=" app:showAsAction="always"" 404 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 405 <location 406 file="src/main/res/menu/sample_media_router_menu.xml" 407 line="21" 408 column="9"/> 409 </issue> 410 411 <issue 412 id="AppCompatResource" 413 message="Should use `android:actionProviderClass` when not using the appcompat library" 414 errorLine1=" app:actionProviderClass="androidx.mediarouter.app.MediaRouteActionProvider"/>" 415 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 416 <location 417 file="src/main/res/menu/sample_media_router_menu.xml" 418 line="22" 419 column="9"/> 420 </issue> 421 422 <issue 423 id="AppCompatResource" 424 message="Should use `android:showAsAction` when not using the appcompat library" 425 errorLine1=" app:showAsAction="always">" 426 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 427 <location 428 file="src/main/res/menu/sample_palette_actions.xml" 429 line="23" 430 column="9"/> 431 </issue> 432 433 <issue 434 id="InflateParams" 435 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 436 errorLine1=" View view = layoutInflater.inflate(R.layout.action_bar_settings_action_provider, null);" 437 errorLine2=" ~~~~"> 438 <location 439 file="src/main/java/com/example/android/supportv7/app/ActionBarSettingsActionProviderActivity.java" 440 line="74" 441 column="94"/> 442 </issue> 443 444 <issue 445 id="InflateParams" 446 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 447 errorLine1=" null));" 448 errorLine2=" ~~~~"> 449 <location 450 file="src/main/java/com/example/android/supportv7/widget/AnimatedRecyclerView.java" 451 line="692" 452 column="21"/> 453 </issue> 454 455 <issue 456 id="InflateParams" 457 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 458 errorLine1=" R.layout.overlay_display_window, null);" 459 errorLine2=" ~~~~"> 460 <location 461 file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" 462 line="292" 463 column="54"/> 464 </issue> 465 466 <issue 467 id="InflateParams" 468 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 469 errorLine1=" v = getLayoutInflater().inflate(R.layout.media_item, null);" 470 errorLine2=" ~~~~"> 471 <location 472 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 473 line="694" 474 column="70"/> 475 </issue> 476 477 <issue 478 id="InflateParams" 479 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 480 errorLine1=" v = getLayoutInflater().inflate(R.layout.media_item, null);" 481 errorLine2=" ~~~~"> 482 <location 483 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 484 line="729" 485 column="70"/> 486 </issue> 487 488 <issue 489 id="LongLogTag" 490 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 491 errorLine1=" Log.d(TAG, mRouteId + ": Controller created");" 492 errorLine2=" ~~~"> 493 <location 494 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 495 line="250" 496 column="19"/> 497 </issue> 498 499 <issue 500 id="LongLogTag" 501 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 502 errorLine1=" Log.d(TAG, mRouteId + ": Controller released");" 503 errorLine2=" ~~~"> 504 <location 505 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 506 line="255" 507 column="19"/> 508 </issue> 509 510 <issue 511 id="LongLogTag" 512 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 513 errorLine1=" Log.d(TAG, mRouteId + ": Selected");" 514 errorLine2=" ~~~"> 515 <location 516 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 517 line="261" 518 column="19"/> 519 </issue> 520 521 <issue 522 id="LongLogTag" 523 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 524 errorLine1=" Log.d(TAG, mRouteId + ": Unselected");" 525 errorLine2=" ~~~"> 526 <location 527 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 528 line="267" 529 column="19"/> 530 </issue> 531 532 <issue 533 id="LongLogTag" 534 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 535 errorLine1=" Log.d(TAG, mRouteId + ": Set volume to " + volume);" 536 errorLine2=" ~~~"> 537 <location 538 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 539 line="273" 540 column="19"/> 541 </issue> 542 543 <issue 544 id="LongLogTag" 545 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 546 errorLine1=" Log.d(TAG, mRouteId + ": Update volume by " + delta);" 547 errorLine2=" ~~~"> 548 <location 549 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 550 line="281" 551 column="19"/> 552 </issue> 553 554 <issue 555 id="LongLogTag" 556 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 557 errorLine1=" Log.d(TAG, mRouteId + ": Received control request " + intent);" 558 errorLine2=" ~~~"> 559 <location 560 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 561 line="289" 562 column="19"/> 563 </issue> 564 565 <issue 566 id="LongLogTag" 567 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 568 errorLine1=" Log.d(TAG, mSessionManager.toString());" 569 errorLine2=" ~~~"> 570 <location 571 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 572 line="316" 573 column="23"/> 574 </issue> 575 576 <issue 577 id="LongLogTag" 578 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 579 errorLine1=" Log.d(TAG, mRouteId + ": New volume is " + mVolume);" 580 errorLine2=" ~~~"> 581 <location 582 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 583 line="337" 584 column="23"/> 585 </issue> 586 587 <issue 588 id="LongLogTag" 589 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 590 errorLine1=" Log.d(TAG, "handlePlay fails because of bad sid="+sid);" 591 errorLine2=" ~~~"> 592 <location 593 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 594 line="348" 595 column="23"/> 596 </issue> 597 598 <issue 599 id="LongLogTag" 600 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 601 errorLine1=" Log.d(TAG, "handleEnqueue fails because of bad sid="+sid);" 602 errorLine2=" ~~~"> 603 <location 604 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 605 line="360" 606 column="23"/> 607 </issue> 608 609 <issue 610 id="LongLogTag" 611 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 612 errorLine1=" Log.d(TAG, "handleEnqueue fails because of bad uri="+uri);" 613 errorLine2=" ~~~"> 614 <location 615 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 616 line="366" 617 column="23"/> 618 </issue> 619 620 <issue 621 id="LongLogTag" 622 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 623 errorLine1=" Log.d(TAG, mRouteId + ": Received " + (enqueue?"enqueue":"play") + " request"" 624 errorLine2=" ~~~"> 625 <location 626 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 627 line="378" 628 column="19"/> 629 </issue> 630 631 <issue 632 id="LongLogTag" 633 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 634 errorLine1=" Log.d(TAG, mRouteId + ": Received seek request, pos=" + pos);" 635 errorLine2=" ~~~"> 636 <location 637 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 638 line="432" 639 column="19"/> 640 </issue> 641 642 <issue 643 id="LongLogTag" 644 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 645 errorLine1=" Log.d(TAG, mRouteId + ": Received getStatus request, sid=" + sid + ", iid=" + iid);" 646 errorLine2=" ~~~"> 647 <location 648 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 649 line="451" 650 column="19"/> 651 </issue> 652 653 <issue 654 id="LongLogTag" 655 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 656 errorLine1=" Log.d(TAG, "StartSession returns sessionId "+sid);" 657 errorLine2=" ~~~"> 658 <location 659 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 660 line="514" 661 column="19"/> 662 </issue> 663 664 <issue 665 id="LongLogTag" 666 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 667 errorLine1=" Log.d(TAG, mRouteId + ": Sending status update from provider");" 668 errorLine2=" ~~~"> 669 <location 670 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 671 line="583" 672 column="31"/> 673 </issue> 674 675 <issue 676 id="LongLogTag" 677 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 678 errorLine1=" Log.d(TAG, mRouteId + ": Failed to send status update!");" 679 errorLine2=" ~~~"> 680 <location 681 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 682 line="585" 683 column="31"/> 684 </issue> 685 686 <issue 687 id="LongLogTag" 688 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 689 errorLine1=" Log.d(TAG, mRouteId + ": Sending session status update from provider");" 690 errorLine2=" ~~~"> 691 <location 692 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 693 line="599" 694 column="27"/> 695 </issue> 696 697 <issue 698 id="LongLogTag" 699 message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" 700 errorLine1=" Log.d(TAG, mRouteId + ": Failed to send session status update!");" 701 errorLine2=" ~~~"> 702 <location 703 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 704 line="601" 705 column="27"/> 706 </issue> 707 708 <issue 709 id="LongLogTag" 710 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 711 errorLine1=" Log.d(TAG, "onRouteAdded: route=" + route);" 712 errorLine2=" ~~~"> 713 <location 714 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 715 line="119" 716 column="19"/> 717 </issue> 718 719 <issue 720 id="LongLogTag" 721 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 722 errorLine1=" Log.d(TAG, "onRouteChanged: route=" + route);" 723 errorLine2=" ~~~"> 724 <location 725 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 726 line="124" 727 column="19"/> 728 </issue> 729 730 <issue 731 id="LongLogTag" 732 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 733 errorLine1=" Log.d(TAG, "onRouteRemoved: route=" + route);" 734 errorLine2=" ~~~"> 735 <location 736 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 737 line="129" 738 column="19"/> 739 </issue> 740 741 <issue 742 id="LongLogTag" 743 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 744 errorLine1=" Log.d(TAG, "onRouteSelected: route=" + route);" 745 errorLine2=" ~~~"> 746 <location 747 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 748 line="134" 749 column="19"/> 750 </issue> 751 752 <issue 753 id="LongLogTag" 754 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 755 errorLine1=" Log.d(TAG, "onRouteUnselected: route=" + route);" 756 errorLine2=" ~~~"> 757 <location 758 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 759 line="148" 760 column="19"/> 761 </issue> 762 763 <issue 764 id="LongLogTag" 765 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 766 errorLine1=" Log.d(TAG, "onRouteVolumeChanged: route=" + route);" 767 errorLine2=" ~~~"> 768 <location 769 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 770 line="165" 771 column="19"/> 772 </issue> 773 774 <issue 775 id="LongLogTag" 776 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 777 errorLine1=" Log.d(TAG, "onRoutePresentationDisplayChanged: route=" + route);" 778 errorLine2=" ~~~"> 779 <location 780 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 781 line="171" 782 column="19"/> 783 </issue> 784 785 <issue 786 id="LongLogTag" 787 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 788 errorLine1=" Log.d(TAG, "onRouteProviderAdded: provider=" + provider);" 789 errorLine2=" ~~~"> 790 <location 791 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 792 line="179" 793 column="19"/> 794 </issue> 795 796 <issue 797 id="LongLogTag" 798 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 799 errorLine1=" Log.d(TAG, "onRouteProviderRemoved: provider=" + provider);" 800 errorLine2=" ~~~"> 801 <location 802 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 803 line="184" 804 column="19"/> 805 </issue> 806 807 <issue 808 id="LongLogTag" 809 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 810 errorLine1=" Log.d(TAG, "onRouteProviderChanged: provider=" + provider);" 811 errorLine2=" ~~~"> 812 <location 813 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 814 line="189" 815 column="19"/> 816 </issue> 817 818 <issue 819 id="LongLogTag" 820 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 821 errorLine1=" Log.d(TAG, "onAudioFocusChange: LOSS_TRANSIENT");" 822 errorLine2=" ~~~"> 823 <location 824 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 825 line="206" 826 column="23"/> 827 </issue> 828 829 <issue 830 id="LongLogTag" 831 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 832 errorLine1=" Log.d(TAG, "onAudioFocusChange: AUDIOFOCUS_GAIN");" 833 errorLine2=" ~~~"> 834 <location 835 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 836 line="208" 837 column="23"/> 838 </issue> 839 840 <issue 841 id="LongLogTag" 842 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 843 errorLine1=" Log.d(TAG, "onAudioFocusChange: AUDIOFOCUS_LOSS");" 844 errorLine2=" ~~~"> 845 <location 846 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 847 line="210" 848 column="23"/> 849 </issue> 850 851 <issue 852 id="LongLogTag" 853 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 854 errorLine1=" Log.d(TAG, "Received Play/Pause event from RemoteControlClient");" 855 errorLine2=" ~~~"> 856 <location 857 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 858 line="449" 859 column="27"/> 860 </issue> 861 862 <issue 863 id="LongLogTag" 864 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 865 errorLine1=" Log.d(TAG, "Received Play event from RemoteControlClient");" 866 errorLine2=" ~~~"> 867 <location 868 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 869 line="459" 870 column="27"/> 871 </issue> 872 873 <issue 874 id="LongLogTag" 875 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 876 errorLine1=" Log.d(TAG, "Received Pause event from RemoteControlClient");" 877 errorLine2=" ~~~"> 878 <location 879 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 880 line="467" 881 column="27"/> 882 </issue> 883 884 <issue 885 id="LongLogTag" 886 message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" 887 errorLine1=" Log.d(TAG, "Received Stop event from RemoteControlClient");" 888 errorLine2=" ~~~"> 889 <location 890 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 891 line="475" 892 column="27"/> 893 </issue> 894 895 <issue 896 id="SpUsage" 897 message="Should use "`sp`" instead of "`dp`" for text sizes" 898 errorLine1=" android:textSize="32dip"" 899 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 900 <location 901 file="src/main/res/layout-land/grid_layout_2.xml" 902 line="29" 903 column="9"/> 904 </issue> 905 906 <issue 907 id="SpUsage" 908 message="Should use "`sp`" instead of "`dp`" for text sizes" 909 errorLine1=" android:textSize="32dip"" 910 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 911 <location 912 file="src/main/res/layout/grid_layout_2.xml" 913 line="29" 914 column="9"/> 915 </issue> 916 917 <issue 918 id="SpUsage" 919 message="Should use "`sp`" instead of "`dp`" for text sizes" 920 errorLine1=" android:textSize="16dip"" 921 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 922 <location 923 file="src/main/res/layout-land/grid_layout_2.xml" 924 line="35" 925 column="9"/> 926 </issue> 927 928 <issue 929 id="SpUsage" 930 message="Should use "`sp`" instead of "`dp`" for text sizes" 931 errorLine1=" android:textSize="16dip"" 932 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 933 <location 934 file="src/main/res/layout/grid_layout_2.xml" 935 line="35" 936 column="9"/> 937 </issue> 938 939 <issue 940 id="Typos" 941 message=""Ok" is usually capitalized as "OK"" 942 errorLine1=" <string name="grid_layout_1_ok">Ok</string>" 943 errorLine2=" ^"> 944 <location 945 file="src/main/res/values/strings.xml" 946 line="53" 947 column="37"/> 948 </issue> 949 950 <issue 951 id="ExportedPreferenceActivity" 952 message="`PreferenceActivity` subclass `com.example.android.supportv7.app.ActionBarPreferences` should not be exported" 953 errorLine1=" <activity android:name=".app.ActionBarPreferences"" 954 errorLine2=" ^"> 955 <location 956 file="src/main/AndroidManifest.xml" 957 line="201" 958 column="9"/> 959 </issue> 960 961 <issue 962 id="WrongConstant" 963 message="Must be one or more of: PendingIntent.FLAG_ONE_SHOT, PendingIntent.FLAG_NO_CREATE, PendingIntent.FLAG_CANCEL_CURRENT, PendingIntent.FLAG_UPDATE_CURRENT, PendingIntent.FLAG_IMMUTABLE, Intent.FILL_IN_ACTION, Intent.FILL_IN_DATA, Intent.FILL_IN_CATEGORIES, Intent.FILL_IN_COMPONENT, Intent.FILL_IN_PACKAGE, Intent.FILL_IN_SOURCE_BOUNDS, Intent.FILL_IN_SELECTOR, Intent.FILL_IN_CLIP_DATA" 964 errorLine1=" Intent.FLAG_ACTIVITY_NEW_TASK).getIntentSender();" 965 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 966 <location 967 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" 968 line="164" 969 column="17"/> 970 </issue> 971 972 <issue 973 id="ExportedContentProvider" 974 message="Exported content providers can provide access to potentially sensitive data" 975 errorLine1=" <provider android:name=".app.RecentSuggestionsProvider"" 976 errorLine2=" ^"> 977 <location 978 file="src/main/AndroidManifest.xml" 979 line="376" 980 column="9"/> 981 </issue> 982 983 <issue 984 id="ExportedService" 985 message="Exported service does not require permission" 986 errorLine1=" <service android:name=".media.SampleMediaRouteProviderService"" 987 errorLine2=" ^"> 988 <location 989 file="src/main/AndroidManifest.xml" 990 line="101" 991 column="9"/> 992 </issue> 993 994 <issue 995 id="AllowBackup" 996 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" 997 errorLine1=" <application android:label="@string/activity_sample_code"" 998 errorLine2=" ^"> 999 <location 1000 file="src/main/AndroidManifest.xml" 1001 line="44" 1002 column="5"/> 1003 </issue> 1004 1005 <issue 1006 id="AllowBackup" 1007 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)" 1008 errorLine1=" <application android:label="@string/activity_sample_code"" 1009 errorLine2=" ^"> 1010 <location 1011 file="src/main/AndroidManifest.xml" 1012 line="44" 1013 column="5"/> 1014 </issue> 1015 1016 <issue 1017 id="ObsoleteSdkInt" 1018 message="Unnecessary; SDK_INT is never < 14" 1019 errorLine1=" if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB_MR1" 1020 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1021 <location 1022 file="src/main/java/com/example/android/supportv7/widget/AnimatedRecyclerView.java" 1023 line="210" 1024 column="21"/> 1025 </issue> 1026 1027 <issue 1028 id="ObsoleteSdkInt" 1029 message="Unnecessary; SDK_INT is always >= 14" 1030 errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {" 1031 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1032 <location 1033 file="src/main/java/com/example/android/supportv7/widget/touch/SwipeToDismissActivity.java" 1034 line="76" 1035 column="13"/> 1036 </issue> 1037 1038 <issue 1039 id="ObsoleteSdkInt" 1040 message="This folder configuration (`v11`) is unnecessary; `minSdkVersion` is 14. Merge all the resources in this folder into `layout`."> 1041 <location 1042 file="src/main/res/layout-v11"/> 1043 </issue> 1044 1045 <issue 1046 id="StaticFieldLeak" 1047 message="This AsyncTask class should be static or leaks might occur (anonymous android.os.AsyncTask)" 1048 errorLine1=" new AsyncTask<List<String>, Void, Pair<List<String>, DiffUtil.DiffResult>>() {" 1049 errorLine2=" ^"> 1050 <location 1051 file="src/main/java/com/example/android/supportv7/util/DiffUtilActivity.java" 1052 line="73" 1053 column="17"/> 1054 </issue> 1055 1056 <issue 1057 id="StaticFieldLeak" 1058 message="This AsyncTask class should be static or leaks might occur (anonymous android.os.AsyncTask)" 1059 errorLine1=" new AsyncTask<Void, Void, Bitmap>() {" 1060 errorLine2=" ^"> 1061 <location 1062 file="src/main/java/com/example/android/supportv7/graphics/ImageLoader.java" 1063 line="59" 1064 column="9"/> 1065 </issue> 1066 1067 <issue 1068 id="StaticFieldLeak" 1069 message="Do not place Android context classes in static fields (static reference to `SampleMediaRouterActivity` which has field `mInfoTextView` pointing to `TextView`); this is a memory leak (and also breaks Instant Run)" 1070 errorLine1=" private static SampleMediaRouterActivity mActivity;" 1071 errorLine2=" ~~~~~~"> 1072 <location 1073 file="src/main/java/com/example/android/supportv7/media/SampleMediaButtonReceiver.java" 1074 line="33" 1075 column="13"/> 1076 </issue> 1077 1078 <issue 1079 id="UseCompoundDrawables" 1080 message="This tag and its children can be replaced by one `<TextView/>` and a compound drawable" 1081 errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1082 errorLine2="^"> 1083 <location 1084 file="src/main/res/layout/dialog_content.xml" 1085 line="18" 1086 column="1"/> 1087 </issue> 1088 1089 <issue 1090 id="MergeRootFrame" 1091 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 1092 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1093 errorLine2="^"> 1094 <location 1095 file="src/main/res/layout/action_bar_action_mode.xml" 1096 line="16" 1097 column="1"/> 1098 </issue> 1099 1100 <issue 1101 id="MergeRootFrame" 1102 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 1103 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1104 errorLine2="^"> 1105 <location 1106 file="src/main/res/layout-v11/appcompat_animated_vector.xml" 1107 line="18" 1108 column="1"/> 1109 </issue> 1110 1111 <issue 1112 id="MergeRootFrame" 1113 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 1114 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1115 errorLine2="^"> 1116 <location 1117 file="src/main/res/layout/appcompat_animated_vector.xml" 1118 line="18" 1119 column="1"/> 1120 </issue> 1121 1122 <issue 1123 id="InefficientWeight" 1124 message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" 1125 errorLine1=" android:layout_height="wrap_content"" 1126 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1127 <location 1128 file="src/main/res/layout/palette_activity_detail.xml" 1129 line="35" 1130 column="11"/> 1131 </issue> 1132 1133 <issue 1134 id="InefficientWeight" 1135 message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" 1136 errorLine1=" android:layout_height="wrap_content"" 1137 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1138 <location 1139 file="src/main/res/layout/sample_media_router.xml" 1140 line="50" 1141 column="29"/> 1142 </issue> 1143 1144 <issue 1145 id="InefficientWeight" 1146 message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" 1147 errorLine1=" android:layout_height="wrap_content"" 1148 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1149 <location 1150 file="src/main/res/layout/sample_media_router.xml" 1151 line="60" 1152 column="29"/> 1153 </issue> 1154 1155 <issue 1156 id="InefficientWeight" 1157 message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" 1158 errorLine1=" android:layout_height="wrap_content"" 1159 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1160 <location 1161 file="src/main/res/layout/sample_media_router.xml" 1162 line="70" 1163 column="29"/> 1164 </issue> 1165 1166 <issue 1167 id="NestedWeights" 1168 message="Nested weights are bad for performance" 1169 errorLine1=" android:layout_weight="1">" 1170 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 1171 <location 1172 file="src/main/res/layout/sample_media_router.xml" 1173 line="32" 1174 column="13"/> 1175 </issue> 1176 1177 <issue 1178 id="Overdraw" 1179 message="Possible overdraw: Root element paints background `?attr/actionBarItemBackground` with a theme that also paints a background (inferred theme is `@style/Theme_AppCompat_Light_DarkActionBar`)" 1180 errorLine1=" android:background="?attr/actionBarItemBackground"" 1181 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1182 <location 1183 file="src/main/res/layout/action_bar_settings_action_provider.xml" 1184 line="23" 1185 column="5"/> 1186 </issue> 1187 1188 <issue 1189 id="Overdraw" 1190 message="Possible overdraw: Root element paints background `#ffffffff` with a theme that also paints a background (inferred theme is `@style/Theme_AppCompat_Light_NoActionBar`)" 1191 errorLine1=" android:background="#ffffffff"" 1192 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1193 <location 1194 file="src/main/res/layout/activity_card_view.xml" 1195 line="20" 1196 column="15"/> 1197 </issue> 1198 1199 <issue 1200 id="Overdraw" 1201 message="Possible overdraw: Root element paints background `@drawable/blue` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" 1202 errorLine1=" android:background="@drawable/blue"" 1203 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1204 <location 1205 file="src/main/res/layout/grid_layout_1.xml" 1206 line="27" 1207 column="5"/> 1208 </issue> 1209 1210 <issue 1211 id="Overdraw" 1212 message="Possible overdraw: Root element paints background `#000000` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" 1213 errorLine1=" android:background="#000000">" 1214 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1215 <location 1216 file="src/main/res/layout/overlay_display_window.xml" 1217 line="21" 1218 column="7"/> 1219 </issue> 1220 1221 <issue 1222 id="Overdraw" 1223 message="Possible overdraw: Root element paints background `#ff000000` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" 1224 errorLine1=" android:background="#ff000000">" 1225 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1226 <location 1227 file="src/main/res/layout/sample_media_router_presentation.xml" 1228 line="23" 1229 column="5"/> 1230 </issue> 1231 1232 <issue 1233 id="UnusedResources" 1234 message="The resource `R.layout.action_bar_tab_content` appears to be unused" 1235 errorLine1="<TextView xmlns:android="http://schemas.android.com/apk/res/android"" 1236 errorLine2="^"> 1237 <location 1238 file="src/main/res/layout/action_bar_tab_content.xml" 1239 line="16" 1240 column="1"/> 1241 </issue> 1242 1243 <issue 1244 id="UnusedResources" 1245 message="The resource `R.layout.action_bar_tabs` appears to be unused" 1246 errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1247 errorLine2="^"> 1248 <location 1249 file="src/main/res/layout/action_bar_tabs.xml" 1250 line="16" 1251 column="1"/> 1252 </issue> 1253 1254 <issue 1255 id="UnusedResources" 1256 message="The resource `R.layout.sample_media_controller` appears to be unused" 1257 errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1258 errorLine2="^"> 1259 <location 1260 file="src/main/res/layout/sample_media_controller.xml" 1261 line="19" 1262 column="1"/> 1263 </issue> 1264 1265 <issue 1266 id="UnusedResources" 1267 message="The resource `R.string.sample_media_router_text` appears to be unused" 1268 errorLine1=" <string name="sample_media_router_text">This activity demonstrates how to" 1269 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1270 <location 1271 file="src/main/res/values/strings.xml" 1272 line="25" 1273 column="13"/> 1274 </issue> 1275 1276 <issue 1277 id="UnusedResources" 1278 message="The resource `R.string.variable_volume_route_group_name` appears to be unused" 1279 errorLine1=" <string name="variable_volume_route_group_name">Variable Volume Route Group</string>" 1280 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1281 <location 1282 file="src/main/res/values/strings.xml" 1283 line="42" 1284 column="13"/> 1285 </issue> 1286 1287 <issue 1288 id="UnusedResources" 1289 message="The resource `R.string.mixed_volume_route_group_name` appears to be unused" 1290 errorLine1=" <string name="mixed_volume_route_group_name">Mixed Volume Route Group</string>" 1291 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1292 <location 1293 file="src/main/res/values/strings.xml" 1294 line="43" 1295 column="13"/> 1296 </issue> 1297 1298 <issue 1299 id="UnusedResources" 1300 message="The resource `R.string.action_bar_tabs` appears to be unused" 1301 errorLine1=" <string name="action_bar_tabs">AppCompat/Action Bar/Action Bar Tabs</string>" 1302 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1303 <location 1304 file="src/main/res/values/strings.xml" 1305 line="60" 1306 column="13"/> 1307 </issue> 1308 1309 <issue 1310 id="UnusedResources" 1311 message="The resource `R.string.action_bar_with_navigation_drawer` appears to be unused" 1312 errorLine1=" <string name="action_bar_with_navigation_drawer">AppCompat/Action Bar/Navigation Drawer Toggle</string>" 1313 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1314 <location 1315 file="src/main/res/values/strings.xml" 1316 line="64" 1317 column="13"/> 1318 </issue> 1319 1320 <issue 1321 id="UnusedResources" 1322 message="The resource `R.string.toggle_navigation` appears to be unused" 1323 errorLine1=" <string name="toggle_navigation">Navigation</string>" 1324 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 1325 <location 1326 file="src/main/res/values/strings.xml" 1327 line="92" 1328 column="13"/> 1329 </issue> 1330 1331 <issue 1332 id="UnusedResources" 1333 message="The resource `R.string.btn_add_tab` appears to be unused" 1334 errorLine1=" <string name="btn_add_tab">Add new tab</string>" 1335 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 1336 <location 1337 file="src/main/res/values/strings.xml" 1338 line="99" 1339 column="13"/> 1340 </issue> 1341 1342 <issue 1343 id="UnusedResources" 1344 message="The resource `R.string.btn_remove_tab` appears to be unused" 1345 errorLine1=" <string name="btn_remove_tab">Remove last tab</string>" 1346 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 1347 <location 1348 file="src/main/res/values/strings.xml" 1349 line="100" 1350 column="13"/> 1351 </issue> 1352 1353 <issue 1354 id="UnusedResources" 1355 message="The resource `R.string.btn_toggle_tabs` appears to be unused" 1356 errorLine1=" <string name="btn_toggle_tabs">Toggle tab mode</string>" 1357 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1358 <location 1359 file="src/main/res/values/strings.xml" 1360 line="101" 1361 column="13"/> 1362 </issue> 1363 1364 <issue 1365 id="UnusedResources" 1366 message="The resource `R.string.btn_remove_all_tabs` appears to be unused" 1367 errorLine1=" <string name="btn_remove_all_tabs">Remove all tabs</string>" 1368 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1369 <location 1370 file="src/main/res/values/strings.xml" 1371 line="102" 1372 column="13"/> 1373 </issue> 1374 1375 <issue 1376 id="UnusedResources" 1377 message="The resource `R.string.sliding_pane_layout_support` appears to be unused" 1378 errorLine1=" <string name="sliding_pane_layout_support">Widget/Sliding pane layout</string>" 1379 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1380 <location 1381 file="src/main/res/values/strings.xml" 1382 line="113" 1383 column="13"/> 1384 </issue> 1385 1386 <issue 1387 id="UnusedResources" 1388 message="The resource `R.string.sliding_pane_layout_summary` appears to be unused" 1389 errorLine1=" <string name="sliding_pane_layout_summary">This activity illustrates the use of sliding panes." 1390 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1391 <location 1392 file="src/main/res/values/strings.xml" 1393 line="115" 1394 column="13"/> 1395 </issue> 1396 1397 <issue 1398 id="UnusedNamespace" 1399 message="Unused namespace declaration xmlns:android; already declared on the root element" 1400 errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1401 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1402 <location 1403 file="src/main/res/layout/animated_recycler_view.xml" 1404 line="9" 1405 column="19"/> 1406 </issue> 1407 1408 <issue 1409 id="UnusedNamespace" 1410 message="Unused namespace declaration xmlns:android; already declared on the root element" 1411 errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1412 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1413 <location 1414 file="src/main/res/layout/animated_recycler_view.xml" 1415 line="37" 1416 column="19"/> 1417 </issue> 1418 1419 <issue 1420 id="UnusedNamespace" 1421 message="Unused namespace declaration xmlns:android; already declared on the root element" 1422 errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1423 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1424 <location 1425 file="src/main/res/layout/appcompat_night_mode.xml" 1426 line="22" 1427 column="19"/> 1428 </issue> 1429 1430 <issue 1431 id="UnusedNamespace" 1432 message="Unused namespace declaration xmlns:android; already declared on the root element" 1433 errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1434 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1435 <location 1436 file="src/main/res/layout/appcompat_widgets_buttons.xml" 1437 line="23" 1438 column="19"/> 1439 </issue> 1440 1441 <issue 1442 id="UnusedNamespace" 1443 message="Unused namespace declaration xmlns:android; already declared on the root element" 1444 errorLine1=" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1445 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1446 <location 1447 file="src/main/res/layout/toolbar_action_mode.xml" 1448 line="28" 1449 column="18"/> 1450 </issue> 1451 1452 <issue 1453 id="TypographyEllipsis" 1454 message="Replace "..." with ellipsis character (…, &#8230;) ?" 1455 errorLine1=" <string name="media_route_menu_title">Play on...</string>" 1456 errorLine2=" ^"> 1457 <location 1458 file="src/main/res/values/strings.xml" 1459 line="27" 1460 column="43"/> 1461 </issue> 1462 1463 <issue 1464 id="TypographyEllipsis" 1465 message="Replace "..." with ellipsis character (…, &#8230;) ?" 1466 errorLine1=" <string name="action_bar_fragment_menu_msg">Build menus from three fragments, the last one" 1467 errorLine2=" ^"> 1468 <location 1469 file="src/main/res/values/strings.xml" 1470 line="105" 1471 column="49"/> 1472 </issue> 1473 1474 <issue 1475 id="TypographyEllipsis" 1476 message="Replace "..." with ellipsis character (…, &#8230;) ?" 1477 errorLine1=" <string name="search_hint">Search...</string>" 1478 errorLine2=" ^"> 1479 <location 1480 file="src/main/res/values/strings.xml" 1481 line="180" 1482 column="32"/> 1483 </issue> 1484 1485 <issue 1486 id="IconDensities" 1487 message="Missing the following drawables in `drawable-xhdpi`: apidemo_androidlogo.png, app_sample_code.png, ic_android.png, ic_launcher_settings.png, ic_media_pause.png... (4 more)"> 1488 <location 1489 file="src/main/res/drawable-xhdpi"/> 1490 </issue> 1491 1492 <issue 1493 id="IconDuplicates" 1494 message="The following unrelated icon files have identical contents: drawer_shadow_end.9.png, drawer_shadow.9.png"> 1495 <location 1496 file="src/main/res/drawable-ldrtl-hdpi/drawer_shadow.9.png"/> 1497 <location 1498 file="src/main/res/drawable-hdpi/drawer_shadow_end.9.png"/> 1499 </issue> 1500 1501 <issue 1502 id="IconDuplicates" 1503 message="The following unrelated icon files have identical contents: drawer_shadow_end.9.png, drawer_shadow.9.png"> 1504 <location 1505 file="src/main/res/drawable-mdpi/drawer_shadow.9.png"/> 1506 <location 1507 file="src/main/res/drawable-ldrtl-mdpi/drawer_shadow_end.9.png"/> 1508 </issue> 1509 1510 <issue 1511 id="IconDuplicates" 1512 message="The following unrelated icon files have identical contents: drawer_shadow_end.9.png, drawer_shadow.9.png"> 1513 <location 1514 file="src/main/res/drawable-xhdpi/drawer_shadow.9.png"/> 1515 <location 1516 file="src/main/res/drawable-ldrtl-xhdpi/drawer_shadow_end.9.png"/> 1517 </issue> 1518 1519 <issue 1520 id="IconDuplicates" 1521 message="The following unrelated icon files have identical contents: drawer_shadow.9.png, drawer_shadow_end.9.png"> 1522 <location 1523 file="src/main/res/drawable-ldrtl-hdpi/drawer_shadow_end.9.png"/> 1524 <location 1525 file="src/main/res/drawable-hdpi/drawer_shadow.9.png"/> 1526 </issue> 1527 1528 <issue 1529 id="IconDuplicates" 1530 message="The following unrelated icon files have identical contents: drawer_shadow.9.png, drawer_shadow_end.9.png"> 1531 <location 1532 file="src/main/res/drawable-mdpi/drawer_shadow_end.9.png"/> 1533 <location 1534 file="src/main/res/drawable-ldrtl-mdpi/drawer_shadow.9.png"/> 1535 </issue> 1536 1537 <issue 1538 id="IconDuplicates" 1539 message="The following unrelated icon files have identical contents: drawer_shadow.9.png, drawer_shadow_end.9.png"> 1540 <location 1541 file="src/main/res/drawable-xhdpi/drawer_shadow_end.9.png"/> 1542 <location 1543 file="src/main/res/drawable-ldrtl-xhdpi/drawer_shadow.9.png"/> 1544 </issue> 1545 1546 <issue 1547 id="IconMissingDensityFolder" 1548 message="Missing density variation folders in `src/main/res`: drawable-xxhdpi"> 1549 <location 1550 file="src/main/res"/> 1551 </issue> 1552 1553 <issue 1554 id="ButtonStyle" 1555 message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" 1556 errorLine1=" <Button" 1557 errorLine2=" ^"> 1558 <location 1559 file="src/main/res/layout/animated_recycler_view.xml" 1560 line="42" 1561 column="9"/> 1562 </issue> 1563 1564 <issue 1565 id="ButtonStyle" 1566 message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" 1567 errorLine1=" <Button" 1568 errorLine2=" ^"> 1569 <location 1570 file="src/main/res/layout/animated_recycler_view.xml" 1571 line="50" 1572 column="9"/> 1573 </issue> 1574 1575 <issue 1576 id="ButtonStyle" 1577 message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" 1578 errorLine1=" <Button" 1579 errorLine2=" ^"> 1580 <location 1581 file="src/main/res/layout/animated_recycler_view.xml" 1582 line="57" 1583 column="9"/> 1584 </issue> 1585 1586 <issue 1587 id="ButtonStyle" 1588 message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" 1589 errorLine1=" <Button" 1590 errorLine2=" ^"> 1591 <location 1592 file="src/main/res/layout/animated_recycler_view.xml" 1593 line="64" 1594 column="9"/> 1595 </issue> 1596 1597 <issue 1598 id="ButtonStyle" 1599 message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" 1600 errorLine1=" <Button" 1601 errorLine2=" ^"> 1602 <location 1603 file="src/main/res/layout/animated_recycler_view.xml" 1604 line="71" 1605 column="9"/> 1606 </issue> 1607 1608 <issue 1609 id="GoogleAppIndexingWarning" 1610 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." 1611 errorLine1=" <application android:label="@string/activity_sample_code"" 1612 errorLine2=" ^"> 1613 <location 1614 file="src/main/AndroidManifest.xml" 1615 line="44" 1616 column="5"/> 1617 </issue> 1618 1619 <issue 1620 id="TextFields" 1621 message="This text field does not specify an `inputType` or a `hint`" 1622 errorLine1=" <EditText" 1623 errorLine2=" ^"> 1624 <location 1625 file="src/main/res/layout/grid_layout_1.xml" 1626 line="34" 1627 column="5"/> 1628 </issue> 1629 1630 <issue 1631 id="TextFields" 1632 message="This text field does not specify an `inputType` or a `hint`" 1633 errorLine1=" <EditText" 1634 errorLine2=" ^"> 1635 <location 1636 file="src/main/res/layout-land/grid_layout_2.xml" 1637 line="43" 1638 column="5"/> 1639 </issue> 1640 1641 <issue 1642 id="TextFields" 1643 message="This text field does not specify an `inputType` or a `hint`" 1644 errorLine1=" <EditText" 1645 errorLine2=" ^"> 1646 <location 1647 file="src/main/res/layout/grid_layout_2.xml" 1648 line="43" 1649 column="5"/> 1650 </issue> 1651 1652 <issue 1653 id="TextFields" 1654 message="This text field does not specify an `inputType` or a `hint`" 1655 errorLine1=" <EditText" 1656 errorLine2=" ^"> 1657 <location 1658 file="src/main/res/layout-land/grid_layout_2.xml" 1659 line="51" 1660 column="5"/> 1661 </issue> 1662 1663 <issue 1664 id="TextFields" 1665 message="This text field does not specify an `inputType` or a `hint`" 1666 errorLine1=" <EditText" 1667 errorLine2=" ^"> 1668 <location 1669 file="src/main/res/layout/grid_layout_2.xml" 1670 line="51" 1671 column="5"/> 1672 </issue> 1673 1674 <issue 1675 id="AlwaysShowAction" 1676 message="Prefer "`ifRoom`" instead of "`always`"" 1677 errorLine1=" app:showAsAction="always"/>" 1678 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 1679 <location 1680 file="src/main/res/menu/menu_with_tinted_icons.xml" 1681 line="26" 1682 column="9"/> 1683 <location 1684 file="src/main/res/menu/menu_with_tinted_icons.xml" 1685 line="34" 1686 column="9"/> 1687 <location 1688 file="src/main/res/menu/menu_with_tinted_icons.xml" 1689 line="42" 1690 column="9"/> 1691 </issue> 1692 1693 <issue 1694 id="ButtonCase" 1695 message="@android:string/no actually returns "Cancel", not "No"; use @android:string/cancel instead or create a local string resource for No" 1696 errorLine1=" android:text="@android:string/no"" 1697 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1698 <location 1699 file="src/main/res/layout/dialog_content_buttons.xml" 1700 line="42" 1701 column="17"/> 1702 </issue> 1703 1704 <issue 1705 id="ButtonCase" 1706 message="The standard Android way to capitalize Ok is "OK" (tip: use `@android:string/ok` instead)" 1707 errorLine1=" <string name="grid_layout_1_ok">Ok</string>" 1708 errorLine2=" ^"> 1709 <location 1710 file="src/main/res/values/strings.xml" 1711 line="53" 1712 column="37"/> 1713 </issue> 1714 1715 <issue 1716 id="ClickableViewAccessibility" 1717 message="Custom view ``Button`` has `setOnTouchListener` called on it but does not override `performClick`" 1718 errorLine1=" vh.actionButton.setOnTouchListener(new View.OnTouchListener() {" 1719 errorLine2=" ^"> 1720 <location 1721 file="src/main/java/com/example/android/supportv7/widget/touch/DragAndDropActivity.java" 1722 line="109" 1723 column="9"/> 1724 </issue> 1725 1726 <issue 1727 id="ClickableViewAccessibility" 1728 message="`onTouch` should call `View#performClick` when a click is detected" 1729 errorLine1=" public boolean onTouch(View v, MotionEvent event) {" 1730 errorLine2=" ~~~~~~~"> 1731 <location 1732 file="src/main/java/com/example/android/supportv7/widget/touch/DragAndDropActivity.java" 1733 line="111" 1734 column="28"/> 1735 </issue> 1736 1737 <issue 1738 id="ClickableViewAccessibility" 1739 message="`onTouch` should call `View#performClick` when a click is detected" 1740 errorLine1=" public boolean onTouch(View view, MotionEvent event) {" 1741 errorLine2=" ~~~~~~~"> 1742 <location 1743 file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" 1744 line="448" 1745 column="28"/> 1746 </issue> 1747 1748 <issue 1749 id="ClickableViewAccessibility" 1750 message="Custom view ``Button`` has `setOnTouchListener` called on it but does not override `performClick`" 1751 errorLine1=" vh.actionButton.setOnTouchListener(new View.OnTouchListener() {" 1752 errorLine2=" ^"> 1753 <location 1754 file="src/main/java/com/example/android/supportv7/widget/touch/SwipeToDismissActivity.java" 1755 line="152" 1756 column="9"/> 1757 </issue> 1758 1759 <issue 1760 id="ClickableViewAccessibility" 1761 message="`onTouch` should call `View#performClick` when a click is detected" 1762 errorLine1=" public boolean onTouch(View v, MotionEvent event) {" 1763 errorLine2=" ~~~~~~~"> 1764 <location 1765 file="src/main/java/com/example/android/supportv7/widget/touch/SwipeToDismissActivity.java" 1766 line="154" 1767 column="28"/> 1768 </issue> 1769 1770 <issue 1771 id="ContentDescription" 1772 message="Missing `contentDescription` attribute on image" 1773 errorLine1=" <ImageButton android:id="@+id/button"" 1774 errorLine2=" ^"> 1775 <location 1776 file="src/main/res/layout/action_bar_settings_action_provider.xml" 1777 line="26" 1778 column="5"/> 1779 </issue> 1780 1781 <issue 1782 id="ContentDescription" 1783 message="Missing `contentDescription` attribute on image" 1784 errorLine1=" <ImageView android:id="@+id/vector_image"" 1785 errorLine2=" ^"> 1786 <location 1787 file="src/main/res/layout-v11/appcompat_animated_vector.xml" 1788 line="23" 1789 column="5"/> 1790 </issue> 1791 1792 <issue 1793 id="ContentDescription" 1794 message="Missing `contentDescription` attribute on image" 1795 errorLine1=" <ImageView" 1796 errorLine2=" ^"> 1797 <location 1798 file="src/main/res/layout/dialog_content.xml" 1799 line="28" 1800 column="5"/> 1801 </issue> 1802 1803 <issue 1804 id="ContentDescription" 1805 message="Missing `contentDescription` attribute on image" 1806 errorLine1=" <ImageView" 1807 errorLine2=" ^"> 1808 <location 1809 file="src/main/res/layout/dialog_content_buttons.xml" 1810 line="28" 1811 column="5"/> 1812 </issue> 1813 1814 <issue 1815 id="ContentDescription" 1816 message="Missing `contentDescription` attribute on image" 1817 errorLine1=" <ImageButton android:id="@+id/item_action"" 1818 errorLine2=" ^"> 1819 <location 1820 file="src/main/res/layout/media_item.xml" 1821 line="26" 1822 column="5"/> 1823 </issue> 1824 1825 <issue 1826 id="ContentDescription" 1827 message="Missing `contentDescription` attribute on image" 1828 errorLine1=" <ImageView" 1829 errorLine2=" ^"> 1830 <location 1831 file="src/main/res/layout/palette_list_item.xml" 1832 line="24" 1833 column="5"/> 1834 </issue> 1835 1836 <issue 1837 id="ContentDescription" 1838 message="Missing `contentDescription` attribute on image" 1839 errorLine1=" <ImageView" 1840 errorLine2=" ^"> 1841 <location 1842 file="src/main/res/layout/sample_media_controller.xml" 1843 line="27" 1844 column="9"/> 1845 </issue> 1846 1847 <issue 1848 id="ContentDescription" 1849 message="Missing `contentDescription` attribute on image" 1850 errorLine1=" <ImageButton android:id="@+id/pause_resume_button"" 1851 errorLine2=" ^"> 1852 <location 1853 file="src/main/res/layout/sample_media_controller.xml" 1854 line="42" 1855 column="9"/> 1856 </issue> 1857 1858 <issue 1859 id="ContentDescription" 1860 message="Missing `contentDescription` attribute on image" 1861 errorLine1=" <ImageButton android:id="@+id/stop_button"" 1862 errorLine2=" ^"> 1863 <location 1864 file="src/main/res/layout/sample_media_controller.xml" 1865 line="49" 1866 column="9"/> 1867 </issue> 1868 1869 <issue 1870 id="ContentDescription" 1871 message="Missing `contentDescription` attribute on image" 1872 errorLine1=" <ImageButton android:id="@+id/pause_resume_button"" 1873 errorLine2=" ^"> 1874 <location 1875 file="src/main/res/layout/sample_media_router.xml" 1876 line="99" 1877 column="13"/> 1878 </issue> 1879 1880 <issue 1881 id="ContentDescription" 1882 message="Missing `contentDescription` attribute on image" 1883 errorLine1=" <ImageButton android:id="@+id/stop_button"" 1884 errorLine2=" ^"> 1885 <location 1886 file="src/main/res/layout/sample_media_router.xml" 1887 line="109" 1888 column="13"/> 1889 </issue> 1890 1891 <issue 1892 id="KeyboardInaccessibleWidget" 1893 message="'clickable' attribute found, please also add 'focusable'" 1894 errorLine1=" android:clickable="true"" 1895 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 1896 <location 1897 file="src/main/res/layout/activity_card_view.xml" 1898 line="215" 1899 column="17"/> 1900 </issue> 1901 1902 <issue 1903 id="SetTextI18n" 1904 message="String literal in `setText` can not be translated. Use Android resources instead." 1905 errorLine1=" myViewHolder.textView.setText("More text for the expanded version");" 1906 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1907 <location 1908 file="src/main/java/com/example/android/supportv7/widget/AnimatedRecyclerView.java" 1909 line="712" 1910 column="47"/> 1911 </issue> 1912 1913 <issue 1914 id="SetTextI18n" 1915 message="String literal in `setText` can not be translated. Use Android resources instead." 1916 errorLine1=" holder.textView.setText("loading...");" 1917 errorLine2=" ~~~~~~~~~~~~"> 1918 <location 1919 file="src/main/java/com/example/android/supportv7/widget/AsyncListUtilActivity.java" 1920 line="97" 1921 column="41"/> 1922 </issue> 1923 1924 <issue 1925 id="SetTextI18n" 1926 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 1927 errorLine1=" ((TextView) convertView).setText(" " + position + " ");" 1928 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1929 <location 1930 file="src/main/java/com/example/android/supportv7/widget/BaseLayoutManagerActivity.java" 1931 line="152" 1932 column="50"/> 1933 </issue> 1934 1935 <issue 1936 id="SetTextI18n" 1937 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 1938 errorLine1=" mInfoText.setText("radius: " + mCornerRadiusSeekBar.getProgress()" 1939 errorLine2=" ^"> 1940 <location 1941 file="src/main/java/com/example/android/supportv7/view/CardViewActivity.java" 1942 line="87" 1943 column="27"/> 1944 </issue> 1945 1946 <issue 1947 id="SetTextI18n" 1948 message="String literal in `setText` can not be translated. Use Android resources instead." 1949 errorLine1=" mInfoText.setText("radius: " + mCornerRadiusSeekBar.getProgress()" 1950 errorLine2=" ~~~~~~~~~~"> 1951 <location 1952 file="src/main/java/com/example/android/supportv7/view/CardViewActivity.java" 1953 line="87" 1954 column="27"/> 1955 </issue> 1956 1957 <issue 1958 id="SetTextI18n" 1959 message="String literal in `setText` can not be translated. Use Android resources instead." 1960 errorLine1=" + ", alpha: " + mAlphaSeekBar.getProgress()" 1961 errorLine2=" ~~~~~~~~~~~"> 1962 <location 1963 file="src/main/java/com/example/android/supportv7/view/CardViewActivity.java" 1964 line="88" 1965 column="19"/> 1966 </issue> 1967 1968 <issue 1969 id="SetTextI18n" 1970 message="String literal in `setText` can not be translated. Use Android resources instead." 1971 errorLine1=" + "\nelevation: " + mCardView.getCardElevation() + " of "" 1972 errorLine2=" ~~~~~~"> 1973 <location 1974 file="src/main/java/com/example/android/supportv7/view/CardViewActivity.java" 1975 line="90" 1976 column="68"/> 1977 </issue> 1978 1979 <issue 1980 id="SetTextI18n" 1981 message="String literal in `setText` can not be translated. Use Android resources instead." 1982 errorLine1=" shuffle.setText("Shuffle");" 1983 errorLine2=" ~~~~~~~~~"> 1984 <location 1985 file="src/main/java/com/example/android/supportv7/util/DiffUtilActivity.java" 1986 line="54" 1987 column="25"/> 1988 </issue> 1989 1990 <issue 1991 id="SetTextI18n" 1992 message="String literal in `setText` can not be translated. Use Android resources instead." 1993 errorLine1=" c.setText("Email setup");" 1994 errorLine2=" ~~~~~~~~~~~~~"> 1995 <location 1996 file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" 1997 line="78" 1998 column="23"/> 1999 </issue> 2000 2001 <issue 2002 id="SetTextI18n" 2003 message="String literal in `setText` can not be translated. Use Android resources instead." 2004 errorLine1=" c.setText("You can configure email in a few simple steps:");" 2005 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2006 <location 2007 file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" 2008 line="84" 2009 column="23"/> 2010 </issue> 2011 2012 <issue 2013 id="SetTextI18n" 2014 message="String literal in `setText` can not be translated. Use Android resources instead." 2015 errorLine1=" c.setText("Email address:");" 2016 errorLine2=" ~~~~~~~~~~~~~~~~"> 2017 <location 2018 file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" 2019 line="89" 2020 column="23"/> 2021 </issue> 2022 2023 <issue 2024 id="SetTextI18n" 2025 message="String literal in `setText` can not be translated. Use Android resources instead." 2026 errorLine1=" c.setText("Password:");" 2027 errorLine2=" ~~~~~~~~~~~"> 2028 <location 2029 file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" 2030 line="100" 2031 column="23"/> 2032 </issue> 2033 2034 <issue 2035 id="SetTextI18n" 2036 message="String literal in `setText` can not be translated. Use Android resources instead." 2037 errorLine1=" c.setText("Manual setup");" 2038 errorLine2=" ~~~~~~~~~~~~~~"> 2039 <location 2040 file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" 2041 line="111" 2042 column="23"/> 2043 </issue> 2044 2045 <issue 2046 id="SetTextI18n" 2047 message="String literal in `setText` can not be translated. Use Android resources instead." 2048 errorLine1=" c.setText("Next");" 2049 errorLine2=" ~~~~~~"> 2050 <location 2051 file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" 2052 line="116" 2053 column="23"/> 2054 </issue> 2055 2056 <issue 2057 id="SetTextI18n" 2058 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 2059 errorLine1=" mLog.setText(toPrepend + mLog.getText());" 2060 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2061 <location 2062 file="src/main/java/com/example/android/supportv7/widget/ListPopupWindowActivity.java" 2063 line="155" 2064 column="22"/> 2065 </issue> 2066 2067 <issue 2068 id="SetTextI18n" 2069 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 2070 errorLine1=" title.setText("Title for #" + i);" 2071 errorLine2=" ~~~~~~~~~~~~~~~~~"> 2072 <location 2073 file="src/main/java/com/example/android/supportv7/widget/ListViewActivity.java" 2074 line="65" 2075 column="31"/> 2076 </issue> 2077 2078 <issue 2079 id="SetTextI18n" 2080 message="String literal in `setText` can not be translated. Use Android resources instead." 2081 errorLine1=" title.setText("Title for #" + i);" 2082 errorLine2=" ~~~~~~~~~~~~~"> 2083 <location 2084 file="src/main/java/com/example/android/supportv7/widget/ListViewActivity.java" 2085 line="65" 2086 column="31"/> 2087 </issue> 2088 2089 <issue 2090 id="SetTextI18n" 2091 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 2092 errorLine1=" subtitle.setText("Subtitle for #" + i);" 2093 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 2094 <location 2095 file="src/main/java/com/example/android/supportv7/widget/ListViewActivity.java" 2096 line="66" 2097 column="34"/> 2098 </issue> 2099 2100 <issue 2101 id="SetTextI18n" 2102 message="String literal in `setText` can not be translated. Use Android resources instead." 2103 errorLine1=" subtitle.setText("Subtitle for #" + i);" 2104 errorLine2=" ~~~~~~~~~~~~~~~~"> 2105 <location 2106 file="src/main/java/com/example/android/supportv7/widget/ListViewActivity.java" 2107 line="66" 2108 column="34"/> 2109 </issue> 2110 2111 <issue 2112 id="SetTextI18n" 2113 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 2114 errorLine1=" mLog.setText(toPrepend + mLog.getText());" 2115 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2116 <location 2117 file="src/main/java/com/example/android/supportv7/widget/PopupMenuActivity.java" 2118 line="104" 2119 column="22"/> 2120 </issue> 2121 2122 <issue 2123 id="SetTextI18n" 2124 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 2125 errorLine1=" mInfoTextView.setText("Currently selected route:"" 2126 errorLine2=" ^"> 2127 <location 2128 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 2129 line="613" 2130 column="31"/> 2131 </issue> 2132 2133 <issue 2134 id="SetTextI18n" 2135 message="String literal in `setText` can not be translated. Use Android resources instead." 2136 errorLine1=" mInfoTextView.setText("Currently selected route:"" 2137 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2138 <location 2139 file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" 2140 line="613" 2141 column="31"/> 2142 </issue> 2143 2144 <issue 2145 id="SetTextI18n" 2146 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 2147 errorLine1=" holder.mTextView.setText(position + ":" + mValues.get(position));" 2148 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2149 <location 2150 file="src/main/java/com/example/android/supportv7/widget/adapter/SimpleStringAdapter.java" 2151 line="92" 2152 column="34"/> 2153 </issue> 2154 2155 <issue 2156 id="SetTextI18n" 2157 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 2158 errorLine1=" mHolderNumberView.setText("View Nr: " + sHolderNumber++);" 2159 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2160 <location 2161 file="src/main/java/com/example/android/supportv7/widget/StableIdActivity.java" 2162 line="93" 2163 column="43"/> 2164 </issue> 2165 2166 <issue 2167 id="SetTextI18n" 2168 message="String literal in `setText` can not be translated. Use Android resources instead." 2169 errorLine1=" mHolderNumberView.setText("View Nr: " + sHolderNumber++);" 2170 errorLine2=" ~~~~~~~~~~~"> 2171 <location 2172 file="src/main/java/com/example/android/supportv7/widget/StableIdActivity.java" 2173 line="93" 2174 column="43"/> 2175 </issue> 2176 2177 <issue 2178 id="HardcodedText" 2179 message="Hardcoded string "smooth scroll", should use `@string` resource" 2180 errorLine1=" android:text="smooth scroll"" 2181 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2182 <location 2183 file="src/main/res/layout/activity_base_layout_manager.xml" 2184 line="28" 2185 column="17"/> 2186 </issue> 2187 2188 <issue 2189 id="HardcodedText" 2190 message="Hardcoded string "offset", should use `@string` resource" 2191 errorLine1=" android:hint="offset"/>" 2192 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 2193 <location 2194 file="src/main/res/layout/activity_base_layout_manager.xml" 2195 line="36" 2196 column="17"/> 2197 </issue> 2198 2199 <issue 2200 id="HardcodedText" 2201 message="Hardcoded string "scroll", should use `@string` resource" 2202 errorLine1=" android:text="scroll"" 2203 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 2204 <location 2205 file="src/main/res/layout/activity_base_layout_manager.xml" 2206 line="43" 2207 column="17"/> 2208 </issue> 2209 2210 <issue 2211 id="HardcodedText" 2212 message="Hardcoded string "Show selected dialog", should use `@string` resource" 2213 errorLine1=" android:text="Show selected dialog"" 2214 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2215 <location 2216 file="src/main/res/layout/alert_dialog_usage.xml" 2217 line="35" 2218 column="13"/> 2219 </issue> 2220 2221 <issue 2222 id="HardcodedText" 2223 message="Hardcoded string "SwitchCompat", should use `@string` resource" 2224 errorLine1=" android:text="SwitchCompat"/>" 2225 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2226 <location 2227 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2228 line="32" 2229 column="17"/> 2230 </issue> 2231 2232 <issue 2233 id="HardcodedText" 2234 message="Hardcoded string "SwitchCompat disabled", should use `@string` resource" 2235 errorLine1=" android:text="SwitchCompat disabled"/>" 2236 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2237 <location 2238 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2239 line="38" 2240 column="17"/> 2241 </issue> 2242 2243 <issue 2244 id="HardcodedText" 2245 message="Hardcoded string "Switch", should use `@string` resource" 2246 errorLine1=" android:text="Switch"/>" 2247 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 2248 <location 2249 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2250 line="43" 2251 column="17"/> 2252 </issue> 2253 2254 <issue 2255 id="HardcodedText" 2256 message="Hardcoded string "Switch disabled", should use `@string` resource" 2257 errorLine1=" android:text="Switch disabled"/>" 2258 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2259 <location 2260 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2261 line="49" 2262 column="17"/> 2263 </issue> 2264 2265 <issue 2266 id="HardcodedText" 2267 message="Hardcoded string "CheckBox", should use `@string` resource" 2268 errorLine1=" android:text="CheckBox"/>" 2269 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 2270 <location 2271 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2272 line="54" 2273 column="17"/> 2274 </issue> 2275 2276 <issue 2277 id="HardcodedText" 2278 message="Hardcoded string "RadioButton", should use `@string` resource" 2279 errorLine1=" android:text="RadioButton"/>" 2280 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2281 <location 2282 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2283 line="65" 2284 column="21"/> 2285 </issue> 2286 2287 <issue 2288 id="HardcodedText" 2289 message="Hardcoded string "RadioButton", should use `@string` resource" 2290 errorLine1=" android:text="RadioButton"/>" 2291 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2292 <location 2293 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2294 line="71" 2295 column="21"/> 2296 </issue> 2297 2298 <issue 2299 id="HardcodedText" 2300 message="Hardcoded string "Button", should use `@string` resource" 2301 errorLine1=" android:text="Button"/>" 2302 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 2303 <location 2304 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2305 line="78" 2306 column="13"/> 2307 </issue> 2308 2309 <issue 2310 id="HardcodedText" 2311 message="Hardcoded string "Button disabled", should use `@string` resource" 2312 errorLine1=" android:text="Button disabled"/>" 2313 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2314 <location 2315 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2316 line="84" 2317 column="13"/> 2318 </issue> 2319 2320 <issue 2321 id="HardcodedText" 2322 message="Hardcoded string "Button (small)", should use `@string` resource" 2323 errorLine1=" android:text="Button (small)"" 2324 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2325 <location 2326 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2327 line="89" 2328 column="13"/> 2329 </issue> 2330 2331 <issue 2332 id="HardcodedText" 2333 message="Hardcoded string "Button (small) disabled", should use `@string` resource" 2334 errorLine1=" android:text="Button (small) disabled"" 2335 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2336 <location 2337 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2338 line="96" 2339 column="13"/> 2340 </issue> 2341 2342 <issue 2343 id="HardcodedText" 2344 message="Hardcoded string "Button (borderless)", should use `@string` resource" 2345 errorLine1=" android:text="Button (borderless)"" 2346 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2347 <location 2348 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2349 line="102" 2350 column="13"/> 2351 </issue> 2352 2353 <issue 2354 id="HardcodedText" 2355 message="Hardcoded string "Button (borderless) disabled", should use `@string` resource" 2356 errorLine1=" android:text="Button (borderless) disabled"" 2357 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2358 <location 2359 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2360 line="109" 2361 column="13"/> 2362 </issue> 2363 2364 <issue 2365 id="HardcodedText" 2366 message="Hardcoded string "Button (borderless + colored)", should use `@string` resource" 2367 errorLine1=" android:text="Button (borderless + colored)"" 2368 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2369 <location 2370 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2371 line="115" 2372 column="13"/> 2373 </issue> 2374 2375 <issue 2376 id="HardcodedText" 2377 message="Hardcoded string "Button (borderless + colored) disabled", should use `@string` resource" 2378 errorLine1=" android:text="Button (borderless + colored) disabled"" 2379 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2380 <location 2381 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2382 line="122" 2383 column="13"/> 2384 </issue> 2385 2386 <issue 2387 id="HardcodedText" 2388 message="Hardcoded string "Button (colored)", should use `@string` resource" 2389 errorLine1=" android:text="Button (colored)"" 2390 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2391 <location 2392 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2393 line="128" 2394 column="13"/> 2395 </issue> 2396 2397 <issue 2398 id="HardcodedText" 2399 message="Hardcoded string "Button (colored) disabled", should use `@string` resource" 2400 errorLine1=" android:text="Button (colored) disabled"" 2401 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2402 <location 2403 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2404 line="135" 2405 column="13"/> 2406 </issue> 2407 2408 <issue 2409 id="HardcodedText" 2410 message="Hardcoded string "Button (colored + tinted)", should use `@string` resource" 2411 errorLine1=" android:text="Button (colored + tinted)"" 2412 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2413 <location 2414 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2415 line="141" 2416 column="13"/> 2417 </issue> 2418 2419 <issue 2420 id="HardcodedText" 2421 message="Hardcoded string "Button (colored + tinted) disabled", should use `@string` resource" 2422 errorLine1=" android:text="Button (colored + tinted) disabled"" 2423 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2424 <location 2425 file="src/main/res/layout/appcompat_widgets_buttons.xml" 2426 line="149" 2427 column="13"/> 2428 </issue> 2429 2430 <issue 2431 id="HardcodedText" 2432 message="Hardcoded string "EditText", should use `@string` resource" 2433 errorLine1=" android:hint="EditText"/>" 2434 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 2435 <location 2436 file="src/main/res/layout/appcompat_widgets_text_input.xml" 2437 line="28" 2438 column="13"/> 2439 </issue> 2440 2441 <issue 2442 id="HardcodedText" 2443 message="Hardcoded string "AutoCompleteTextView", should use `@string` resource" 2444 errorLine1=" android:hint="AutoCompleteTextView"/>" 2445 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2446 <location 2447 file="src/main/res/layout/appcompat_widgets_text_input.xml" 2448 line="34" 2449 column="13"/> 2450 </issue> 2451 2452 <issue 2453 id="HardcodedText" 2454 message="Hardcoded string "MultiAutoCompleteTextView", should use `@string` resource" 2455 errorLine1=" android:hint="MultiAutoCompleteTextView"/>" 2456 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2457 <location 2458 file="src/main/res/layout/appcompat_widgets_text_input.xml" 2459 line="40" 2460 column="13"/> 2461 </issue> 2462 2463 <issue 2464 id="HardcodedText" 2465 message="Hardcoded string "CheckedTextView", should use `@string` resource" 2466 errorLine1=" android:text="CheckedTextView"" 2467 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2468 <location 2469 file="src/main/res/layout/appcompat_widgets_text_input.xml" 2470 line="45" 2471 column="13"/> 2472 </issue> 2473 2474 <issue 2475 id="HardcodedText" 2476 message="Hardcoded string "Show selected dialog", should use `@string` resource" 2477 errorLine1=" android:text="Show selected dialog"" 2478 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2479 <location 2480 file="src/main/res/layout/dialog_usage.xml" 2481 line="35" 2482 column="13"/> 2483 </issue> 2484 2485 <issue 2486 id="HardcodedText" 2487 message="Hardcoded string "Email setup", should use `@string` resource" 2488 errorLine1=" android:text="Email setup"" 2489 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2490 <location 2491 file="src/main/res/layout-land/grid_layout_2.xml" 2492 line="28" 2493 column="9"/> 2494 </issue> 2495 2496 <issue 2497 id="HardcodedText" 2498 message="Hardcoded string "Email setup", should use `@string` resource" 2499 errorLine1=" android:text="Email setup"" 2500 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2501 <location 2502 file="src/main/res/layout/grid_layout_2.xml" 2503 line="28" 2504 column="9"/> 2505 </issue> 2506 2507 <issue 2508 id="HardcodedText" 2509 message="Hardcoded string "You can configure email in a few simple steps:", should use `@string` resource" 2510 errorLine1=" android:text="You can configure email in a few simple steps:"" 2511 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2512 <location 2513 file="src/main/res/layout-land/grid_layout_2.xml" 2514 line="34" 2515 column="9"/> 2516 </issue> 2517 2518 <issue 2519 id="HardcodedText" 2520 message="Hardcoded string "You can configure email in a few simple steps:", should use `@string` resource" 2521 errorLine1=" android:text="You can configure email in a few simple steps:"" 2522 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2523 <location 2524 file="src/main/res/layout/grid_layout_2.xml" 2525 line="34" 2526 column="9"/> 2527 </issue> 2528 2529 <issue 2530 id="HardcodedText" 2531 message="Hardcoded string "Email address:", should use `@string` resource" 2532 errorLine1=" android:text="Email address:"" 2533 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2534 <location 2535 file="src/main/res/layout-land/grid_layout_2.xml" 2536 line="40" 2537 column="9"/> 2538 </issue> 2539 2540 <issue 2541 id="HardcodedText" 2542 message="Hardcoded string "Email address:", should use `@string` resource" 2543 errorLine1=" android:text="Email address:"" 2544 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2545 <location 2546 file="src/main/res/layout/grid_layout_2.xml" 2547 line="40" 2548 column="9"/> 2549 </issue> 2550 2551 <issue 2552 id="HardcodedText" 2553 message="Hardcoded string "Password:", should use `@string` resource" 2554 errorLine1=" android:text="Password:"" 2555 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 2556 <location 2557 file="src/main/res/layout-land/grid_layout_2.xml" 2558 line="47" 2559 column="9"/> 2560 </issue> 2561 2562 <issue 2563 id="HardcodedText" 2564 message="Hardcoded string "Password:", should use `@string` resource" 2565 errorLine1=" android:text="Password:"" 2566 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 2567 <location 2568 file="src/main/res/layout/grid_layout_2.xml" 2569 line="47" 2570 column="9"/> 2571 </issue> 2572 2573 <issue 2574 id="HardcodedText" 2575 message="Hardcoded string "Manual setup", should use `@string` resource" 2576 errorLine1=" android:text="Manual setup"" 2577 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2578 <location 2579 file="src/main/res/layout-land/grid_layout_2.xml" 2580 line="55" 2581 column="9"/> 2582 </issue> 2583 2584 <issue 2585 id="HardcodedText" 2586 message="Hardcoded string "Manual setup", should use `@string` resource" 2587 errorLine1=" android:text="Manual setup"" 2588 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2589 <location 2590 file="src/main/res/layout/grid_layout_2.xml" 2591 line="55" 2592 column="9"/> 2593 </issue> 2594 2595 <issue 2596 id="HardcodedText" 2597 message="Hardcoded string "Next", should use `@string` resource" 2598 errorLine1=" android:text="Next"" 2599 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 2600 <location 2601 file="src/main/res/layout-land/grid_layout_2.xml" 2602 line="60" 2603 column="9"/> 2604 </issue> 2605 2606 <issue 2607 id="HardcodedText" 2608 message="Hardcoded string "Next", should use `@string` resource" 2609 errorLine1=" android:text="Next"" 2610 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 2611 <location 2612 file="src/main/res/layout/grid_layout_2.xml" 2613 line="60" 2614 column="9"/> 2615 </issue> 2616 2617 <issue 2618 id="HardcodedText" 2619 message="Hardcoded string "LV", should use `@string` resource" 2620 errorLine1=" android:text="LV" />" 2621 errorLine2=" ~~~~~~~~~~~~~~~~~"> 2622 <location 2623 file="src/main/res/layout/palette_list_item.xml" 2624 line="38" 2625 column="9"/> 2626 </issue> 2627 2628 <issue 2629 id="HardcodedText" 2630 message="Hardcoded string "V", should use `@string` resource" 2631 errorLine1=" android:text="V" />" 2632 errorLine2=" ~~~~~~~~~~~~~~~~"> 2633 <location 2634 file="src/main/res/layout/palette_list_item.xml" 2635 line="46" 2636 column="9"/> 2637 </issue> 2638 2639 <issue 2640 id="HardcodedText" 2641 message="Hardcoded string "DV", should use `@string` resource" 2642 errorLine1=" android:text="DV" />" 2643 errorLine2=" ~~~~~~~~~~~~~~~~~"> 2644 <location 2645 file="src/main/res/layout/palette_list_item.xml" 2646 line="54" 2647 column="9"/> 2648 </issue> 2649 2650 <issue 2651 id="HardcodedText" 2652 message="Hardcoded string "LM", should use `@string` resource" 2653 errorLine1=" android:text="LM" />" 2654 errorLine2=" ~~~~~~~~~~~~~~~~~"> 2655 <location 2656 file="src/main/res/layout/palette_list_item.xml" 2657 line="63" 2658 column="9"/> 2659 </issue> 2660 2661 <issue 2662 id="HardcodedText" 2663 message="Hardcoded string "M", should use `@string` resource" 2664 errorLine1=" android:text="M" />" 2665 errorLine2=" ~~~~~~~~~~~~~~~~"> 2666 <location 2667 file="src/main/res/layout/palette_list_item.xml" 2668 line="71" 2669 column="9"/> 2670 </issue> 2671 2672 <issue 2673 id="HardcodedText" 2674 message="Hardcoded string "DM", should use `@string` resource" 2675 errorLine1=" android:text="DM" />" 2676 errorLine2=" ~~~~~~~~~~~~~~~~~"> 2677 <location 2678 file="src/main/res/layout/palette_list_item.xml" 2679 line="79" 2680 column="9"/> 2681 </issue> 2682 2683 <issue 2684 id="HardcodedText" 2685 message="Hardcoded string "Num Colors", should use `@string` resource" 2686 errorLine1=" android:title="Num Colors"" 2687 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2688 <location 2689 file="src/main/res/menu/sample_palette_actions.xml" 2690 line="22" 2691 column="9"/> 2692 </issue> 2693 2694 <issue 2695 id="HardcodedText" 2696 message="Hardcoded string "8", should use `@string` resource" 2697 errorLine1=" android:title="8" />" 2698 errorLine2=" ~~~~~~~~~~~~~~~~~"> 2699 <location 2700 file="src/main/res/menu/sample_palette_actions.xml" 2701 line="31" 2702 column="21"/> 2703 </issue> 2704 2705 <issue 2706 id="HardcodedText" 2707 message="Hardcoded string "12", should use `@string` resource" 2708 errorLine1=" android:title="12" />" 2709 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 2710 <location 2711 file="src/main/res/menu/sample_palette_actions.xml" 2712 line="35" 2713 column="23"/> 2714 </issue> 2715 2716 <issue 2717 id="HardcodedText" 2718 message="Hardcoded string "16", should use `@string` resource" 2719 errorLine1=" android:title="16"" 2720 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 2721 <location 2722 file="src/main/res/menu/sample_palette_actions.xml" 2723 line="39" 2724 column="21"/> 2725 </issue> 2726 2727 <issue 2728 id="HardcodedText" 2729 message="Hardcoded string "24", should use `@string` resource" 2730 errorLine1=" android:title="24" />" 2731 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 2732 <location 2733 file="src/main/res/menu/sample_palette_actions.xml" 2734 line="44" 2735 column="21"/> 2736 </issue> 2737 2738 <issue 2739 id="HardcodedText" 2740 message="Hardcoded string "32", should use `@string` resource" 2741 errorLine1=" android:title="32" />" 2742 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 2743 <location 2744 file="src/main/res/menu/sample_palette_actions.xml" 2745 line="48" 2746 column="21"/> 2747 </issue> 2748 2749 <issue 2750 id="HardcodedText" 2751 message="Hardcoded string "Your content", should use `@string` resource" 2752 errorLine1=" android:text="Your content"" 2753 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2754 <location 2755 file="src/main/res/layout/toolbar_usage.xml" 2756 line="36" 2757 column="13"/> 2758 </issue> 2759 2760 <issue 2761 id="RtlHardcoded" 2762 message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" 2763 errorLine1=" case Gravity.LEFT:" 2764 errorLine2=" ~~~~"> 2765 <location 2766 file="src/main/java/com/example/android/supportv7/app/ActionBarDisplayOptions.java" 2767 line="103" 2768 column="34"/> 2769 </issue> 2770 2771 <issue 2772 id="RtlHardcoded" 2773 message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales" 2774 errorLine1=" newGravity = Gravity.RIGHT;" 2775 errorLine2=" ~~~~~"> 2776 <location 2777 file="src/main/java/com/example/android/supportv7/app/ActionBarDisplayOptions.java" 2778 line="107" 2779 column="46"/> 2780 </issue> 2781 2782 <issue 2783 id="RtlHardcoded" 2784 message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales" 2785 errorLine1=" case Gravity.RIGHT:" 2786 errorLine2=" ~~~~~"> 2787 <location 2788 file="src/main/java/com/example/android/supportv7/app/ActionBarDisplayOptions.java" 2789 line="109" 2790 column="34"/> 2791 </issue> 2792 2793 <issue 2794 id="RtlHardcoded" 2795 message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" 2796 errorLine1=" newGravity = Gravity.LEFT;" 2797 errorLine2=" ~~~~"> 2798 <location 2799 file="src/main/java/com/example/android/supportv7/app/ActionBarDisplayOptions.java" 2800 line="110" 2801 column="46"/> 2802 </issue> 2803 2804 <issue 2805 id="RtlHardcoded" 2806 message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" 2807 errorLine1=" params.gravity = Gravity.LEFT | Gravity.BOTTOM;" 2808 errorLine2=" ~~~~"> 2809 <location 2810 file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" 2811 line="144" 2812 column="42"/> 2813 </issue> 2814 2815 <issue 2816 id="RtlHardcoded" 2817 message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" 2818 errorLine1=" mWindowParams.gravity = Gravity.TOP | Gravity.LEFT;" 2819 errorLine2=" ~~~~"> 2820 <location 2821 file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" 2822 line="325" 2823 column="59"/> 2824 </issue> 2825 2826 <issue 2827 id="RtlHardcoded" 2828 message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" 2829 errorLine1=" mWindowX = (mGravity & Gravity.LEFT) == Gravity.LEFT ?" 2830 errorLine2=" ~~~~"> 2831 <location 2832 file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" 2833 line="333" 2834 column="44"/> 2835 </issue> 2836 2837 <issue 2838 id="RtlHardcoded" 2839 message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" 2840 errorLine1=" mWindowX = (mGravity & Gravity.LEFT) == Gravity.LEFT ?" 2841 errorLine2=" ~~~~"> 2842 <location 2843 file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" 2844 line="333" 2845 column="61"/> 2846 </issue> 2847 2848 <issue 2849 id="RtlHardcoded" 2850 message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" 2851 errorLine1=" case Gravity.LEFT:" 2852 errorLine2=" ~~~~"> 2853 <location 2854 file="src/main/java/com/example/android/supportv7/app/ToolbarDisplayOptions.java" 2855 line="99" 2856 column="34"/> 2857 </issue> 2858 2859 <issue 2860 id="RtlHardcoded" 2861 message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales" 2862 errorLine1=" newGravity = Gravity.RIGHT;" 2863 errorLine2=" ~~~~~"> 2864 <location 2865 file="src/main/java/com/example/android/supportv7/app/ToolbarDisplayOptions.java" 2866 line="103" 2867 column="46"/> 2868 </issue> 2869 2870 <issue 2871 id="RtlHardcoded" 2872 message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales" 2873 errorLine1=" case Gravity.RIGHT:" 2874 errorLine2=" ~~~~~"> 2875 <location 2876 file="src/main/java/com/example/android/supportv7/app/ToolbarDisplayOptions.java" 2877 line="105" 2878 column="34"/> 2879 </issue> 2880 2881 <issue 2882 id="RtlHardcoded" 2883 message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" 2884 errorLine1=" newGravity = Gravity.LEFT;" 2885 errorLine2=" ~~~~"> 2886 <location 2887 file="src/main/java/com/example/android/supportv7/app/ToolbarDisplayOptions.java" 2888 line="106" 2889 column="46"/> 2890 </issue> 2891 2892 <issue 2893 id="RtlHardcoded" 2894 message="Consider adding `android:layout_toEndOf="@id/radius_label"` to better support right-to-left layouts" 2895 errorLine1=" android:layout_toRightOf="@id/radius_label"" 2896 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 2897 <location 2898 file="src/main/res/layout/activity_card_view.xml" 2899 line="40" 2900 column="17"/> 2901 </issue> 2902 2903 <issue 2904 id="RtlHardcoded" 2905 message="Consider adding `android:layout_alignEnd="@id/radius_label"` to better support right-to-left layouts" 2906 errorLine1=" android:layout_alignRight="@id/radius_label"/>" 2907 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 2908 <location 2909 file="src/main/res/layout/activity_card_view.xml" 2910 line="50" 2911 column="17"/> 2912 </issue> 2913 2914 <issue 2915 id="RtlHardcoded" 2916 message="Consider adding `android:layout_toEndOf="@id/width_label"` to better support right-to-left layouts" 2917 errorLine1=" android:layout_toRightOf="@id/width_label"" 2918 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 2919 <location 2920 file="src/main/res/layout/activity_card_view.xml" 2921 line="56" 2922 column="17"/> 2923 </issue> 2924 2925 <issue 2926 id="RtlHardcoded" 2927 message="Consider adding `android:layout_alignEnd="@id/width_label"` to better support right-to-left layouts" 2928 errorLine1=" android:layout_alignRight="@id/width_label"/>" 2929 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 2930 <location 2931 file="src/main/res/layout/activity_card_view.xml" 2932 line="66" 2933 column="17"/> 2934 </issue> 2935 2936 <issue 2937 id="RtlHardcoded" 2938 message="Consider adding `android:layout_toEndOf="@id/height_label"` to better support right-to-left layouts" 2939 errorLine1=" android:layout_toRightOf="@id/height_label"" 2940 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 2941 <location 2942 file="src/main/res/layout/activity_card_view.xml" 2943 line="72" 2944 column="17"/> 2945 </issue> 2946 2947 <issue 2948 id="RtlHardcoded" 2949 message="Consider adding `android:layout_alignEnd="@id/height_label"` to better support right-to-left layouts" 2950 errorLine1=" android:layout_alignRight="@id/height_label"/>" 2951 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 2952 <location 2953 file="src/main/res/layout/activity_card_view.xml" 2954 line="83" 2955 column="17"/> 2956 </issue> 2957 2958 <issue 2959 id="RtlHardcoded" 2960 message="Consider adding `android:layout_toEndOf="@id/elevation_label"` to better support right-to-left layouts" 2961 errorLine1=" android:layout_toRightOf="@id/elevation_label"" 2962 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 2963 <location 2964 file="src/main/res/layout/activity_card_view.xml" 2965 line="89" 2966 column="17"/> 2967 </issue> 2968 2969 <issue 2970 id="RtlHardcoded" 2971 message="Consider adding `android:layout_alignEnd="@id/elevation_label"` to better support right-to-left layouts" 2972 errorLine1=" android:layout_alignRight="@id/elevation_label"/>" 2973 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 2974 <location 2975 file="src/main/res/layout/activity_card_view.xml" 2976 line="100" 2977 column="17"/> 2978 </issue> 2979 2980 <issue 2981 id="RtlHardcoded" 2982 message="Consider adding `android:layout_toEndOf="@id/max_elevation_label"` to better support right-to-left layouts" 2983 errorLine1=" android:layout_toRightOf="@id/max_elevation_label"" 2984 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 2985 <location 2986 file="src/main/res/layout/activity_card_view.xml" 2987 line="106" 2988 column="17"/> 2989 </issue> 2990 2991 <issue 2992 id="RtlHardcoded" 2993 message="Consider adding `android:layout_alignEnd="@id/max_elevation_label"` to better support right-to-left layouts" 2994 errorLine1=" android:layout_alignRight="@id/max_elevation_label"/>" 2995 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 2996 <location 2997 file="src/main/res/layout/activity_card_view.xml" 2998 line="117" 2999 column="17"/> 3000 </issue> 3001 3002 <issue 3003 id="RtlHardcoded" 3004 message="Consider adding `android:layout_toEndOf="@id/alpha_label"` to better support right-to-left layouts" 3005 errorLine1=" android:layout_toRightOf="@id/alpha_label"" 3006 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 3007 <location 3008 file="src/main/res/layout/activity_card_view.xml" 3009 line="124" 3010 column="17"/> 3011 </issue> 3012 3013 <issue 3014 id="RtlHardcoded" 3015 message="Consider adding `android:layout_alignEnd="@id/alpha_label"` to better support right-to-left layouts" 3016 errorLine1=" android:layout_alignRight="@id/alpha_label"/>" 3017 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 3018 <location 3019 file="src/main/res/layout/activity_card_view.xml" 3020 line="134" 3021 column="17"/> 3022 </issue> 3023 3024 <issue 3025 id="RtlHardcoded" 3026 message="Consider adding `android:layout_toEndOf="@id/color_label"` to better support right-to-left layouts" 3027 errorLine1=" android:layout_toRightOf="@id/color_label"" 3028 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 3029 <location 3030 file="src/main/res/layout/activity_card_view.xml" 3031 line="140" 3032 column="17"/> 3033 </issue> 3034 3035 <issue 3036 id="RtlHardcoded" 3037 message="Consider adding `android:layout_alignParentEnd="true"` to better support right-to-left layouts" 3038 errorLine1=" android:layout_alignParentRight="true"" 3039 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3040 <location 3041 file="src/main/res/layout/activity_card_view.xml" 3042 line="141" 3043 column="17"/> 3044 </issue> 3045 3046 <issue 3047 id="RtlHardcoded" 3048 message="Consider adding `android:layout_toEndOf="@id/card_view"` to better support right-to-left layouts" 3049 errorLine1=" android:layout_toRightOf="@id/card_view"" 3050 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 3051 <location 3052 file="src/main/res/layout/activity_card_view.xml" 3053 line="227" 3054 column="17"/> 3055 </issue> 3056 3057 <issue 3058 id="RtlHardcoded" 3059 message="Use "`end`" instead of "`right`" to ensure correct behavior in right-to-left locales" 3060 errorLine1=" android:gravity="right"" 3061 errorLine2=" ~~~~~"> 3062 <location 3063 file="src/main/res/layout/dialog_content_buttons.xml" 3064 line="36" 3065 column="30"/> 3066 </issue> 3067 3068 <issue 3069 id="RtlHardcoded" 3070 message="Consider adding `android:layout_marginStart="10dip"` to better support right-to-left layouts" 3071 errorLine1=" android:layout_marginLeft="10dip"" 3072 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 3073 <location 3074 file="src/main/res/layout/grid_layout_1.xml" 3075 line="45" 3076 column="9"/> 3077 </issue> 3078 3079 <issue 3080 id="RtlHardcoded" 3081 message="Consider adding `android:layout_alignParentEnd="true"` to better support right-to-left layouts" 3082 errorLine1=" android:layout_alignParentRight="true"" 3083 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 3084 <location 3085 file="src/main/res/layout/media_item.xml" 3086 line="31" 3087 column="9"/> 3088 </issue> 3089 3090 <issue 3091 id="RtlHardcoded" 3092 message="Consider adding `android:layout_toStartOf="@id/item_action"` to better support right-to-left layouts" 3093 errorLine1=" android:layout_toLeftOf="@id/item_action"" 3094 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 3095 <location 3096 file="src/main/res/layout/media_item.xml" 3097 line="40" 3098 column="9"/> 3099 </issue> 3100 3101 <issue 3102 id="RtlHardcoded" 3103 message="Use "`start`" instead of "`left`" to ensure correct behavior in right-to-left locales" 3104 errorLine1=" android:layout_gravity="left"" 3105 errorLine2=" ~~~~"> 3106 <location 3107 file="src/main/res/layout/media_item.xml" 3108 line="41" 3109 column="33"/> 3110 </issue> 3111 3112 <issue 3113 id="RtlHardcoded" 3114 message="Use "`start`" instead of "`left`" to ensure correct behavior in right-to-left locales" 3115 errorLine1=" android:gravity="left"/>" 3116 errorLine2=" ~~~~"> 3117 <location 3118 file="src/main/res/layout/media_item.xml" 3119 line="42" 3120 column="26"/> 3121 </issue> 3122 3123 <issue 3124 id="RtlHardcoded" 3125 message="Use "`end`" instead of "`right`" to ensure correct behavior in right-to-left locales" 3126 errorLine1=" android:layout_gravity="right"" 3127 errorLine2=" ~~~~~"> 3128 <location 3129 file="src/main/res/layout/sample_media_router.xml" 3130 line="103" 3131 column="41"/> 3132 </issue> 3133 3134 <issue 3135 id="RtlHardcoded" 3136 message="Use "`end`" instead of "`right`" to ensure correct behavior in right-to-left locales" 3137 errorLine1=" android:layout_gravity="right"" 3138 errorLine2=" ~~~~~"> 3139 <location 3140 file="src/main/res/layout/sample_media_router.xml" 3141 line="113" 3142 column="41"/> 3143 </issue> 3144 3145</issues> 3146