| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 3.5.0-beta04" client="gradle" variant="debug" version="3.5.0-beta04"> |
| |
| <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 24 (current min is 14): `android.media.MediaRouter.RouteInfo#DEVICE_TYPE_TV`" |
| errorLine1=" .setDeviceType(MediaRouter.RouteInfo.DEVICE_TYPE_TV)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/media/SampleDynamicGroupMrp.java" |
| line="148" |
| column="32"/> |
| </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/SampleDynamicGroupMrp.java" |
| line="150" |
| 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/SampleDynamicGroupMrp.java" |
| line="151" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 24 (current min is 14): `android.media.MediaRouter.RouteInfo#DEVICE_TYPE_TV`" |
| errorLine1=" .setDeviceType(MediaRouter.RouteInfo.DEVICE_TYPE_TV)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/media/SampleDynamicGroupMrp.java" |
| line="163" |
| column="32"/> |
| </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/SampleDynamicGroupMrp.java" |
| line="165" |
| 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/SampleDynamicGroupMrp.java" |
| line="166" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 24 (current min is 14): `android.media.MediaRouter.RouteInfo#DEVICE_TYPE_SPEAKER`" |
| errorLine1=" .setDeviceType(MediaRouter.RouteInfo.DEVICE_TYPE_SPEAKER)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/media/SampleDynamicGroupMrp.java" |
| line="178" |
| column="32"/> |
| </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/SampleDynamicGroupMrp.java" |
| line="180" |
| 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/SampleDynamicGroupMrp.java" |
| line="181" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 24 (current min is 14): `android.media.MediaRouter.RouteInfo#DEVICE_TYPE_SPEAKER`" |
| errorLine1=" .setDeviceType(MediaRouter.RouteInfo.DEVICE_TYPE_SPEAKER)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/media/SampleDynamicGroupMrp.java" |
| line="193" |
| column="32"/> |
| </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/SampleDynamicGroupMrp.java" |
| line="195" |
| 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/SampleDynamicGroupMrp.java" |
| line="196" |
| 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/SampleDynamicGroupMrp.java" |
| line="209" |
| 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/SampleDynamicGroupMrp.java" |
| line="210" |
| 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/SampleDynamicGroupMrp.java" |
| line="225" |
| 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/SampleDynamicGroupMrp.java" |
| line="226" |
| 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="178" |
| 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="179" |
| 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="191" |
| 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="192" |
| 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="204" |
| 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="205" |
| 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="219" |
| 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="220" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Exception requires API level 17 (current min is 17): `android.view.WindowManager.InvalidDisplayException`, and having a surrounding/preceding version check **does** not help since prior to API level 19, just **loading** the class will cause a crash. Consider marking the surrounding class with `RequiresApi(19)` to ensure that the class is never loaded except when on API 19 or higher." |
| errorLine1=" } catch (WindowManager.InvalidDisplayException ex) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/media/LocalPlayer.java" |
| line="450" |
| column="26"/> |
| </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="61" |
| 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="52" |
| column="23"/> |
| </issue> |
| |
| <issue |
| id="UnusedAttribute" |
| message="Attribute `pointerIcon` is only used in API level 24 and higher (current min is 14)" |
| errorLine1=" android:pointerIcon="hand"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/selection_demo_list_item.xml" |
| line="39" |
| column="11"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: AppCompatDelegate.MODE_NIGHT_NO, AppCompatDelegate.MODE_NIGHT_YES, AppCompatDelegate.MODE_NIGHT_AUTO, AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM, AppCompatDelegate.MODE_NIGHT_UNSPECIFIED" |
| errorLine1=" AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatDefaultNightModeActivity.java" |
| line="57" |
| column="47"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: AppCompatDelegate.MODE_NIGHT_NO, AppCompatDelegate.MODE_NIGHT_YES, AppCompatDelegate.MODE_NIGHT_AUTO, AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM, AppCompatDelegate.MODE_NIGHT_UNSPECIFIED" |
| errorLine1=" AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatDefaultNightModeActivity.java" |
| line="57" |
| column="47"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: AppCompatDelegate.MODE_NIGHT_NO, AppCompatDelegate.MODE_NIGHT_YES, AppCompatDelegate.MODE_NIGHT_AUTO, AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM, AppCompatDelegate.MODE_NIGHT_UNSPECIFIED" |
| errorLine1=" getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatLocalNightModeActivity.java" |
| line="57" |
| column="41"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: AppCompatDelegate.MODE_NIGHT_NO, AppCompatDelegate.MODE_NIGHT_YES, AppCompatDelegate.MODE_NIGHT_AUTO, AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM, AppCompatDelegate.MODE_NIGHT_UNSPECIFIED" |
| errorLine1=" getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatLocalNightModeActivity.java" |
| line="57" |
| column="41"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: AppCompatDelegate.MODE_NIGHT_NO, AppCompatDelegate.MODE_NIGHT_YES, AppCompatDelegate.MODE_NIGHT_AUTO, AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM, AppCompatDelegate.MODE_NIGHT_UNSPECIFIED" |
| errorLine1=" dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatNightModeAlertDialog.java" |
| line="65" |
| column="48"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: AppCompatDelegate.MODE_NIGHT_NO, AppCompatDelegate.MODE_NIGHT_YES, AppCompatDelegate.MODE_NIGHT_AUTO, AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM, AppCompatDelegate.MODE_NIGHT_UNSPECIFIED" |
| errorLine1=" dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatNightModeAlertDialog.java" |
| line="65" |
| column="48"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: AppCompatDelegate.MODE_NIGHT_NO, AppCompatDelegate.MODE_NIGHT_YES, AppCompatDelegate.MODE_NIGHT_AUTO, AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM, AppCompatDelegate.MODE_NIGHT_UNSPECIFIED" |
| errorLine1=" dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatNightModeDialog.java" |
| line="73" |
| column="48"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: AppCompatDelegate.MODE_NIGHT_NO, AppCompatDelegate.MODE_NIGHT_YES, AppCompatDelegate.MODE_NIGHT_AUTO, AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM, AppCompatDelegate.MODE_NIGHT_UNSPECIFIED" |
| errorLine1=" dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatNightModeDialog.java" |
| line="73" |
| column="48"/> |
| </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="AppCompatResource" |
| message="Should use `android:showAsAction` when not using the appcompat library" |
| errorLine1=" app:showAsAction="always"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/single_action.xml" |
| line="23" |
| column="9"/> |
| </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="120" |
| 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="125" |
| 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="130" |
| 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="135" |
| 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="149" |
| 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="166" |
| 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="172" |
| 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="180" |
| 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="185" |
| 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="190" |
| 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="207" |
| 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="209" |
| 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="211" |
| 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="448" |
| 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="458" |
| 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="466" |
| 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="474" |
| column="27"/> |
| </issue> |
| |
| <issue |
| id="VectorRaster" |
| message="Limit vector icons sizes to 200×200 to keep icon drawing fast; see https://developer.android.com/studio/write/vector-asset-studio#when for more" |
| errorLine1=" android:width="256dp"" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/res/drawable/vector_drawable_grouping_1.xml" |
| line="18" |
| column="24"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@layout/support_simple_spinner_dropdown_item` is marked as private in com.google.android.material:material" |
| errorLine1=" R.layout.support_simple_spinner_dropdown_item," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/ActionBarDisplayOptions.java" |
| line="62" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/selectableItemBackground` is marked as private in com.google.android.material:material" |
| errorLine1=" R.attr.selectableItemBackground, val, true);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/widget/AnimatedRecyclerView.java" |
| line="675" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@style/Theme_AppCompat_DayNight_Dialog_Alert` is marked as private in com.google.android.material:material" |
| errorLine1=" R.style.Theme_AppCompat_DayNight_Dialog_Alert);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatNightModeAlertDialog.java" |
| line="71" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@style/Theme_AppCompat_DayNight_Dialog` is marked as private in com.google.android.material:material" |
| errorLine1=" AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatNightModeDialog.java" |
| line="40" |
| column="60"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@style/Theme_AppCompat_DayNight_Dialog` is marked as private in com.google.android.material:material" |
| errorLine1=" AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatNightModeDialog.java" |
| line="48" |
| column="60"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@style/Theme_AppCompat_DayNight_Dialog` is marked as private in com.google.android.material:material" |
| errorLine1=" AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatNightModeDialog.java" |
| line="56" |
| column="60"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@style/Theme_AppCompat_DayNight_Dialog` is marked as private in com.google.android.material:material" |
| errorLine1=" AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatNightModeDialog.java" |
| line="64" |
| column="60"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@style/Theme_AppCompat_DayNight_Dialog` is marked as private in com.google.android.material:material" |
| errorLine1=" AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatNightModeDialog.java" |
| line="72" |
| column="60"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@layout/support_simple_spinner_dropdown_item` is marked as private in com.google.android.material:material" |
| errorLine1=" R.layout.support_simple_spinner_dropdown_item, Cheeses.sCheeseStrings));" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatWidgetsSpinners.java" |
| line="40" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@layout/support_simple_spinner_dropdown_item` is marked as private in com.google.android.material:material" |
| errorLine1=" R.layout.support_simple_spinner_dropdown_item, Cheeses.sCheeseStrings));" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/app/AppCompatWidgetsSpinners.java" |
| line="44" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@color/cardview_light_background` is marked as private in com.google.android.material:material" |
| errorLine1=" return R.color.cardview_light_background;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/view/CardViewActivity.java" |
| line="186" |
| column="24"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionBarSize` is marked as private in com.google.android.material:material" |
| errorLine1=" new int[] { androidx.appcompat.R.attr.actionBarSize });" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/widget/DrawerLayoutActivity.java" |
| line="169" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@layout/abc_popup_menu_item_layout` is marked as private in com.google.android.material:material" |
| errorLine1=" R.layout.abc_popup_menu_item_layout, parent, false);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/widget/ListPopupWindowActivity.java" |
| line="101" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionBarItemBackground` is marked as private in com.google.android.material:material" |
| errorLine1=" android:background="?attr/actionBarItemBackground"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/action_bar_settings_action_provider.xml" |
| line="23" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionButtonStyle` is marked as private in com.google.android.material:material" |
| errorLine1=" style="?attr/actionButtonStyle">" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/action_bar_settings_action_provider.xml" |
| line="24" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@color/cardview_light_background` is marked as private in com.google.android.material:material" |
| errorLine1=" android:background="@color/cardview_light_background"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_card_view.xml" |
| line="153" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/buttonBarStyle` is marked as private in com.google.android.material:material" |
| errorLine1=" style="?attr/buttonBarStyle">" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/dialog_content_buttons.xml" |
| line="37" |
| column="20"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/buttonBarButtonStyle` is marked as private in com.google.android.material:material" |
| errorLine1=" style="?attr/buttonBarButtonStyle"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/dialog_content_buttons.xml" |
| line="43" |
| column="24"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/buttonBarButtonStyle` is marked as private in com.google.android.material:material" |
| errorLine1=" style="?attr/buttonBarButtonStyle"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/dialog_content_buttons.xml" |
| line="49" |
| column="24"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionBarSize` is marked as private in com.google.android.material:material" |
| errorLine1=" android:layout_height="?attr/actionBarSize" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/drawer_layout.xml" |
| line="43" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/colorControlNormal` is marked as private in com.google.android.material:material" |
| errorLine1=" android:tint="?attr/colorControlNormal">" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/drawable/ic_search.xml" |
| line="22" |
| column="23"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/colorPrimary` is marked as private in com.google.android.material:material" |
| errorLine1=" android:color="?colorPrimary"" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/color/link_color.xml" |
| line="18" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/colorPrimary` is marked as private in com.google.android.material:material" |
| errorLine1=" <item android:color="?colorPrimary"/>" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/color/link_color.xml" |
| line="20" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/textAppearanceListItem` is marked as private in com.google.android.material:material" |
| errorLine1=" android:textAppearance="?attr/textAppearanceListItem" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/list_view_item.xml" |
| line="29" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/textAppearanceListItemSecondary` is marked as private in com.google.android.material:material" |
| errorLine1=" android:textAppearance="?attr/textAppearanceListItemSecondary" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/list_view_item.xml" |
| line="35" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/colorAccent` is marked as private in com.google.android.material:material" |
| errorLine1=" <item android:alpha="0.4" android:color="?attr/colorAccent"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/color/menu_item_color.xml" |
| line="17" |
| column="46"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionBarSize` is marked as private in com.google.android.material:material" |
| errorLine1=" android:layout_height="?attr/actionBarSize"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/nsv_cl_appbar_activity.xml" |
| line="25" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionBarSize` is marked as private in com.google.android.material:material" |
| errorLine1=" android:layout_height="?attr/actionBarSize"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/rv_cl_appbar_activity.xml" |
| line="25" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionBarSize` is marked as private in com.google.android.material:material" |
| errorLine1=" android:minHeight="?actionBarSize"" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_action_mode.xml" |
| line="25" |
| column="32"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/colorPrimaryDark` is marked as private in com.google.android.material:material" |
| errorLine1=" android:background="?attr/colorPrimaryDark"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_action_mode.xml" |
| line="26" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/colorPrimaryDark` is marked as private in com.google.android.material:material" |
| errorLine1=" android:background="?attr/colorPrimaryDark"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_background_change.xml" |
| line="28" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionBarSize` is marked as private in com.google.android.material:material" |
| errorLine1=" android:minHeight="?attr/actionBarSize"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_background_change.xml" |
| line="29" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionBarSize` is marked as private in com.google.android.material:material" |
| errorLine1=" android:minHeight="?attr/actionBarSize"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_display_options.xml" |
| line="27" |
| column="32"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/colorPrimary` is marked as private in com.google.android.material:material" |
| errorLine1=" android:background="?attr/colorPrimary" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_display_options.xml" |
| line="28" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionBarSize` is marked as private in com.google.android.material:material" |
| errorLine1=" android:minHeight="?actionBarSize"" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_fragment_pager.xml" |
| line="26" |
| column="32"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/colorPrimaryDark` is marked as private in com.google.android.material:material" |
| errorLine1=" android:background="?attr/colorPrimaryDark" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_fragment_pager.xml" |
| line="27" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/colorPrimaryDark` is marked as private in com.google.android.material:material" |
| errorLine1=" android:background="?attr/colorPrimaryDark"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_tall.xml" |
| line="28" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/actionBarSize` is marked as private in com.google.android.material:material" |
| errorLine1=" android:minHeight="?attr/actionBarSize"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_usage.xml" |
| line="28" |
| column="32"/> |
| </issue> |
| |
| <issue |
| id="PrivateResource" |
| message="The resource `@attr/colorPrimaryDark` is marked as private in com.google.android.material:material" |
| errorLine1=" android:background="?attr/colorPrimaryDark"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_usage.xml" |
| line="29" |
| column="33"/> |
| </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="61" |
| column="37"/> |
| </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="443" |
| column="10"/> |
| </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="10"/> |
| </issue> |
| |
| <issue |
| id="ExportedService" |
| message="Exported service does not require permission" |
| errorLine1=" <service android:name=".media.SampleDynamicGroupMrpService"" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="109" |
| column="10"/> |
| </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="6"/> |
| </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="6"/> |
| </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="76" |
| column="17"/> |
| </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" |
| 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="2"/> |
| </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.sample_dynamic_group_mrp_service` appears to be unused" |
| errorLine1=" <string name="sample_dynamic_group_mrp_service">Media Route Provider Service Support Library Sample (supporting dynamic group)</string>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/strings.xml" |
| line="46" |
| 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="69" |
| 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="73" |
| 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="102" |
| 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="109" |
| 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="110" |
| 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="111" |
| 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="112" |
| 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="123" |
| 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="125" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UselessParent" |
| message="This `LinearLayout` layout or its `LinearLayout` parent is possibly useless; transfer the `background` attribute to the other view" |
| errorLine1=" <LinearLayout" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/selection_demo_list_item.xml" |
| line="25" |
| column="4"/> |
| </issue> |
| |
| <issue |
| id="RedundantNamespace" |
| message="This namespace declaration is redundant" |
| errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/animated_recycler_view.xml" |
| line="23" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="RedundantNamespace" |
| message="This namespace declaration is redundant" |
| errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/animated_recycler_view.xml" |
| line="51" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="RedundantNamespace" |
| message="This namespace declaration is redundant" |
| 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="RedundantNamespace" |
| message="This namespace declaration is redundant" |
| errorLine1=" xmlns:android="http://schemas.android.com/apk/res/android"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/selection_demo_list_item.xml" |
| line="27" |
| column="7"/> |
| </issue> |
| |
| <issue |
| id="RedundantNamespace" |
| message="This namespace declaration is redundant" |
| 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="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="23" |
| 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="51" |
| 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=" xmlns:android="http://schemas.android.com/apk/res/android"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/selection_demo_list_item.xml" |
| line="27" |
| column="7"/> |
| </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="115" |
| 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="199" |
| 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="56" |
| column="10"/> |
| </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="10"/> |
| </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="10"/> |
| </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="78" |
| column="10"/> |
| </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="85" |
| column="10"/> |
| </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`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_rv_smoothscrollby.xml" |
| line="22" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="TextFields" |
| message="This text field does not specify an `inputType`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_widgets_text_input.xml" |
| line="25" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="TextFields" |
| message="This text field does not specify an `inputType`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/grid_layout_1.xml" |
| line="34" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="TextFields" |
| message="This text field does not specify an `inputType`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout-land/grid_layout_2.xml" |
| line="43" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="TextFields" |
| message="This text field does not specify an `inputType`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/grid_layout_2.xml" |
| line="43" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="TextFields" |
| message="This text field does not specify an `inputType`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout-land/grid_layout_2.xml" |
| line="51" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="TextFields" |
| message="This text field does not specify an `inputType`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/grid_layout_2.xml" |
| line="51" |
| column="6"/> |
| </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="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_base_layout_manager.xml" |
| line="31" |
| column="10"/> |
| </issue> |
| |
| <issue |
| id="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_rv_smoothscrollby.xml" |
| line="22" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_widgets_text_input.xml" |
| line="25" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/grid_layout_1.xml" |
| line="34" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout-land/grid_layout_2.xml" |
| line="43" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/grid_layout_2.xml" |
| line="43" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout-land/grid_layout_2.xml" |
| line="51" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/grid_layout_2.xml" |
| line="51" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="Autofill" |
| message="Missing `autofillHints` attribute" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/sorted_list_activity.xml" |
| line="21" |
| column="6"/> |
| </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="61" |
| 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="110" |
| 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="112" |
| 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="449" |
| 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="145" |
| 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="147" |
| 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="6"/> |
| </issue> |
| |
| <issue |
| id="ContentDescription" |
| message="Missing `contentDescription` attribute on image" |
| errorLine1=" <ImageView" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_animated_selector.xml" |
| line="33" |
| column="10"/> |
| </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="6"/> |
| </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="6"/> |
| </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="6"/> |
| </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="6"/> |
| </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="6"/> |
| </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="10"/> |
| </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="10"/> |
| </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="10"/> |
| </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="14"/> |
| </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="14"/> |
| </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="KeyboardInaccessibleWidget" |
| message="'clickable' attribute found, please also add 'focusable'" |
| errorLine1=" android:clickable="true"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_animated_selector.xml" |
| line="37" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="KeyboardInaccessibleWidget" |
| message="'clickable' attribute found, please also add 'focusable'" |
| errorLine1=" android:clickable="true"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_widgets_text_views.xml" |
| line="61" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="LabelFor" |
| message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_rv_smoothscrollby.xml" |
| line="22" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="LabelFor" |
| message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/grid_layout_1.xml" |
| line="34" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="LabelFor" |
| message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout-land/grid_layout_2.xml" |
| line="43" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="LabelFor" |
| message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/grid_layout_2.xml" |
| line="43" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="LabelFor" |
| message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout-land/grid_layout_2.xml" |
| line="51" |
| column="6"/> |
| </issue> |
| |
| <issue |
| id="LabelFor" |
| message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`" |
| errorLine1=" <EditText" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/res/layout/grid_layout_2.xml" |
| line="51" |
| column="6"/> |
| </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="707" |
| 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="98" |
| 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="153" |
| 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="88" |
| 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="88" |
| 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="89" |
| 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="91" |
| 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="57" |
| 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="80" |
| 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="86" |
| 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="91" |
| 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="102" |
| 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="113" |
| 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="118" |
| 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="165" |
| 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="66" |
| 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="66" |
| 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="67" |
| 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="67" |
| 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="122" |
| column="22"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" holder.nameTextView.text = "Item $position"" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/widget/RecyclerViewCoordinatorLayoutAppBarActivity.kt" |
| line="57" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" holder.nameTextView.text = "Item $position"" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/widget/RecyclerViewCoordinatorLayoutAppBarActivity.kt" |
| line="57" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" textView.setText("Position: " + position);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/widget/RvIn2NestedScrollViewsActivity.java" |
| line="75" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" textView.setText("Position: " + position);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/widget/RvIn2NestedScrollViewsActivity.java" |
| line="75" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" textView.setText("Position: " + position);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/widget/RvInNestedScrollViewActivity.java" |
| line="75" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" textView.setText("Position: " + position);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv7/widget/RvInNestedScrollViewActivity.java" |
| line="75" |
| column="30"/> |
| </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="93" |
| 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="94" |
| 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="94" |
| column="43"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Changing elevation with the buttons below is only relevant on SDK 21+", should use `@string` resource" |
| errorLine1=" android:text="Changing elevation with the buttons below is only relevant on SDK 21+" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/action_bar_background_change.xml" |
| line="27" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Transparent BG + no elevation", should use `@string` resource" |
| errorLine1=" android:text="Transparent BG + no elevation" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/action_bar_background_change.xml" |
| line="34" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Color BG + elevation", should use `@string` resource" |
| errorLine1=" android:text="Color BG + elevation" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/action_bar_background_change.xml" |
| line="40" |
| column="9"/> |
| </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 "ONE", should use `@string` resource" |
| errorLine1=" android:text="ONE"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_rv_in_two_nestedscrollviews.xml" |
| line="31" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "TWO", should use `@string` resource" |
| errorLine1=" android:text="TWO"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_rv_in_two_nestedscrollviews.xml" |
| line="46" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "FOUR", should use `@string` resource" |
| errorLine1=" android:text="FOUR"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_rv_in_two_nestedscrollviews.xml" |
| line="57" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "FIVE", should use `@string` resource" |
| errorLine1=" android:text="FIVE"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_rv_in_two_nestedscrollviews.xml" |
| line="66" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "100", should use `@string` resource" |
| errorLine1=" android:text="100"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_rv_smoothscrollby.xml" |
| line="26" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "down", should use `@string` resource" |
| errorLine1=" android:text="down"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_rv_smoothscrollby.xml" |
| line="31" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "up", should use `@string` resource" |
| errorLine1=" android:text="up"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/activity_rv_smoothscrollby.xml" |
| line="37" |
| column="9"/> |
| </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 "Check me out", should use `@string` resource" |
| errorLine1=" android:text="Check me out"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_animated_selector.xml" |
| line="45" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Uncheckable", should use `@string` resource" |
| errorLine1=" android:text="Uncheckable"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_animated_selector.xml" |
| line="51" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "I shouldn't be animated", should use `@string` resource" |
| errorLine1=" android:text="I shouldn't be animated"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_animated_selector.xml" |
| line="57" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Radio 1", should use `@string` resource" |
| errorLine1=" android:text="Radio 1"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_animated_selector.xml" |
| line="68" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Radio 2", should use `@string` resource" |
| errorLine1=" android:text="Radio 2"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_animated_selector.xml" |
| line="73" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "No Radio", should use `@string` resource" |
| errorLine1=" android:text="No Radio"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_animated_selector.xml" |
| line="79" |
| column="21"/> |
| </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="33" |
| column="13"/> |
| </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="44" |
| 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="50" |
| column="17"/> |
| </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="57" |
| 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="63" |
| 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="69" |
| 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="76" |
| 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="82" |
| 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="89" |
| 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="95" |
| 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="102" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Button (tinted)", should use `@string` resource" |
| errorLine1=" android:text="Button (tinted)"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_widgets_buttons.xml" |
| line="108" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Button (tinted) disabled", should use `@string` resource" |
| errorLine1=" android:text="Button (tinted) disabled"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_widgets_buttons.xml" |
| line="116" |
| 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="123" |
| 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="130" |
| 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="136" |
| 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="144" |
| column="13"/> |
| </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_switches.xml" |
| line="33" |
| column="13"/> |
| </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_switches.xml" |
| line="39" |
| 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_switches.xml" |
| line="44" |
| column="13"/> |
| </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_switches.xml" |
| line="50" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "SwitchCompat custom drawables", should use `@string` resource" |
| errorLine1=" android:text="SwitchCompat custom drawables" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_widgets_switches.xml" |
| line="57" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "SwitchCompat custom drawables + tint", should use `@string` resource" |
| errorLine1=" android:text="SwitchCompat custom drawables + tint" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/appcompat_widgets_switches.xml" |
| line="66" |
| 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 "Toolbar", should use `@string` resource" |
| errorLine1=" android:text="Toolbar" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/nsv_cl_appbar_activity.xml" |
| line="31" |
| column="17"/> |
| </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 "Toolbar", should use `@string` resource" |
| errorLine1=" android:text="Toolbar" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/rv_cl_appbar_activity.xml" |
| line="31" |
| column="17"/> |
| </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 "Add column", should use `@string` resource" |
| errorLine1=" android:title="Add column" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/selection_demo_actions.xml" |
| line="20" |
| column="8"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Remove column", should use `@string` resource" |
| errorLine1=" android:title="Remove column" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/selection_demo_actions.xml" |
| line="23" |
| column="8"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "✕", should use `@string` resource" |
| errorLine1=" android:text="✕">" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/selection_demo_list_item.xml" |
| line="40" |
| column="11"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Transparent BG + no elevation", should use `@string` resource" |
| errorLine1=" android:text="Transparent BG + no elevation" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_background_change.xml" |
| line="38" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Color BG + elevation", should use `@string` resource" |
| errorLine1=" android:text="Color BG + elevation" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/toolbar_background_change.xml" |
| line="44" |
| column="9"/> |
| </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_tall.xml" |
| line="38" |
| column="9"/> |
| </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="RtlSymmetry" |
| message="When you define `paddingEnd` you should probably also define `paddingStart` for right-to-left symmetry" |
| errorLine1=" android:paddingEnd="@dimen/control_offset_medium"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/list_popup_window_activity.xml" |
| line="38" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="RtlSymmetry" |
| message="When you define `paddingRight` you should probably also define `paddingLeft` for right-to-left symmetry" |
| errorLine1=" android:paddingRight="@dimen/control_offset_medium"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/list_popup_window_activity.xml" |
| line="39" |
| column="9"/> |
| </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="104" |
| 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="108" |
| 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="110" |
| 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="111" |
| 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="145" |
| 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="326" |
| 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="334" |
| 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="334" |
| 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="100" |
| 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="104" |
| 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="106" |
| 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="107" |
| 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> |