<?xml version="1.0" encoding="UTF-8"?> <issues format="4" by="lint 3.0.0"> <issue id="OnClick" message="Corresponding method handler '`public void onAddTab(android.view.View)`' not found" errorLine1=" android:onClick="onAddTab" />" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/action_bar_tabs.xml" line="32" column="17"/> </issue> <issue id="OnClick" message="Corresponding method handler '`public void onRemoveTab(android.view.View)`' not found" errorLine1=" android:onClick="onRemoveTab" />" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/action_bar_tabs.xml" line="37" column="17"/> </issue> <issue id="OnClick" message="Corresponding method handler '`public void onToggleTabs(android.view.View)`' not found" errorLine1=" android:onClick="onToggleTabs" />" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/action_bar_tabs.xml" line="42" column="17"/> </issue> <issue id="OnClick" message="Corresponding method handler '`public void onRemoveAllTabs(android.view.View)`' not found" errorLine1=" android:onClick="onRemoveAllTabs" />" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/action_bar_tabs.xml" line="47" column="17"/> </issue> <issue id="ScrollViewSize" message="This LinearLayout should use `android:layout_height="wrap_content"`" errorLine1=" android:layout_height="match_parent"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/action_bar_display_options.xml" line="20" column="19"/> </issue> <issue id="ScrollViewSize" message="This TextView should use `android:layout_height="wrap_content"`" errorLine1=" android:layout_height="match_parent"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/drawer_layout.xml" line="52" column="17"/> </issue> <issue id="ScrollViewSize" message="This LinearLayout should use `android:layout_height="wrap_content"`" errorLine1=" android:layout_height="match_parent"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/toolbar_display_options.xml" line="36" column="17"/> </issue> <issue id="InconsistentLayout" message="The id "vector_image" in layout "appcompat_animated_vector" is missing from the following layout configurations: layout (present in layout-v11)" errorLine1=" <ImageView android:id="@+id/vector_image"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout-v11/appcompat_animated_vector.xml" line="23" column="16"/> </issue> <issue id="InlinedApi" message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_TYPE_REMOTE`" errorLine1=" .setPlaybackType(MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="172" column="34"/> </issue> <issue id="InlinedApi" message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_VOLUME_FIXED`" errorLine1=" .setVolumeHandling(MediaRouter.RouteInfo.PLAYBACK_VOLUME_FIXED)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="173" column="36"/> </issue> <issue id="InlinedApi" message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_TYPE_REMOTE`" errorLine1=" .setPlaybackType(MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="185" column="34"/> </issue> <issue id="InlinedApi" message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_VOLUME_VARIABLE`" errorLine1=" .setVolumeHandling(MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="186" column="36"/> </issue> <issue id="InlinedApi" message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_TYPE_REMOTE`" errorLine1=" .setPlaybackType(MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="198" column="34"/> </issue> <issue id="InlinedApi" message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_VOLUME_VARIABLE`" errorLine1=" .setVolumeHandling(MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="199" column="36"/> </issue> <issue id="InlinedApi" message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_TYPE_REMOTE`" errorLine1=" .setPlaybackType(MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="213" column="34"/> </issue> <issue id="InlinedApi" message="Field requires API level 16 (current min is 14): `android.media.MediaRouter.RouteInfo#PLAYBACK_VOLUME_VARIABLE`" errorLine1=" .setVolumeHandling(MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="214" column="36"/> </issue> <issue id="MissingPrefix" message="Unexpected namespace prefix "app" found for tag `Button`" errorLine1=" app:backgroundTint="#00FF00"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="142" column="13"/> </issue> <issue id="MissingPrefix" message="Unexpected namespace prefix "app" found for tag `Button`" errorLine1=" app:backgroundTint="#00FF00"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="150" column="13"/> </issue> <issue id="SimpleDateFormat" 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." errorLine1=" mDateFormat = new SimpleDateFormat("HH:mm:ss.SSS");" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/ListPopupWindowActivity.java" line="57" column="23"/> </issue> <issue id="SimpleDateFormat" 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." errorLine1=" mDateFormat = new SimpleDateFormat("HH:mm:ss.SSS");" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/PopupMenuActivity.java" line="48" column="23"/> </issue> <issue id="ValidFragment" message="Avoid non-default constructors in fragments: use a default constructor plus `Fragment#setArguments(Bundle)` instead" errorLine1=" public ControllerDialogFragment(Player player, CheckBox customControlViewCheckBox) {" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="778" column="16"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="ifRoom"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/action_bar_settings_action_provider.xml" line="20" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:actionProviderClass` when not using the appcompat library" errorLine1=" app:actionProviderClass="com.example.android.supportv7.app.ActionBarSettingsActionProviderActivity$SettingsActionProvider"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/action_bar_settings_action_provider.xml" line="21" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="never"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/action_bar_settings_action_provider.xml" line="25" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:actionProviderClass` when not using the appcompat library" errorLine1=" app:actionProviderClass="com.example.android.supportv7.app.ActionBarSettingsActionProviderActivity$SettingsActionProvider"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/action_bar_settings_action_provider.xml" line="26" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="ifRoom"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/action_bar_share_action_provider.xml" line="21" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:actionProviderClass` when not using the appcompat library" errorLine1=" app:actionProviderClass="androidx.appcompat.widget.ShareActionProvider"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/action_bar_share_action_provider.xml" line="22" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="ifRoom|collapseActionView"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/actions.xml" line="23" column="11"/> </issue> <issue id="AppCompatResource" message="Should use `android:actionViewClass` when not using the appcompat library" errorLine1=" app:actionViewClass="androidx.appcompat.widget.SearchView" />" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/actions.xml" line="24" column="11"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="always" />" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/actions.xml" line="35" column="11"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="ifRoom" />" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/actions.xml" line="41" column="11"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="ifRoom">" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/actions.xml" line="45" column="11"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="ifRoom" />" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/display_options_actions.xml" line="20" column="11"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="always"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/menu_with_tinted_icons.xml" line="26" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="always"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/menu_with_tinted_icons.xml" line="34" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="always"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/menu_with_tinted_icons.xml" line="42" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="always"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/sample_media_router_menu.xml" line="21" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:actionProviderClass` when not using the appcompat library" errorLine1=" app:actionProviderClass="androidx.mediarouter.app.MediaRouteActionProvider"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/sample_media_router_menu.xml" line="22" column="9"/> </issue> <issue id="AppCompatResource" message="Should use `android:showAsAction` when not using the appcompat library" errorLine1=" app:showAsAction="always">" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/sample_palette_actions.xml" line="23" column="9"/> </issue> <issue id="InflateParams" message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" errorLine1=" View view = layoutInflater.inflate(R.layout.action_bar_settings_action_provider, null);" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/app/ActionBarSettingsActionProviderActivity.java" line="74" column="94"/> </issue> <issue id="InflateParams" message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" errorLine1=" null));" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/AnimatedRecyclerView.java" line="692" column="21"/> </issue> <issue id="InflateParams" message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" errorLine1=" R.layout.overlay_display_window, null);" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" line="292" column="54"/> </issue> <issue id="InflateParams" message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" errorLine1=" v = getLayoutInflater().inflate(R.layout.media_item, null);" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="694" column="70"/> </issue> <issue id="InflateParams" message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" errorLine1=" v = getLayoutInflater().inflate(R.layout.media_item, null);" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="729" column="70"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Controller created");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="250" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Controller released");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="255" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Selected");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="261" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Unselected");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="267" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Set volume to " + volume);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="273" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Update volume by " + delta);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="281" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Received control request " + intent);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="289" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mSessionManager.toString());" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="316" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": New volume is " + mVolume);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="337" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, "handlePlay fails because of bad sid="+sid);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="348" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, "handleEnqueue fails because of bad sid="+sid);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="360" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, "handleEnqueue fails because of bad uri="+uri);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="366" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Received " + (enqueue?"enqueue":"play") + " request"" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="378" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Received seek request, pos=" + pos);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="432" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Received getStatus request, sid=" + sid + ", iid=" + iid);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="451" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, "StartSession returns sessionId "+sid);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="514" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Sending status update from provider");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="583" column="31"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Failed to send status update!");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="585" column="31"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Sending session status update from provider");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="599" column="27"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (SampleMediaRouteProvider)" errorLine1=" Log.d(TAG, mRouteId + ": Failed to send session status update!");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="601" column="27"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onRouteAdded: route=" + route);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="119" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onRouteChanged: route=" + route);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="124" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onRouteRemoved: route=" + route);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="129" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onRouteSelected: route=" + route);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="134" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onRouteUnselected: route=" + route);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="148" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onRouteVolumeChanged: route=" + route);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="165" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onRoutePresentationDisplayChanged: route=" + route);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="171" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onRouteProviderAdded: provider=" + provider);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="179" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onRouteProviderRemoved: provider=" + provider);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="184" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onRouteProviderChanged: provider=" + provider);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="189" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onAudioFocusChange: LOSS_TRANSIENT");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="206" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onAudioFocusChange: AUDIOFOCUS_GAIN");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="208" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "onAudioFocusChange: AUDIOFOCUS_LOSS");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="210" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "Received Play/Pause event from RemoteControlClient");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="449" column="27"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "Received Play event from RemoteControlClient");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="459" column="27"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "Received Pause event from RemoteControlClient");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="467" column="27"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)" errorLine1=" Log.d(TAG, "Received Stop event from RemoteControlClient");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="475" column="27"/> </issue> <issue id="SpUsage" message="Should use "`sp`" instead of "`dp`" for text sizes" errorLine1=" android:textSize="32dip"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout-land/grid_layout_2.xml" line="29" column="9"/> </issue> <issue id="SpUsage" message="Should use "`sp`" instead of "`dp`" for text sizes" errorLine1=" android:textSize="32dip"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/grid_layout_2.xml" line="29" column="9"/> </issue> <issue id="SpUsage" message="Should use "`sp`" instead of "`dp`" for text sizes" errorLine1=" android:textSize="16dip"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout-land/grid_layout_2.xml" line="35" column="9"/> </issue> <issue id="SpUsage" message="Should use "`sp`" instead of "`dp`" for text sizes" errorLine1=" android:textSize="16dip"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/grid_layout_2.xml" line="35" column="9"/> </issue> <issue id="Typos" message=""Ok" is usually capitalized as "OK"" errorLine1=" <string name="grid_layout_1_ok">Ok</string>" errorLine2=" ^"> <location file="src/main/res/values/strings.xml" line="53" column="37"/> </issue> <issue id="ExportedPreferenceActivity" message="`PreferenceActivity` subclass `com.example.android.supportv7.app.ActionBarPreferences` should not be exported" errorLine1=" <activity android:name=".app.ActionBarPreferences"" errorLine2=" ^"> <location file="src/main/AndroidManifest.xml" line="201" column="9"/> </issue> <issue id="WrongConstant" 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" errorLine1=" Intent.FLAG_ACTIVITY_NEW_TASK).getIntentSender();" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java" line="164" column="17"/> </issue> <issue id="ExportedContentProvider" message="Exported content providers can provide access to potentially sensitive data" errorLine1=" <provider android:name=".app.RecentSuggestionsProvider"" errorLine2=" ^"> <location file="src/main/AndroidManifest.xml" line="376" column="9"/> </issue> <issue id="ExportedService" message="Exported service does not require permission" errorLine1=" <service android:name=".media.SampleMediaRouteProviderService"" errorLine2=" ^"> <location file="src/main/AndroidManifest.xml" line="101" column="9"/> </issue> <issue id="AllowBackup" message="On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute `android:fullBackupContent` to specify an `@xml` resource which configures which files to backup. More info: https://developer.android.com/training/backup/autosyncapi.html" errorLine1=" <application android:label="@string/activity_sample_code"" errorLine2=" ^"> <location file="src/main/AndroidManifest.xml" line="44" column="5"/> </issue> <issue id="AllowBackup" 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)" errorLine1=" <application android:label="@string/activity_sample_code"" errorLine2=" ^"> <location file="src/main/AndroidManifest.xml" line="44" column="5"/> </issue> <issue id="ObsoleteSdkInt" message="Unnecessary; SDK_INT is never < 14" errorLine1=" if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB_MR1" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/AnimatedRecyclerView.java" line="210" column="21"/> </issue> <issue id="ObsoleteSdkInt" message="Unnecessary; SDK_INT is always >= 14" errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/touch/SwipeToDismissActivity.java" line="76" column="13"/> </issue> <issue id="ObsoleteSdkInt" message="This folder configuration (`v11`) is unnecessary; `minSdkVersion` is 14. Merge all the resources in this folder into `layout`."> <location file="src/main/res/layout-v11"/> </issue> <issue id="StaticFieldLeak" message="This AsyncTask class should be static or leaks might occur (anonymous android.os.AsyncTask)" errorLine1=" new AsyncTask<List<String>, Void, Pair<List<String>, DiffUtil.DiffResult>>() {" errorLine2=" ^"> <location file="src/main/java/com/example/android/supportv7/util/DiffUtilActivity.java" line="73" column="17"/> </issue> <issue id="StaticFieldLeak" message="This AsyncTask class should be static or leaks might occur (anonymous android.os.AsyncTask)" errorLine1=" new AsyncTask<Void, Void, Bitmap>() {" errorLine2=" ^"> <location file="src/main/java/com/example/android/supportv7/graphics/ImageLoader.java" line="59" column="9"/> </issue> <issue id="StaticFieldLeak" 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)" errorLine1=" private static SampleMediaRouterActivity mActivity;" errorLine2=" ~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaButtonReceiver.java" line="33" column="13"/> </issue> <issue id="UseCompoundDrawables" message="This tag and its children can be replaced by one `<TextView/>` and a compound drawable" errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/dialog_content.xml" line="18" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/action_bar_action_mode.xml" line="16" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout-v11/appcompat_animated_vector.xml" line="18" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/appcompat_animated_vector.xml" line="18" column="1"/> </issue> <issue id="InefficientWeight" message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" errorLine1=" android:layout_height="wrap_content"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/palette_activity_detail.xml" line="35" column="11"/> </issue> <issue id="InefficientWeight" message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" errorLine1=" android:layout_height="wrap_content"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/sample_media_router.xml" line="50" column="29"/> </issue> <issue id="InefficientWeight" message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" errorLine1=" android:layout_height="wrap_content"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/sample_media_router.xml" line="60" column="29"/> </issue> <issue id="InefficientWeight" message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" errorLine1=" android:layout_height="wrap_content"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/sample_media_router.xml" line="70" column="29"/> </issue> <issue id="NestedWeights" message="Nested weights are bad for performance" errorLine1=" android:layout_weight="1">" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/sample_media_router.xml" line="32" column="13"/> </issue> <issue id="Overdraw" 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`)" errorLine1=" android:background="?attr/actionBarItemBackground"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/action_bar_settings_action_provider.xml" line="23" column="5"/> </issue> <issue id="Overdraw" message="Possible overdraw: Root element paints background `#ffffffff` with a theme that also paints a background (inferred theme is `@style/Theme_AppCompat_Light_NoActionBar`)" errorLine1=" android:background="#ffffffff"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="20" column="15"/> </issue> <issue id="Overdraw" message="Possible overdraw: Root element paints background `@drawable/blue` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" errorLine1=" android:background="@drawable/blue"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/grid_layout_1.xml" line="27" column="5"/> </issue> <issue id="Overdraw" message="Possible overdraw: Root element paints background `#000000` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" errorLine1=" android:background="#000000">" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/overlay_display_window.xml" line="21" column="7"/> </issue> <issue id="Overdraw" message="Possible overdraw: Root element paints background `#ff000000` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" errorLine1=" android:background="#ff000000">" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/sample_media_router_presentation.xml" line="23" column="5"/> </issue> <issue id="UnusedResources" message="The resource `R.layout.action_bar_tab_content` appears to be unused" errorLine1="<TextView xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/action_bar_tab_content.xml" line="16" column="1"/> </issue> <issue id="UnusedResources" message="The resource `R.layout.action_bar_tabs` appears to be unused" errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/action_bar_tabs.xml" line="16" column="1"/> </issue> <issue id="UnusedResources" message="The resource `R.layout.sample_media_controller` appears to be unused" errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/sample_media_controller.xml" line="19" column="1"/> </issue> <issue id="UnusedResources" message="The resource `R.string.sample_media_router_text` appears to be unused" errorLine1=" <string name="sample_media_router_text">This activity demonstrates how to" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="25" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.variable_volume_route_group_name` appears to be unused" errorLine1=" <string name="variable_volume_route_group_name">Variable Volume Route Group</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="42" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.mixed_volume_route_group_name` appears to be unused" errorLine1=" <string name="mixed_volume_route_group_name">Mixed Volume Route Group</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="43" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.action_bar_tabs` appears to be unused" errorLine1=" <string name="action_bar_tabs">AppCompat/Action Bar/Action Bar Tabs</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="60" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.action_bar_with_navigation_drawer` appears to be unused" errorLine1=" <string name="action_bar_with_navigation_drawer">AppCompat/Action Bar/Navigation Drawer Toggle</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="64" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.toggle_navigation` appears to be unused" errorLine1=" <string name="toggle_navigation">Navigation</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="92" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.btn_add_tab` appears to be unused" errorLine1=" <string name="btn_add_tab">Add new tab</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="99" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.btn_remove_tab` appears to be unused" errorLine1=" <string name="btn_remove_tab">Remove last tab</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="100" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.btn_toggle_tabs` appears to be unused" errorLine1=" <string name="btn_toggle_tabs">Toggle tab mode</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="101" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.btn_remove_all_tabs` appears to be unused" errorLine1=" <string name="btn_remove_all_tabs">Remove all tabs</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="102" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.sliding_pane_layout_support` appears to be unused" errorLine1=" <string name="sliding_pane_layout_support">Widget/Sliding pane layout</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="113" column="13"/> </issue> <issue id="UnusedResources" message="The resource `R.string.sliding_pane_layout_summary` appears to be unused" errorLine1=" <string name="sliding_pane_layout_summary">This activity illustrates the use of sliding panes." errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="115" column="13"/> </issue> <issue id="UnusedNamespace" message="Unused namespace declaration xmlns:android; already declared on the root element" errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/animated_recycler_view.xml" line="9" column="19"/> </issue> <issue id="UnusedNamespace" message="Unused namespace declaration xmlns:android; already declared on the root element" errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/animated_recycler_view.xml" line="37" column="19"/> </issue> <issue id="UnusedNamespace" message="Unused namespace declaration xmlns:android; already declared on the root element" errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_night_mode.xml" line="22" column="19"/> </issue> <issue id="UnusedNamespace" message="Unused namespace declaration xmlns:android; already declared on the root element" errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="23" column="19"/> </issue> <issue id="UnusedNamespace" message="Unused namespace declaration xmlns:android; already declared on the root element" errorLine1=" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/toolbar_action_mode.xml" line="28" column="18"/> </issue> <issue id="TypographyEllipsis" message="Replace "..." with ellipsis character (…, &#8230;) ?" errorLine1=" <string name="media_route_menu_title">Play on...</string>" errorLine2=" ^"> <location file="src/main/res/values/strings.xml" line="27" column="43"/> </issue> <issue id="TypographyEllipsis" message="Replace "..." with ellipsis character (…, &#8230;) ?" errorLine1=" <string name="action_bar_fragment_menu_msg">Build menus from three fragments, the last one" errorLine2=" ^"> <location file="src/main/res/values/strings.xml" line="105" column="49"/> </issue> <issue id="TypographyEllipsis" message="Replace "..." with ellipsis character (…, &#8230;) ?" errorLine1=" <string name="search_hint">Search...</string>" errorLine2=" ^"> <location file="src/main/res/values/strings.xml" line="180" column="32"/> </issue> <issue id="IconDensities" 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)"> <location file="src/main/res/drawable-xhdpi"/> </issue> <issue id="IconDuplicates" message="The following unrelated icon files have identical contents: drawer_shadow_end.9.png, drawer_shadow.9.png"> <location file="src/main/res/drawable-ldrtl-hdpi/drawer_shadow.9.png"/> <location file="src/main/res/drawable-hdpi/drawer_shadow_end.9.png"/> </issue> <issue id="IconDuplicates" message="The following unrelated icon files have identical contents: drawer_shadow_end.9.png, drawer_shadow.9.png"> <location file="src/main/res/drawable-mdpi/drawer_shadow.9.png"/> <location file="src/main/res/drawable-ldrtl-mdpi/drawer_shadow_end.9.png"/> </issue> <issue id="IconDuplicates" message="The following unrelated icon files have identical contents: drawer_shadow_end.9.png, drawer_shadow.9.png"> <location file="src/main/res/drawable-xhdpi/drawer_shadow.9.png"/> <location file="src/main/res/drawable-ldrtl-xhdpi/drawer_shadow_end.9.png"/> </issue> <issue id="IconDuplicates" message="The following unrelated icon files have identical contents: drawer_shadow.9.png, drawer_shadow_end.9.png"> <location file="src/main/res/drawable-ldrtl-hdpi/drawer_shadow_end.9.png"/> <location file="src/main/res/drawable-hdpi/drawer_shadow.9.png"/> </issue> <issue id="IconDuplicates" message="The following unrelated icon files have identical contents: drawer_shadow.9.png, drawer_shadow_end.9.png"> <location file="src/main/res/drawable-mdpi/drawer_shadow_end.9.png"/> <location file="src/main/res/drawable-ldrtl-mdpi/drawer_shadow.9.png"/> </issue> <issue id="IconDuplicates" message="The following unrelated icon files have identical contents: drawer_shadow.9.png, drawer_shadow_end.9.png"> <location file="src/main/res/drawable-xhdpi/drawer_shadow_end.9.png"/> <location file="src/main/res/drawable-ldrtl-xhdpi/drawer_shadow.9.png"/> </issue> <issue id="IconMissingDensityFolder" message="Missing density variation folders in `src/main/res`: drawable-xxhdpi"> <location file="src/main/res"/> </issue> <issue id="ButtonStyle" message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" errorLine1=" <Button" errorLine2=" ^"> <location file="src/main/res/layout/animated_recycler_view.xml" line="42" column="9"/> </issue> <issue id="ButtonStyle" message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" errorLine1=" <Button" errorLine2=" ^"> <location file="src/main/res/layout/animated_recycler_view.xml" line="50" column="9"/> </issue> <issue id="ButtonStyle" message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" errorLine1=" <Button" errorLine2=" ^"> <location file="src/main/res/layout/animated_recycler_view.xml" line="57" column="9"/> </issue> <issue id="ButtonStyle" message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" errorLine1=" <Button" errorLine2=" ^"> <location file="src/main/res/layout/animated_recycler_view.xml" line="64" column="9"/> </issue> <issue id="ButtonStyle" message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" errorLine1=" <Button" errorLine2=" ^"> <location file="src/main/res/layout/animated_recycler_view.xml" line="71" column="9"/> </issue> <issue id="GoogleAppIndexingWarning" message="App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter. See issue explanation for more details." errorLine1=" <application android:label="@string/activity_sample_code"" errorLine2=" ^"> <location file="src/main/AndroidManifest.xml" line="44" column="5"/> </issue> <issue id="TextFields" message="This text field does not specify an `inputType` or a `hint`" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout/grid_layout_1.xml" line="34" column="5"/> </issue> <issue id="TextFields" message="This text field does not specify an `inputType` or a `hint`" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout-land/grid_layout_2.xml" line="43" column="5"/> </issue> <issue id="TextFields" message="This text field does not specify an `inputType` or a `hint`" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout/grid_layout_2.xml" line="43" column="5"/> </issue> <issue id="TextFields" message="This text field does not specify an `inputType` or a `hint`" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout-land/grid_layout_2.xml" line="51" column="5"/> </issue> <issue id="TextFields" message="This text field does not specify an `inputType` or a `hint`" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout/grid_layout_2.xml" line="51" column="5"/> </issue> <issue id="AlwaysShowAction" message="Prefer "`ifRoom`" instead of "`always`"" errorLine1=" app:showAsAction="always"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/menu_with_tinted_icons.xml" line="26" column="9"/> <location file="src/main/res/menu/menu_with_tinted_icons.xml" line="34" column="9"/> <location file="src/main/res/menu/menu_with_tinted_icons.xml" line="42" column="9"/> </issue> <issue id="ButtonCase" message="@android:string/no actually returns "Cancel", not "No"; use @android:string/cancel instead or create a local string resource for No" errorLine1=" android:text="@android:string/no"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/dialog_content_buttons.xml" line="42" column="17"/> </issue> <issue id="ButtonCase" message="The standard Android way to capitalize Ok is "OK" (tip: use `@android:string/ok` instead)" errorLine1=" <string name="grid_layout_1_ok">Ok</string>" errorLine2=" ^"> <location file="src/main/res/values/strings.xml" line="53" column="37"/> </issue> <issue id="ClickableViewAccessibility" message="Custom view ``Button`` has `setOnTouchListener` called on it but does not override `performClick`" errorLine1=" vh.actionButton.setOnTouchListener(new View.OnTouchListener() {" errorLine2=" ^"> <location file="src/main/java/com/example/android/supportv7/widget/touch/DragAndDropActivity.java" line="109" column="9"/> </issue> <issue id="ClickableViewAccessibility" message="`onTouch` should call `View#performClick` when a click is detected" errorLine1=" public boolean onTouch(View v, MotionEvent event) {" errorLine2=" ~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/touch/DragAndDropActivity.java" line="111" column="28"/> </issue> <issue id="ClickableViewAccessibility" message="`onTouch` should call `View#performClick` when a click is detected" errorLine1=" public boolean onTouch(View view, MotionEvent event) {" errorLine2=" ~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" line="448" column="28"/> </issue> <issue id="ClickableViewAccessibility" message="Custom view ``Button`` has `setOnTouchListener` called on it but does not override `performClick`" errorLine1=" vh.actionButton.setOnTouchListener(new View.OnTouchListener() {" errorLine2=" ^"> <location file="src/main/java/com/example/android/supportv7/widget/touch/SwipeToDismissActivity.java" line="152" column="9"/> </issue> <issue id="ClickableViewAccessibility" message="`onTouch` should call `View#performClick` when a click is detected" errorLine1=" public boolean onTouch(View v, MotionEvent event) {" errorLine2=" ~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/touch/SwipeToDismissActivity.java" line="154" column="28"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageButton android:id="@+id/button"" errorLine2=" ^"> <location file="src/main/res/layout/action_bar_settings_action_provider.xml" line="26" column="5"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageView android:id="@+id/vector_image"" errorLine2=" ^"> <location file="src/main/res/layout-v11/appcompat_animated_vector.xml" line="23" column="5"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageView" errorLine2=" ^"> <location file="src/main/res/layout/dialog_content.xml" line="28" column="5"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageView" errorLine2=" ^"> <location file="src/main/res/layout/dialog_content_buttons.xml" line="28" column="5"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageButton android:id="@+id/item_action"" errorLine2=" ^"> <location file="src/main/res/layout/media_item.xml" line="26" column="5"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageView" errorLine2=" ^"> <location file="src/main/res/layout/palette_list_item.xml" line="24" column="5"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageView" errorLine2=" ^"> <location file="src/main/res/layout/sample_media_controller.xml" line="27" column="9"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageButton android:id="@+id/pause_resume_button"" errorLine2=" ^"> <location file="src/main/res/layout/sample_media_controller.xml" line="42" column="9"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageButton android:id="@+id/stop_button"" errorLine2=" ^"> <location file="src/main/res/layout/sample_media_controller.xml" line="49" column="9"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageButton android:id="@+id/pause_resume_button"" errorLine2=" ^"> <location file="src/main/res/layout/sample_media_router.xml" line="99" column="13"/> </issue> <issue id="ContentDescription" message="Missing `contentDescription` attribute on image" errorLine1=" <ImageButton android:id="@+id/stop_button"" errorLine2=" ^"> <location file="src/main/res/layout/sample_media_router.xml" line="109" column="13"/> </issue> <issue id="KeyboardInaccessibleWidget" message="'clickable' attribute found, please also add 'focusable'" errorLine1=" android:clickable="true"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="215" column="17"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" myViewHolder.textView.setText("More text for the expanded version");" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/AnimatedRecyclerView.java" line="712" column="47"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" holder.textView.setText("loading...");" errorLine2=" ~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/AsyncListUtilActivity.java" line="97" column="41"/> </issue> <issue id="SetTextI18n" message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." errorLine1=" ((TextView) convertView).setText(" " + position + " ");" errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/BaseLayoutManagerActivity.java" line="152" column="50"/> </issue> <issue id="SetTextI18n" message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." errorLine1=" mInfoText.setText("radius: " + mCornerRadiusSeekBar.getProgress()" errorLine2=" ^"> <location file="src/main/java/com/example/android/supportv7/view/CardViewActivity.java" line="87" column="27"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" mInfoText.setText("radius: " + mCornerRadiusSeekBar.getProgress()" errorLine2=" ~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/view/CardViewActivity.java" line="87" column="27"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" + ", alpha: " + mAlphaSeekBar.getProgress()" errorLine2=" ~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/view/CardViewActivity.java" line="88" column="19"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" + "\nelevation: " + mCardView.getCardElevation() + " of "" errorLine2=" ~~~~~~"> <location file="src/main/java/com/example/android/supportv7/view/CardViewActivity.java" line="90" column="68"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" shuffle.setText("Shuffle");" errorLine2=" ~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/util/DiffUtilActivity.java" line="54" column="25"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" c.setText("Email setup");" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" line="78" column="23"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" c.setText("You can configure email in a few simple steps:");" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" line="84" column="23"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" c.setText("Email address:");" errorLine2=" ~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" line="89" column="23"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" c.setText("Password:");" errorLine2=" ~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" line="100" column="23"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" c.setText("Manual setup");" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" line="111" column="23"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" c.setText("Next");" errorLine2=" ~~~~~~"> <location file="src/main/java/com/example/android/supportv7/view/GridLayout3.java" line="116" column="23"/> </issue> <issue id="SetTextI18n" message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." errorLine1=" mLog.setText(toPrepend + mLog.getText());" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/ListPopupWindowActivity.java" line="155" column="22"/> </issue> <issue id="SetTextI18n" message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." errorLine1=" title.setText("Title for #" + i);" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/ListViewActivity.java" line="65" column="31"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" title.setText("Title for #" + i);" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/ListViewActivity.java" line="65" column="31"/> </issue> <issue id="SetTextI18n" message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." errorLine1=" subtitle.setText("Subtitle for #" + i);" errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/ListViewActivity.java" line="66" column="34"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" subtitle.setText("Subtitle for #" + i);" errorLine2=" ~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/ListViewActivity.java" line="66" column="34"/> </issue> <issue id="SetTextI18n" message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." errorLine1=" mLog.setText(toPrepend + mLog.getText());" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/PopupMenuActivity.java" line="104" column="22"/> </issue> <issue id="SetTextI18n" message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." errorLine1=" mInfoTextView.setText("Currently selected route:"" errorLine2=" ^"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="613" column="31"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" mInfoTextView.setText("Currently selected route:"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java" line="613" column="31"/> </issue> <issue id="SetTextI18n" message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." errorLine1=" holder.mTextView.setText(position + ":" + mValues.get(position));" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/adapter/SimpleStringAdapter.java" line="92" column="34"/> </issue> <issue id="SetTextI18n" message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." errorLine1=" mHolderNumberView.setText("View Nr: " + sHolderNumber++);" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/StableIdActivity.java" line="93" column="43"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" mHolderNumberView.setText("View Nr: " + sHolderNumber++);" errorLine2=" ~~~~~~~~~~~"> <location file="src/main/java/com/example/android/supportv7/widget/StableIdActivity.java" line="93" column="43"/> </issue> <issue id="HardcodedText" message="Hardcoded string "smooth scroll", should use `@string` resource" errorLine1=" android:text="smooth scroll"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_base_layout_manager.xml" line="28" column="17"/> </issue> <issue id="HardcodedText" message="Hardcoded string "offset", should use `@string` resource" errorLine1=" android:hint="offset"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_base_layout_manager.xml" line="36" column="17"/> </issue> <issue id="HardcodedText" message="Hardcoded string "scroll", should use `@string` resource" errorLine1=" android:text="scroll"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_base_layout_manager.xml" line="43" column="17"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Show selected dialog", should use `@string` resource" errorLine1=" android:text="Show selected dialog"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/alert_dialog_usage.xml" line="35" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "SwitchCompat", should use `@string` resource" errorLine1=" android:text="SwitchCompat"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="32" column="17"/> </issue> <issue id="HardcodedText" message="Hardcoded string "SwitchCompat disabled", should use `@string` resource" errorLine1=" android:text="SwitchCompat disabled"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="38" column="17"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Switch", should use `@string` resource" errorLine1=" android:text="Switch"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="43" column="17"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Switch disabled", should use `@string` resource" errorLine1=" android:text="Switch disabled"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="49" column="17"/> </issue> <issue id="HardcodedText" message="Hardcoded string "CheckBox", should use `@string` resource" errorLine1=" android:text="CheckBox"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="54" column="17"/> </issue> <issue id="HardcodedText" message="Hardcoded string "RadioButton", should use `@string` resource" errorLine1=" android:text="RadioButton"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="65" column="21"/> </issue> <issue id="HardcodedText" message="Hardcoded string "RadioButton", should use `@string` resource" errorLine1=" android:text="RadioButton"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="71" column="21"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button", should use `@string` resource" errorLine1=" android:text="Button"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="78" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button disabled", should use `@string` resource" errorLine1=" android:text="Button disabled"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="84" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button (small)", should use `@string` resource" errorLine1=" android:text="Button (small)"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="89" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button (small) disabled", should use `@string` resource" errorLine1=" android:text="Button (small) disabled"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="96" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button (borderless)", should use `@string` resource" errorLine1=" android:text="Button (borderless)"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="102" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button (borderless) disabled", should use `@string` resource" errorLine1=" android:text="Button (borderless) disabled"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="109" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button (borderless + colored)", should use `@string` resource" errorLine1=" android:text="Button (borderless + colored)"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="115" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button (borderless + colored) disabled", should use `@string` resource" errorLine1=" android:text="Button (borderless + colored) disabled"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="122" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button (colored)", should use `@string` resource" errorLine1=" android:text="Button (colored)"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="128" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button (colored) disabled", should use `@string` resource" errorLine1=" android:text="Button (colored) disabled"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="135" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button (colored + tinted)", should use `@string` resource" errorLine1=" android:text="Button (colored + tinted)"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="141" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Button (colored + tinted) disabled", should use `@string` resource" errorLine1=" android:text="Button (colored + tinted) disabled"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_buttons.xml" line="149" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "EditText", should use `@string` resource" errorLine1=" android:hint="EditText"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_text_input.xml" line="28" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "AutoCompleteTextView", should use `@string` resource" errorLine1=" android:hint="AutoCompleteTextView"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_text_input.xml" line="34" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "MultiAutoCompleteTextView", should use `@string` resource" errorLine1=" android:hint="MultiAutoCompleteTextView"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_text_input.xml" line="40" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "CheckedTextView", should use `@string` resource" errorLine1=" android:text="CheckedTextView"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/appcompat_widgets_text_input.xml" line="45" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Show selected dialog", should use `@string` resource" errorLine1=" android:text="Show selected dialog"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/dialog_usage.xml" line="35" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Email setup", should use `@string` resource" errorLine1=" android:text="Email setup"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout-land/grid_layout_2.xml" line="28" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Email setup", should use `@string` resource" errorLine1=" android:text="Email setup"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/grid_layout_2.xml" line="28" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "You can configure email in a few simple steps:", should use `@string` resource" errorLine1=" android:text="You can configure email in a few simple steps:"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout-land/grid_layout_2.xml" line="34" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "You can configure email in a few simple steps:", should use `@string` resource" errorLine1=" android:text="You can configure email in a few simple steps:"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/grid_layout_2.xml" line="34" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Email address:", should use `@string` resource" errorLine1=" android:text="Email address:"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout-land/grid_layout_2.xml" line="40" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Email address:", should use `@string` resource" errorLine1=" android:text="Email address:"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/grid_layout_2.xml" line="40" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Password:", should use `@string` resource" errorLine1=" android:text="Password:"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout-land/grid_layout_2.xml" line="47" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Password:", should use `@string` resource" errorLine1=" android:text="Password:"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/grid_layout_2.xml" line="47" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Manual setup", should use `@string` resource" errorLine1=" android:text="Manual setup"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout-land/grid_layout_2.xml" line="55" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Manual setup", should use `@string` resource" errorLine1=" android:text="Manual setup"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/grid_layout_2.xml" line="55" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Next", should use `@string` resource" errorLine1=" android:text="Next"" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout-land/grid_layout_2.xml" line="60" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Next", should use `@string` resource" errorLine1=" android:text="Next"" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/grid_layout_2.xml" line="60" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "LV", should use `@string` resource" errorLine1=" android:text="LV" />" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/palette_list_item.xml" line="38" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "V", should use `@string` resource" errorLine1=" android:text="V" />" errorLine2=" ~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/palette_list_item.xml" line="46" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "DV", should use `@string` resource" errorLine1=" android:text="DV" />" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/palette_list_item.xml" line="54" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "LM", should use `@string` resource" errorLine1=" android:text="LM" />" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/palette_list_item.xml" line="63" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "M", should use `@string` resource" errorLine1=" android:text="M" />" errorLine2=" ~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/palette_list_item.xml" line="71" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "DM", should use `@string` resource" errorLine1=" android:text="DM" />" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/palette_list_item.xml" line="79" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Num Colors", should use `@string` resource" errorLine1=" android:title="Num Colors"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/sample_palette_actions.xml" line="22" column="9"/> </issue> <issue id="HardcodedText" message="Hardcoded string "8", should use `@string` resource" errorLine1=" android:title="8" />" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/sample_palette_actions.xml" line="31" column="21"/> </issue> <issue id="HardcodedText" message="Hardcoded string "12", should use `@string` resource" errorLine1=" android:title="12" />" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/sample_palette_actions.xml" line="35" column="23"/> </issue> <issue id="HardcodedText" message="Hardcoded string "16", should use `@string` resource" errorLine1=" android:title="16"" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/sample_palette_actions.xml" line="39" column="21"/> </issue> <issue id="HardcodedText" message="Hardcoded string "24", should use `@string` resource" errorLine1=" android:title="24" />" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/sample_palette_actions.xml" line="44" column="21"/> </issue> <issue id="HardcodedText" message="Hardcoded string "32", should use `@string` resource" errorLine1=" android:title="32" />" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/menu/sample_palette_actions.xml" line="48" column="21"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Your content", should use `@string` resource" errorLine1=" android:text="Your content"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/toolbar_usage.xml" line="36" column="13"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" errorLine1=" case Gravity.LEFT:" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/app/ActionBarDisplayOptions.java" line="103" column="34"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales" errorLine1=" newGravity = Gravity.RIGHT;" errorLine2=" ~~~~~"> <location file="src/main/java/com/example/android/supportv7/app/ActionBarDisplayOptions.java" line="107" column="46"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales" errorLine1=" case Gravity.RIGHT:" errorLine2=" ~~~~~"> <location file="src/main/java/com/example/android/supportv7/app/ActionBarDisplayOptions.java" line="109" column="34"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" errorLine1=" newGravity = Gravity.LEFT;" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/app/ActionBarDisplayOptions.java" line="110" column="46"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" errorLine1=" params.gravity = Gravity.LEFT | Gravity.BOTTOM;" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" line="144" column="42"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" errorLine1=" mWindowParams.gravity = Gravity.TOP | Gravity.LEFT;" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" line="325" column="59"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" errorLine1=" mWindowX = (mGravity & Gravity.LEFT) == Gravity.LEFT ?" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" line="333" column="44"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" errorLine1=" mWindowX = (mGravity & Gravity.LEFT) == Gravity.LEFT ?" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/media/OverlayDisplayWindow.java" line="333" column="61"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" errorLine1=" case Gravity.LEFT:" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/app/ToolbarDisplayOptions.java" line="99" column="34"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales" errorLine1=" newGravity = Gravity.RIGHT;" errorLine2=" ~~~~~"> <location file="src/main/java/com/example/android/supportv7/app/ToolbarDisplayOptions.java" line="103" column="46"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales" errorLine1=" case Gravity.RIGHT:" errorLine2=" ~~~~~"> <location file="src/main/java/com/example/android/supportv7/app/ToolbarDisplayOptions.java" line="105" column="34"/> </issue> <issue id="RtlHardcoded" message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales" errorLine1=" newGravity = Gravity.LEFT;" errorLine2=" ~~~~"> <location file="src/main/java/com/example/android/supportv7/app/ToolbarDisplayOptions.java" line="106" column="46"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_toEndOf="@id/radius_label"` to better support right-to-left layouts" errorLine1=" android:layout_toRightOf="@id/radius_label"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="40" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_alignEnd="@id/radius_label"` to better support right-to-left layouts" errorLine1=" android:layout_alignRight="@id/radius_label"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="50" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_toEndOf="@id/width_label"` to better support right-to-left layouts" errorLine1=" android:layout_toRightOf="@id/width_label"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="56" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_alignEnd="@id/width_label"` to better support right-to-left layouts" errorLine1=" android:layout_alignRight="@id/width_label"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="66" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_toEndOf="@id/height_label"` to better support right-to-left layouts" errorLine1=" android:layout_toRightOf="@id/height_label"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="72" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_alignEnd="@id/height_label"` to better support right-to-left layouts" errorLine1=" android:layout_alignRight="@id/height_label"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="83" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_toEndOf="@id/elevation_label"` to better support right-to-left layouts" errorLine1=" android:layout_toRightOf="@id/elevation_label"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="89" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_alignEnd="@id/elevation_label"` to better support right-to-left layouts" errorLine1=" android:layout_alignRight="@id/elevation_label"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="100" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_toEndOf="@id/max_elevation_label"` to better support right-to-left layouts" errorLine1=" android:layout_toRightOf="@id/max_elevation_label"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="106" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_alignEnd="@id/max_elevation_label"` to better support right-to-left layouts" errorLine1=" android:layout_alignRight="@id/max_elevation_label"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="117" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_toEndOf="@id/alpha_label"` to better support right-to-left layouts" errorLine1=" android:layout_toRightOf="@id/alpha_label"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="124" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_alignEnd="@id/alpha_label"` to better support right-to-left layouts" errorLine1=" android:layout_alignRight="@id/alpha_label"/>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="134" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_toEndOf="@id/color_label"` to better support right-to-left layouts" errorLine1=" android:layout_toRightOf="@id/color_label"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="140" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_alignParentEnd="true"` to better support right-to-left layouts" errorLine1=" android:layout_alignParentRight="true"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="141" column="17"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_toEndOf="@id/card_view"` to better support right-to-left layouts" errorLine1=" android:layout_toRightOf="@id/card_view"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/activity_card_view.xml" line="227" column="17"/> </issue> <issue id="RtlHardcoded" message="Use "`end`" instead of "`right`" to ensure correct behavior in right-to-left locales" errorLine1=" android:gravity="right"" errorLine2=" ~~~~~"> <location file="src/main/res/layout/dialog_content_buttons.xml" line="36" column="30"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_marginStart="10dip"` to better support right-to-left layouts" errorLine1=" android:layout_marginLeft="10dip"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/grid_layout_1.xml" line="45" column="9"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_alignParentEnd="true"` to better support right-to-left layouts" errorLine1=" android:layout_alignParentRight="true"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/media_item.xml" line="31" column="9"/> </issue> <issue id="RtlHardcoded" message="Consider adding `android:layout_toStartOf="@id/item_action"` to better support right-to-left layouts" errorLine1=" android:layout_toLeftOf="@id/item_action"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/media_item.xml" line="40" column="9"/> </issue> <issue id="RtlHardcoded" message="Use "`start`" instead of "`left`" to ensure correct behavior in right-to-left locales" errorLine1=" android:layout_gravity="left"" errorLine2=" ~~~~"> <location file="src/main/res/layout/media_item.xml" line="41" column="33"/> </issue> <issue id="RtlHardcoded" message="Use "`start`" instead of "`left`" to ensure correct behavior in right-to-left locales" errorLine1=" android:gravity="left"/>" errorLine2=" ~~~~"> <location file="src/main/res/layout/media_item.xml" line="42" column="26"/> </issue> <issue id="RtlHardcoded" message="Use "`end`" instead of "`right`" to ensure correct behavior in right-to-left locales" errorLine1=" android:layout_gravity="right"" errorLine2=" ~~~~~"> <location file="src/main/res/layout/sample_media_router.xml" line="103" column="41"/> </issue> <issue id="RtlHardcoded" message="Use "`end`" instead of "`right`" to ensure correct behavior in right-to-left locales" errorLine1=" android:layout_gravity="right"" errorLine2=" ~~~~~"> <location file="src/main/res/layout/sample_media_router.xml" line="113" column="41"/> </issue> </issues>