| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="4" by="lint 3.0.0"> |
| |
| <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/accessibility_roledescription.xml" |
| line="8" |
| column="9"/> |
| </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/sliding_pane_layout.xml" |
| line="51" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`." |
| errorLine1=" titleQuery = titleQuery.toLowerCase();" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/model/MusicProvider.java" |
| line="121" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`." |
| errorLine1=" if (track.metadata.getString(MediaMetadataCompat.METADATA_KEY_TITLE).toLowerCase()" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/model/MusicProvider.java" |
| line="123" |
| column="82"/> |
| </issue> |
| |
| <issue |
| id="InconsistentLayout" |
| message="The id "details" in layout "fragment_layout_support" is missing from the following layout configurations: layout (present in layout-land)" |
| errorLine1=" <FrameLayout android:id="@+id/details" android:layout_weight="1"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout-land/fragment_layout_support.xml" |
| line="29" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 24 (current min is 14): `android.content.pm.PackageManager#MATCH_UNINSTALLED_PACKAGES`" |
| errorLine1=" PackageManager.MATCH_UNINSTALLED_PACKAGES" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/LoaderCustomSupport.java" |
| line="232" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 24 (current min is 14): `android.content.pm.PackageManager#MATCH_DISABLED_COMPONENTS`" |
| errorLine1=" | PackageManager.MATCH_DISABLED_COMPONENTS);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/LoaderCustomSupport.java" |
| line="233" |
| column="31"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 21 (current min is 14): `android.R.attr#colorPrimary`" |
| errorLine1=" android.R.attr.colorPrimary, Color.DKGRAY);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java" |
| line="81" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 21 (current min is 14): `android.media.session.PlaybackState#STATE_STOPPED`" |
| errorLine1=" mState = PlaybackState.STATE_STOPPED;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/Playback.java" |
| line="110" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 21 (current min is 14): `android.media.session.PlaybackState#STATE_STOPPED`" |
| errorLine1=" mState = PlaybackState.STATE_STOPPED;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/Playback.java" |
| line="160" |
| column="22"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 21 (current min is 14): `android.media.session.PlaybackState#STATE_BUFFERING`" |
| errorLine1=" mState = PlaybackState.STATE_BUFFERING;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/Playback.java" |
| line="170" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 21 (current min is 14): `android.media.session.PlaybackState#STATE_PAUSED`" |
| errorLine1=" mState = PlaybackState.STATE_PAUSED;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/Playback.java" |
| line="211" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 21 (current min is 14): `android.media.session.PlaybackState#STATE_BUFFERING`" |
| errorLine1=" mState = PlaybackState.STATE_BUFFERING;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/Playback.java" |
| line="226" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 21 (current min is 14): `android.media.session.PlaybackState#STATE_PLAYING`" |
| errorLine1=" mState = PlaybackState.STATE_PLAYING;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/Playback.java" |
| line="297" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 21 (current min is 14): `android.media.session.PlaybackState#STATE_BUFFERING`" |
| errorLine1=" mState = PlaybackState.STATE_BUFFERING;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/Playback.java" |
| line="300" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="InlinedApi" |
| message="Field requires API level 21 (current min is 14): `android.media.session.PlaybackState#STATE_PLAYING`" |
| errorLine1=" mState = PlaybackState.STATE_PLAYING;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/Playback.java" |
| line="354" |
| column="22"/> |
| </issue> |
| |
| <issue |
| id="UnusedAttribute" |
| message="Attribute `autoMirrored` is only used in API level 19 and higher (current min is 14)" |
| errorLine1=" android:autoMirrored="true">" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/drawable/ic_drawer.xml" |
| line="22" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="WifiManagerLeak" |
| message="The WIFI_SERVICE must be looked up on the Application context or memory will leak on devices < Android N. Try changing `service` to `service.getApplicationContext()`" |
| errorLine1=" this.mWifiLock = ((WifiManager) service.getSystemService(Context.WIFI_SERVICE))" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/Playback.java" |
| line="102" |
| column="41"/> |
| </issue> |
| |
| <issue |
| id="SpUsage" |
| message="Should use "`sp`" instead of "`dp`" for text sizes" |
| errorLine1=" android:textSize="24dip"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/bidiformater_support.xml" |
| line="28" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="SpUsage" |
| message="Should use "`sp`" instead of "`dp`" for text sizes" |
| errorLine1=" android:textSize="24dip"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/bidiformater_support.xml" |
| line="35" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="SpUsage" |
| message="Should use "`sp`" instead of "`dp`" for text sizes" |
| errorLine1=" android:textSize="24dip"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/bidiformater_support.xml" |
| line="46" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="SpUsage" |
| message="Should use "`sp`" instead of "`dp`" for text sizes" |
| errorLine1=" android:textSize="24dip"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/bidiformater_support.xml" |
| line="53" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="SwitchIntDef" |
| message="Switch statement on an `int` with known associated constant missing case `PlaybackStateCompat.STATE_FAST_FORWARDING`, `PlaybackStateCompat.STATE_REWINDING`, `PlaybackStateCompat.STATE_SKIPPING_TO_NEXT`, `PlaybackStateCompat.STATE_SKIPPING_TO_PREVIOUS`, `PlaybackStateCompat.STATE_SKIPPING_TO_QUEUE_ITEM`" |
| errorLine1=" switch (state.getState()) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/QueueFragment.java" |
| line="206" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="PackageManagerGetSignatures" |
| message="Reading app signatures from getPackageInfo: The app signatures could be exploited if not validated properly; see issue explanation for details." |
| errorLine1=" callingPackage, PackageManager.GET_SIGNATURES);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/PackageValidator.java" |
| line="103" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: Service.START_STICKY_COMPATIBILITY, Service.START_STICKY, Service.START_NOT_STICKY, Service.START_REDELIVER_INTENT" |
| errorLine1=" return ServiceCompat.START_STICKY;" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/content/LocalServiceBroadcaster.java" |
| line="150" |
| column="20"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: MediaMetadataCompat.METADATA_KEY_TITLE, MediaMetadataCompat.METADATA_KEY_ARTIST, MediaMetadataCompat.METADATA_KEY_ALBUM, MediaMetadataCompat.METADATA_KEY_AUTHOR, MediaMetadataCompat.METADATA_KEY_WRITER, MediaMetadataCompat.METADATA_KEY_COMPOSER, MediaMetadataCompat.METADATA_KEY_COMPILATION, MediaMetadataCompat.METADATA_KEY_DATE, MediaMetadataCompat.METADATA_KEY_GENRE, MediaMetadataCompat.METADATA_KEY_ALBUM_ARTIST, MediaMetadataCompat.METADATA_KEY_ART_URI, MediaMetadataCompat.METADATA_KEY_ALBUM_ART_URI, MediaMetadataCompat.METADATA_KEY_DISPLAY_TITLE, MediaMetadataCompat.METADATA_KEY_DISPLAY_SUBTITLE, MediaMetadataCompat.METADATA_KEY_DISPLAY_DESCRIPTION, MediaMetadataCompat.METADATA_KEY_DISPLAY_ICON_URI, MediaMetadataCompat.METADATA_KEY_MEDIA_ID, MediaMetadataCompat.METADATA_KEY_MEDIA_URI" |
| errorLine1=" MusicProvider.CUSTOM_METADATA_TRACK_SOURCE).hashCode(), e);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/MediaBrowserServiceSupport.java" |
| line="596" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: MediaMetadataCompat.METADATA_KEY_TITLE, MediaMetadataCompat.METADATA_KEY_ARTIST, MediaMetadataCompat.METADATA_KEY_ALBUM, MediaMetadataCompat.METADATA_KEY_AUTHOR, MediaMetadataCompat.METADATA_KEY_WRITER, MediaMetadataCompat.METADATA_KEY_COMPOSER, MediaMetadataCompat.METADATA_KEY_COMPILATION, MediaMetadataCompat.METADATA_KEY_DATE, MediaMetadataCompat.METADATA_KEY_GENRE, MediaMetadataCompat.METADATA_KEY_ALBUM_ARTIST, MediaMetadataCompat.METADATA_KEY_ART_URI, MediaMetadataCompat.METADATA_KEY_ALBUM_ART_URI, MediaMetadataCompat.METADATA_KEY_DISPLAY_TITLE, MediaMetadataCompat.METADATA_KEY_DISPLAY_SUBTITLE, MediaMetadataCompat.METADATA_KEY_DISPLAY_DESCRIPTION, MediaMetadataCompat.METADATA_KEY_DISPLAY_ICON_URI, MediaMetadataCompat.METADATA_KEY_MEDIA_ID, MediaMetadataCompat.METADATA_KEY_MEDIA_URI" |
| errorLine1=" .putString(CUSTOM_METADATA_TRACK_SOURCE, source)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/model/MusicProvider.java" |
| line="282" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: MediaMetadataCompat.METADATA_KEY_TITLE, MediaMetadataCompat.METADATA_KEY_ARTIST, MediaMetadataCompat.METADATA_KEY_ALBUM, MediaMetadataCompat.METADATA_KEY_AUTHOR, MediaMetadataCompat.METADATA_KEY_WRITER, MediaMetadataCompat.METADATA_KEY_COMPOSER, MediaMetadataCompat.METADATA_KEY_COMPILATION, MediaMetadataCompat.METADATA_KEY_DATE, MediaMetadataCompat.METADATA_KEY_GENRE, MediaMetadataCompat.METADATA_KEY_ALBUM_ARTIST, MediaMetadataCompat.METADATA_KEY_ART_URI, MediaMetadataCompat.METADATA_KEY_ALBUM_ART_URI, MediaMetadataCompat.METADATA_KEY_DISPLAY_TITLE, MediaMetadataCompat.METADATA_KEY_DISPLAY_SUBTITLE, MediaMetadataCompat.METADATA_KEY_DISPLAY_DESCRIPTION, MediaMetadataCompat.METADATA_KEY_DISPLAY_ICON_URI, MediaMetadataCompat.METADATA_KEY_MEDIA_ID, MediaMetadataCompat.METADATA_KEY_MEDIA_URI" |
| errorLine1=" String source = track.getString(MusicProvider.CUSTOM_METADATA_TRACK_SOURCE);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/Playback.java" |
| line="165" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: PlaybackStateCompat.STATE_NONE, PlaybackStateCompat.STATE_STOPPED, PlaybackStateCompat.STATE_PAUSED, PlaybackStateCompat.STATE_PLAYING, PlaybackStateCompat.STATE_FAST_FORWARDING, PlaybackStateCompat.STATE_REWINDING, PlaybackStateCompat.STATE_BUFFERING, PlaybackStateCompat.STATE_ERROR, PlaybackStateCompat.STATE_CONNECTING, PlaybackStateCompat.STATE_SKIPPING_TO_PREVIOUS, PlaybackStateCompat.STATE_SKIPPING_TO_NEXT, PlaybackStateCompat.STATE_SKIPPING_TO_QUEUE_ITEM" |
| errorLine1=" Log.d(TAG, "Received playback state change to state " + state.getState());" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/QueueFragment.java" |
| line="119" |
| column="24"/> |
| </issue> |
| |
| <issue |
| id="ExportedContentProvider" |
| message="Exported content providers can provide access to potentially sensitive data" |
| errorLine1=" <provider android:name=".app.LoaderThrottleSupport$SimpleProvider"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="233" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="ExportedContentProvider" |
| message="Exported content providers can provide access to potentially sensitive data" |
| errorLine1=" <provider android:authorities="com.example.supportv4.content.sharingsupportprovider"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="378" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="ExportedService" |
| message="Exported service does not require permission" |
| errorLine1=" <service android:name=".media.MediaBrowserServiceSupport"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="450" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="AllowBackup" |
| message="On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute `android:fullBackupContent` to specify an `@xml` resource which configures which files to backup. More info: https://developer.android.com/training/backup/autosyncapi.html" |
| errorLine1=" <application android:label="@string/activity_sample_code"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="36" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="AllowBackup" |
| message="Should explicitly set `android:allowBackup` to `true` or `false` (it's `true` by default, and that can have some security implications for the application's data)" |
| errorLine1=" <application android:label="@string/activity_sample_code"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="36" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="ObsoleteSdkInt" |
| message="This folder configuration (`v11`) is unnecessary; `minSdkVersion` is 14. Merge all the resources in this folder into `values`."> |
| <location |
| file="src/main/res/values-v11"/> |
| </issue> |
| |
| <issue |
| id="StaticFieldLeak" |
| message="This AsyncTask class should be static or leaks might occur (anonymous android.os.AsyncTask)" |
| errorLine1=" new AsyncTask<Void, Void, Bitmap[]>() {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/AlbumArtCache.java" |
| line="94" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="StaticFieldLeak" |
| message="This AsyncTask class should be static or leaks might occur (anonymous android.os.AsyncTask)" |
| errorLine1=" mPopulatingTask = new AsyncTask<Void, Void, Void>() {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/LoaderThrottleSupport.java" |
| line="436" |
| column="39"/> |
| </issue> |
| |
| <issue |
| id="StaticFieldLeak" |
| message="This AsyncTask class should be static or leaks might occur (anonymous android.os.AsyncTask)" |
| errorLine1=" AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/LoaderThrottleSupport.java" |
| line="464" |
| column="56"/> |
| </issue> |
| |
| <issue |
| id="StaticFieldLeak" |
| message="This AsyncTask class should be static or leaks might occur (anonymous android.os.AsyncTask)" |
| errorLine1=" new AsyncTask<Void, Void, State>() {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/supportv4/media/model/MusicProvider.java" |
| line="186" |
| column="9"/> |
| </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/list_item_icon_text.xml" |
| line="17" |
| column="1"/> |
| </issue> |
| |
| <issue |
| id="HandlerLeak" |
| message="This Handler class should be static or leaks might occur (anonymous android.os.Handler)" |
| errorLine1=" Handler mHandler = new Handler() {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/supportv4/content/LocalServiceBroadcaster.java" |
| line="117" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="DisableBaselineAlignment" |
| message="Set `android:baselineAligned="false"` on this element for better performance" |
| errorLine1=" <LinearLayout android:orientation="horizontal" android:padding="4dip"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout-land/fragment_arguments_support.xml" |
| line="35" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="DisableBaselineAlignment" |
| message="Set `android:baselineAligned="false"` on this element for better performance" |
| errorLine1=" <LinearLayout android:orientation="horizontal" android:padding="4dip"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/fragment_arguments_support.xml" |
| line="35" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="DisableBaselineAlignment" |
| message="Set `android:baselineAligned="false"` on this element for better performance" |
| errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" |
| errorLine2="^"> |
| <location |
| file="src/main/res/layout-land/fragment_layout_support.xml" |
| line="21" |
| column="1"/> |
| </issue> |
| |
| <issue |
| id="InefficientWeight" |
| message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" |
| errorLine1=" android:layout_height="wrap_content"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout-land/fragment_arguments_support.xml" |
| line="27" |
| column="13"/> |
| </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/fragment_arguments_support.xml" |
| line="27" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="InefficientWeight" |
| message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" |
| errorLine1=" android:layout_width="match_parent" android:layout_height="wrap_content"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/send_result.xml" |
| line="27" |
| column="49"/> |
| </issue> |
| |
| <issue |
| id="InefficientWeight" |
| message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" |
| errorLine1=" android:layout_width="match_parent" android:layout_height="wrap_content"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/simple_job_intent_controller.xml" |
| line="23" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="InefficientWeight" |
| message="Use a `layout_height` of `0dp` instead of `wrap_content` for better performance" |
| errorLine1=" android:layout_width="match_parent" android:layout_height="wrap_content"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/wakeful_alarm_controller.xml" |
| line="23" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="NestedWeights" |
| message="Nested weights are bad for performance" |
| errorLine1=" android:id="@+id/fragment1" android:layout_weight="1"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/fragment_hide_show_support.xml" |
| line="38" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="NestedWeights" |
| message="Nested weights are bad for performance" |
| errorLine1=" android:id="@+id/fragment2" android:layout_weight="1"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/fragment_hide_show_support.xml" |
| line="52" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.drawable.red` appears to be unused" |
| errorLine1=" <drawable name="red">#7f00</drawable>" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/colors.xml" |
| line="18" |
| column="15"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.drawable.blue` appears to be unused" |
| errorLine1=" <drawable name="blue">#770000ff</drawable>" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/colors.xml" |
| line="19" |
| column="15"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.drawable.yellow` appears to be unused" |
| errorLine1=" <drawable name="yellow">#77ffff00</drawable>" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/colors.xml" |
| line="21" |
| column="15"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.drawable.ic_drawer` appears to be unused" |
| errorLine1="<bitmap xmlns:android="http://schemas.android.com/apk/res/android"" |
| errorLine2="^"> |
| <location |
| file="src/main/res/drawable/ic_drawer.xml" |
| line="20" |
| column="1"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.drawable.ic_drawer_am` appears to be unused"> |
| <location |
| file="src/main/res/drawable-hdpi/ic_drawer_am.png"/> |
| <location |
| file="src/main/res/drawable-mdpi/ic_drawer_am.png"/> |
| <location |
| file="src/main/res/drawable-xhdpi/ic_drawer_am.png"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.menu.shortcuts` appears to be unused" |
| errorLine1="<menu xmlns:android="http://schemas.android.com/apk/res/android">" |
| errorLine2="^"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="17" |
| column="1"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.string.accessibility_delegate_button` appears to be unused" |
| errorLine1=" <string name="accessibility_delegate_button">Button</string>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/strings.xml" |
| line="146" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.string.sample_transport_controller_activity` appears to be unused" |
| errorLine1=" <string name="sample_transport_controller_activity">Media/TransportController</string>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/strings.xml" |
| line="189" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.string.error_cannot_skip` appears to be unused" |
| errorLine1=" <string name="error_cannot_skip">Cannot skip</string>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/strings.xml" |
| line="206" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.string.error_empty_metadata` appears to be unused" |
| errorLine1=" <string name="error_empty_metadata">Empty metadata!</string>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/strings.xml" |
| line="217" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.style.ThemeHolo` appears to be unused" |
| errorLine1=" <style name="ThemeHolo" parent="android:Theme">" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/styles.xml" |
| line="22" |
| column="12"/> |
| <location |
| file="src/main/res/values-v11/styles.xml" |
| line="19" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="IconDipSize" |
| message="Suspicious file name `ic_equalizer_white_24dp.png`: The implied 24 `dp` size does not match the actual `dp` size (pixel size 96×96 in a `drawable-xxhdpi` folder computes to 32×32 `dp`)"> |
| <location |
| file="src/main/res/drawable-xxhdpi/ic_equalizer_white_24dp.png"/> |
| </issue> |
| |
| <issue |
| id="IconDipSize" |
| message="The image `ic_equalizer_white_24dp.png` varies significantly in its density-independent (dip) size across the various density versions: drawable-xhdpi/ic_equalizer_white_24dp.png: 24x24 dp (48x48 px), drawable-xxhdpi/ic_equalizer_white_24dp.png: 32x32 dp (96x96 px)"> |
| <location |
| file="src/main/res/drawable-xhdpi/ic_equalizer_white_24dp.png"/> |
| <location |
| file="src/main/res/drawable-xxhdpi/ic_equalizer_white_24dp.png"/> |
| </issue> |
| |
| <issue |
| id="IconDensities" |
| message="Missing the following drawables in `drawable-hdpi`: ic_default_art.png, ic_equalizer_white_24dp.png, ic_star_off.png, ic_star_on.png"> |
| <location |
| file="src/main/res/drawable-hdpi"/> |
| </issue> |
| |
| <issue |
| id="IconDensities" |
| message="Missing the following drawables in `drawable-mdpi`: ic_default_art.png, ic_equalizer_white_24dp.png, ic_notification.png, ic_pause_white_24dp.png, ic_play_arrow_white_24dp.png... (4 more)"> |
| <location |
| file="src/main/res/drawable-mdpi"/> |
| </issue> |
| |
| <issue |
| id="IconDensities" |
| message="Missing the following drawables in `drawable-xhdpi`: alert_dialog_icon.png, app_sample_code.png, ic_default_art.png, ic_notification.png, ic_star_off.png... (1 more)"> |
| <location |
| file="src/main/res/drawable-xhdpi"/> |
| </issue> |
| |
| <issue |
| id="IconDensities" |
| message="Missing the following drawables in `drawable-xxhdpi`: alert_dialog_icon.png, android_robot.png, app_sample_code.png, ic_drawer_am.png, ic_notification.png... (1 more)"> |
| <location |
| file="src/main/res/drawable-xxhdpi"/> |
| </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 android:id="@+id/goto_first"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/fragment_pager.xml" |
| line="36" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="ButtonStyle" |
| message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" |
| errorLine1=" <Button android:id="@+id/goto_last"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/fragment_pager.xml" |
| line="40" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="ButtonStyle" |
| message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" |
| errorLine1=" <Button android:id="@+id/home"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/fragment_stack.xml" |
| line="34" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="ButtonStyle" |
| message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" |
| errorLine1=" <Button android:id="@+id/new_fragment"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/fragment_stack.xml" |
| line="39" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="ButtonStyle" |
| message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)" |
| errorLine1=" <Button android:id="@+id/delete_fragment"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/fragment_stack.xml" |
| line="43" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="GoogleAppIndexingWarning" |
| message="App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter. See issue explanation for more details." |
| errorLine1=" <application android:label="@string/activity_sample_code"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="36" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="TextFields" |
| message="This text field does not specify an `inputType` or a `hint`" |
| errorLine1=" <EditText android:id="@+id/saved"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/labeled_text_edit.xml" |
| line="28" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="ClickableViewAccessibility" |
| message="Custom view `CustomView` overrides `onTouchEvent` but not `performClick`" |
| errorLine1=" public boolean onTouchEvent(MotionEvent event) {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/widget/ExploreByTouchHelperActivity.java" |
| line="130" |
| column="24"/> |
| </issue> |
| |
| <issue |
| id="ContentDescription" |
| message="Missing `contentDescription` attribute on image" |
| errorLine1=" <ImageView" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/activity_rounded_bitmap.xml" |
| line="31" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="ContentDescription" |
| message="Missing `contentDescription` attribute on image" |
| errorLine1=" <ImageView" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/drawable_compat.xml" |
| line="23" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="ContentDescription" |
| message="Missing `contentDescription` attribute on image" |
| errorLine1=" <ImageView android:id="@+id/icon"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/list_item_icon_text.xml" |
| line="22" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="KeyboardInaccessibleWidget" |
| message="'clickable' attribute found, please also add 'focusable'" |
| errorLine1=" android:clickable="true"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/drawable_compat.xml" |
| line="27" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" mShowText.setText("Show clicked at " + mShowTime);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/widget/ContentLoadingProgressBarActivity.java" |
| line="79" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" mShowText.setText("Show clicked at " + mShowTime);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/widget/ContentLoadingProgressBarActivity.java" |
| line="79" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" mHideText.setText("Hide clicked at " + mHideTime);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/widget/ContentLoadingProgressBarActivity.java" |
| line="84" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" mHideText.setText("Hide clicked at " + mHideTime);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/widget/ContentLoadingProgressBarActivity.java" |
| line="84" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" mShowTextDone.setText("Shown at "" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/supportv4/widget/ContentLoadingProgressBarActivity.java" |
| line="96" |
| column="39"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" mShowTextDone.setText("Shown at "" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/widget/ContentLoadingProgressBarActivity.java" |
| line="96" |
| column="39"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" mHideTextDone.setText("Hidden after "" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/supportv4/widget/ContentLoadingProgressBarActivity.java" |
| line="99" |
| column="39"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" mHideTextDone.setText("Hidden after "" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/widget/ContentLoadingProgressBarActivity.java" |
| line="99" |
| column="39"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView)tv).setText("Example of displaying an alert dialog with a DialogFragment");" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentAlertDialogSupport.java" |
| line="45" |
| column="32"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" ((TextView) tv).setText("Fragment #" + mNum);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentCustomAnimationSupport.java" |
| line="124" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView) tv).setText("Fragment #" + mNum);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentCustomAnimationSupport.java" |
| line="124" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView)tv).setText("This is an instance of MyDialogFragment");" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentDialogOrActivitySupport.java" |
| line="77" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" ((TextView)tv).setText("Example of displaying dialogs with a DialogFragment. "" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentDialogSupport.java" |
| line="43" |
| column="32"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView)tv).setText("Example of displaying dialogs with a DialogFragment. "" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentDialogSupport.java" |
| line="43" |
| column="32"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" + "Press the show button below to see the first dialog; pressing "" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentDialogSupport.java" |
| line="44" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" + "successive show buttons will display other dialog styles as a "" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentDialogSupport.java" |
| line="45" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" + "stack, with dismissing or back going to the previous dialog.");" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentDialogSupport.java" |
| line="46" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" ((TextView)tv).setText("Dialog #" + mNum + ": using style "" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentDialogSupport.java" |
| line="153" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView)tv).setText("Dialog #" + mNum + ": using style "" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentDialogSupport.java" |
| line="153" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView)tv).setText("Dialog #" + mNum + ": using style "" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentDialogSupport.java" |
| line="153" |
| column="56"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" button.setText("Hide");" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentHideShowSupport.java" |
| line="67" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" button.setText("Show");" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentHideShowSupport.java" |
| line="70" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView)tv).setText("The fragment saves and restores this text.");" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentHideShowSupport.java" |
| line="85" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView)tv).setText("The TextView saves and restores this text.");" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentHideShowSupport.java" |
| line="111" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" ((TextView)tv).setText("Fragment #" + mNum);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentPagerSupport.java" |
| line="126" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView)tv).setText("Fragment #" + mNum);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentPagerSupport.java" |
| line="126" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" ((TextView) tv).setText("Fragment #" + mNum);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentStackSupport.java" |
| line="134" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView) tv).setText("Fragment #" + mNum);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentStackSupport.java" |
| line="134" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" ((TextView)tv).setText("Fragment #" + mNum);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentStatePagerSupport.java" |
| line="127" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" ((TextView)tv).setText("Fragment #" + mNum);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/app/FragmentStatePagerSupport.java" |
| line="127" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" callbackData.setText("No broadcast received yet");" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/content/LocalServiceBroadcaster.java" |
| line="60" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" callbackData.setText("STARTED");" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/content/LocalServiceBroadcaster.java" |
| line="74" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" callbackData.setText("Got update: " + intent.getIntExtra("value", 0));" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/content/LocalServiceBroadcaster.java" |
| line="76" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" callbackData.setText("Got update: " + intent.getIntExtra("value", 0));" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/content/LocalServiceBroadcaster.java" |
| line="76" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" callbackData.setText("STOPPED");" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/supportv4/content/LocalServiceBroadcaster.java" |
| line="78" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Demonstration of hiding and showing fragments.", should use `@string` resource" |
| errorLine1=" android:text="Demonstration of hiding and showing fragments." />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/fragment_hide_show_support.xml" |
| line="27" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Hide", should use `@string` resource" |
| errorLine1=" android:text="Hide" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/fragment_hide_show_support.xml" |
| line="35" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Hide", should use `@string` resource" |
| errorLine1=" android:text="Hide" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/fragment_hide_show_support.xml" |
| line="49" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "No items.", should use `@string` resource" |
| errorLine1=" android:text="No items."/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/fragment_pager_list.xml" |
| line="49" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Invisible item", should use `@string` resource" |
| errorLine1=" android:title="Invisible item" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="22" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Alvin", should use `@string` resource" |
| errorLine1=" android:title="Alvin" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="26" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Bart", should use `@string` resource" |
| errorLine1=" android:title="Bart" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="30" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Chris", should use `@string` resource" |
| errorLine1=" android:title="Chris" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="34" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "David", should use `@string` resource" |
| errorLine1=" android:title="David" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="38" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Eric", should use `@string` resource" |
| errorLine1=" android:title="Eric" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="42" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Frank", should use `@string` resource" |
| errorLine1=" android:title="Frank" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="46" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Gary", should use `@string` resource" |
| errorLine1=" android:title="Gary" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="50" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Henry", should use `@string` resource" |
| errorLine1=" android:title="Henry" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="54" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Exclamation", should use `@string` resource" |
| errorLine1=" android:title="Exclamation" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/shortcuts.xml" |
| line="58" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Refresh", should use `@string` resource" |
| errorLine1=" android:title="Refresh" />" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/swipe_refresh_menu.xml" |
| line="21" |
| 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/sliding_pane_layout.xml" |
| line="33" |
| column="39"/> |
| </issue> |
| |
| </issues> |