| <?xml version="1.0" encoding="UTF-8"?> | |
| <issues format="4" by="lint 3.0.0"> | |
| <issue | |
| id="DefaultLocale" | |
| message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" | |
| errorLine1=" drTxt.setText(String.format("%.4f", (float) mDampingRatio));" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/java/com/example/android/support/animation/MainActivity.java" | |
| line="131" | |
| column="31"/> | |
| </issue> | |
| <issue | |
| id="DefaultLocale" | |
| message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" | |
| errorLine1=" nfTxt.setText(String.format("%.3f", (float) stiffness));" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/java/com/example/android/support/animation/MainActivity.java" | |
| line="153" | |
| column="31"/> | |
| </issue> | |
| <issue | |
| id="DefaultLocale" | |
| message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" | |
| errorLine1=" drTxt.setText(String.format("%.4f", (float) mDampingRatio));" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/java/com/example/android/support/animation/SpringActivity.java" | |
| line="116" | |
| column="31"/> | |
| </issue> | |
| <issue | |
| id="DefaultLocale" | |
| message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" | |
| errorLine1=" nfTxt.setText(String.format("%.3f", (float) stiffness));" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/java/com/example/android/support/animation/SpringActivity.java" | |
| line="138" | |
| column="31"/> | |
| </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="19" | |
| 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="19" | |
| column="5"/> | |
| </issue> | |
| <issue | |
| id="ObsoleteLayoutParam" | |
| message="Invalid layout param in a `FrameLayout`: `layout_centerHorizontal`" | |
| errorLine1=" android:layout_centerHorizontal="true"" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/activity_main.xml" | |
| line="43" | |
| column="13"/> | |
| </issue> | |
| <issue | |
| id="ObsoleteLayoutParam" | |
| message="Invalid layout param in a `FrameLayout`: `layout_centerVertical`" | |
| errorLine1=" android:layout_centerVertical="true"" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/activity_main.xml" | |
| line="44" | |
| column="13"/> | |
| </issue> | |
| <issue | |
| id="MergeRootFrame" | |
| message="This `<FrameLayout>` can be replaced with a `<merge>` tag" | |
| errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" | |
| errorLine2="^"> | |
| <location | |
| file="src/main/res/layout/activity_chained_springs.xml" | |
| line="17" | |
| column="1"/> | |
| </issue> | |
| <issue | |
| id="UselessParent" | |
| message="This `FrameLayout` layout or its `RelativeLayout` parent is possibly useless" | |
| errorLine1=" <FrameLayout" | |
| errorLine2=" ^"> | |
| <location | |
| file="src/main/res/layout/activity_main.xml" | |
| line="30" | |
| column="5"/> | |
| </issue> | |
| <issue | |
| id="IconMissingDensityFolder" | |
| message="Missing density variation folders in `src/main/res`: drawable-xhdpi, drawable-xxhdpi"> | |
| <location | |
| file="src/main/res"/> | |
| </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="19" | |
| column="5"/> | |
| </issue> | |
| <issue | |
| id="ClickableViewAccessibility" | |
| message="`onTouch` should call `View#performClick` when a click is detected" | |
| errorLine1=" public boolean onTouch(View view, MotionEvent motionEvent) {" | |
| errorLine2=" ~~~~~~~"> | |
| <location | |
| file="src/main/java/com/example/android/support/animation/MainActivity.java" | |
| line="74" | |
| column="28"/> | |
| </issue> | |
| <issue | |
| id="ClickableViewAccessibility" | |
| message="`onTouch` should call `View#performClick` when a click is detected" | |
| errorLine1=" public boolean onTouch(View v, MotionEvent motionEvent) {" | |
| errorLine2=" ~~~~~~~"> | |
| <location | |
| file="src/main/java/com/example/android/support/animation/SpringActivity.java" | |
| line="62" | |
| column="28"/> | |
| </issue> | |
| <issue | |
| id="ContentDescription" | |
| message="Missing `contentDescription` attribute on image" | |
| errorLine1=" <ImageView" | |
| errorLine2=" ^"> | |
| <location | |
| file="src/main/res/layout/activity_chained_springs.xml" | |
| line="87" | |
| column="9"/> | |
| </issue> | |
| <issue | |
| id="ContentDescription" | |
| message="Missing `contentDescription` attribute on image" | |
| errorLine1=" <ImageView" | |
| errorLine2=" ^"> | |
| <location | |
| file="src/main/res/layout/activity_chained_springs.xml" | |
| line="93" | |
| column="9"/> | |
| </issue> | |
| <issue | |
| id="ContentDescription" | |
| message="Missing `contentDescription` attribute on image" | |
| errorLine1=" <ImageView" | |
| errorLine2=" ^"> | |
| <location | |
| file="src/main/res/layout/activity_main.xml" | |
| line="39" | |
| column="9"/> | |
| </issue> | |
| <issue | |
| id="HardcodedText" | |
| message="Hardcoded string "Damping Ratio:", should use `@string` resource" | |
| errorLine1=" android:text="Damping Ratio:"/>" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/activity_chained_springs.xml" | |
| line="33" | |
| column="17"/> | |
| </issue> | |
| <issue | |
| id="HardcodedText" | |
| message="Hardcoded string "Stiffness:", should use `@string` resource" | |
| errorLine1=" android:text="Stiffness:"/>" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/activity_chained_springs.xml" | |
| line="59" | |
| column="17"/> | |
| </issue> | |
| <issue | |
| id="HardcodedText" | |
| message="Hardcoded string "Drag\n Me", should use `@string` resource" | |
| errorLine1=" android:text="Drag\n Me"" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/activity_chained_springs.xml" | |
| line="85" | |
| column="13"/> | |
| </issue> | |
| <issue | |
| id="HardcodedText" | |
| message="Hardcoded string "Damping Ratio:", should use `@string` resource" | |
| errorLine1=" android:text="Damping Ratio:"/>" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/activity_main.xml" | |
| line="63" | |
| column="21"/> | |
| </issue> | |
| <issue | |
| id="HardcodedText" | |
| message="Hardcoded string "Stiffness:", should use `@string` resource" | |
| errorLine1=" android:text="Stiffness:"/>" | |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> | |
| <location | |
| file="src/main/res/layout/activity_main.xml" | |
| line="89" | |
| column="21"/> | |
| </issue> | |
| </issues> |