You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1644 lines
87 KiB
1644 lines
87 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<issues format="4" by="lint 3.0.1">
|
|
|
|
<issue
|
|
id="ObsoleteLintCustomCheck"
|
|
severity="Warning"
|
|
message="Lint found one or more custom checks using its older Java API; these checks are still run in compatibility mode, but this causes duplicated parsing, and in the next version lint will no longer include this legacy mode. Make sure the following lint detectors are upgraded to the new API: butterknife.lint.InvalidR2UsageDetector"
|
|
category="Lint"
|
|
priority="10"
|
|
summary="Obsolete custom lint check"
|
|
explanation="Lint can be extended with "custom checks": additional checks implemented by developers and libraries to for example enforce specific API usages required by a library or a company coding style guideline.

The Lint APIs are not yet stable, so these checks may either cause a performance, degradation, or stop working, or provide wrong results.

This warning flags custom lint checks that are found to be using obsolete APIs and will need to be updated to run in the current lint environment.">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Overdraw"
|
|
severity="Warning"
|
|
message="Possible overdraw: Root element paints background `?attr/selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/AppTheme`)"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Overdraw: Painting regions more than once"
|
|
explanation="If you set a background drawable on a root view, then you should use a custom theme where the theme background is null. Otherwise, the theme background will be painted first, only to have your custom background completely cover it; this is called "overdraw".

NOTE: This detector relies on figuring out which layouts are associated with which activities based on scanning the Java code, and it's currently doing that using an inexact pattern matching algorithm. Therefore, it can incorrectly conclude which activity the layout is associated with and then wrongly complain that a background-theme is hidden.

If you want your custom background on multiple pages, then you should consider making a custom theme with your custom background and just using that theme instead of a root element background.

Of course it's possible that your custom drawable is translucent and you want it to be mixed with the background. However, you will get better performance if you pre-mix the background with your drawable and use that resulting image or color as a custom theme background instead."
|
|
errorLine1=" android:background="?attr/selectableItemBackground">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/view_holder_file.xml"
|
|
line="6"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.activity_main` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<FrameLayout"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/activity_main.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.activity_qrscan` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/activity_qrscan.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.activity_typography_demo` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<ScrollView xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/activity_typography_demo.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.app_intro_animation_view` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<com.airbnb.lottie.LottieAnimationView"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/app_intro_animation_view.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.color.divider` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <color name="divider">#cacaca</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/colors.xml"
|
|
line="6"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.color.material_teal` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <color name="material_teal">#009688</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/colors.xml"
|
|
line="7"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.color.text_color` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <color name="text_color">#7e7e7e</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/colors.xml"
|
|
line="8"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.dimen.activity_horizontal_margin` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <dimen name="activity_horizontal_margin">16dp</dimen>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/dimens.xml"
|
|
line="3"
|
|
column="12"/>
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values-w820dp/dimens.xml"
|
|
line="5"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.dimen.activity_vertical_margin` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <dimen name="activity_vertical_margin">16dp</dimen>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/dimens.xml"
|
|
line="4"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.dimen.font_space_width` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <dimen name="font_space_width">12dp</dimen>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/dimens.xml"
|
|
line="5"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.dimen.divider_height` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <dimen name="divider_height">0.6dp</dimen>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/dimens.xml"
|
|
line="6"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.fragment_animation` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<android.support.design.widget.CoordinatorLayout"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.menu.fragment_animation` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<menu xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/menu/fragment_animation.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.fragment_choose_asset` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_choose_asset.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.fragment_empty` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<FrameLayout"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_empty.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.fragment_full_screen` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<com.airbnb.lottie.LottieAnimationView xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_full_screen.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.fragment_list` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_list.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.fragment_warnings` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_warnings.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.raw.full_screen` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/raw/full_screen.json"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.anim.hold` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<set xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/anim/hold.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_assets` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_assets.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_back` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_back.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_file` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_file.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_invert` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<selector xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_invert.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_invert_black` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_invert_black.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_invert_white` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_invert_white.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_loop` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<selector xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_loop.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_loop_disabled` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_loop_disabled.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_loop_enabled` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_loop_enabled.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_more_vert` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_more_vert.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_network` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_network.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_pause` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_pause.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_play` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_play.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_play_pause` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<selector xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_play_pause.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_qr_overlay` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector android:height="24dp" android:viewportHeight="238.0""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_qr_overlay.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_qr_scan` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_qr_scan.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_restart` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_restart.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_trim` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_trim.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_view` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_view.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_warning` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_warning.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.ic_warning_wrapped` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<layer-list xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/ic_warning_wrapped.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.inverted_background` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<selector xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/inverted_background.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.outline` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<selector xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/outline.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.outline_inverted` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<shape xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/outline_inverted.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.outline_normal` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<shape xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/outline_normal.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.pager_item_app_intro` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<View xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/pager_item_app_intro.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.drawable.play_button_background` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<selector xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/drawable/play_button_background.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.plurals.warnings` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <plurals name="warnings">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/plurals.xml"
|
|
line="3"
|
|
column="14"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.anim.slide_in_right` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<set xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/anim/slide_in_right.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.anim.slide_out_right` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<set xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/anim/slide_out_right.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.string.invalid_assets` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <string name="invalid_assets">Unable to load assets</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/strings.xml"
|
|
line="3"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.string.render_times_graph` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <string name="render_times_graph">Show real time render time graph</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/strings.xml"
|
|
line="4"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.string.hardware_acceleration` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <string name="hardware_acceleration">Use hardware acceleration</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/strings.xml"
|
|
line="5"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.string.enable_merge_paths` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <string name="enable_merge_paths">Enable merge paths (KK+ only)</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/strings.xml"
|
|
line="6"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.string.permission_required` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <string name="permission_required">Camera permissions are required to use the QR Scanner</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/strings.xml"
|
|
line="7"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.string.scan_prompt` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <string name="scan_prompt">Scan QR Code from lottiefiles.com</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/strings.xml"
|
|
line="8"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.string.start_typing` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <string name="start_typing">Start typing!</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/strings.xml"
|
|
line="20"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.string.qr_code_overlay` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1=" <string name="qr_code_overlay">QR code overlay</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/values/strings.xml"
|
|
line="21"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.view_holder_file` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/view_holder_file.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.view_holder_grid_item` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/view_holder_grid_item.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.view_holder_letter` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<com.airbnb.lottie.LottieAnimationView xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/view_holder_letter.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.layout.view_holder_warning` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
errorLine1="<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/view_holder_warning.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
severity="Warning"
|
|
message="The resource `R.raw.walkthrough` appears to be unused"
|
|
category="Performance"
|
|
priority="3"
|
|
summary="Unused resources"
|
|
explanation="Unused resources make applications larger and slow down builds."
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/raw/walkthrough.json"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GoogleAppIndexingWarning"
|
|
severity="Warning"
|
|
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."
|
|
category="Usability"
|
|
priority="5"
|
|
summary="Missing support for Firebase App Indexing"
|
|
explanation="Adds URLs to get your app into the Google index, to get installs and traffic to your app from Google Search."
|
|
url="https://g.co/AppIndexing/AndroidStudio"
|
|
urls="https://g.co/AppIndexing/AndroidStudio"
|
|
errorLine1=" <application>"
|
|
errorLine2=" ^"
|
|
includedVariants="debug"
|
|
excludedVariants="release"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/debug/AndroidManifest.xml"
|
|
line="6"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GoogleAppIndexingWarning"
|
|
severity="Warning"
|
|
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."
|
|
category="Usability"
|
|
priority="5"
|
|
summary="Missing support for Firebase App Indexing"
|
|
explanation="Adds URLs to get your app into the Google index, to get installs and traffic to your app from Google Search."
|
|
url="https://g.co/AppIndexing/AndroidStudio"
|
|
urls="https://g.co/AppIndexing/AndroidStudio"
|
|
errorLine1=" <application"
|
|
errorLine2=" ^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/AndroidManifest.xml"
|
|
line="10"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SmallSp"
|
|
severity="Warning"
|
|
message="Avoid using sizes smaller than `12sp`: `8sp`"
|
|
category="Usability"
|
|
priority="4"
|
|
summary="Text size is too small"
|
|
explanation="Avoid using sizes smaller than 12sp."
|
|
errorLine1=" android:textSize="8sp"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="306"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
severity="Warning"
|
|
message="Missing `contentDescription` attribute on image"
|
|
category="Accessibility"
|
|
priority="3"
|
|
summary="Image without `contentDescription`"
|
|
explanation="Non-textual widgets like ImageViews and ImageButtons should use the `contentDescription` attribute to specify a textual description of the widget such that screen readers and other accessibility tools can adequately describe the user interface.

Note that elements in application screens that are purely decorative and do not provide any content or enable a user action should not have accessibility content descriptions. In this case, just suppress the lint warning with a tools:ignore="ContentDescription" attribute.

Note that for text fields, you should not set both the `hint` and the `contentDescription` attributes since the hint will never be shown. Just set the `hint`. See http://developer.android.com/guide/topics/ui/accessibility/checklist.html#special-cases."
|
|
errorLine1=" <ImageButton"
|
|
errorLine2=" ^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="151"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
severity="Warning"
|
|
message="Missing `contentDescription` attribute on image"
|
|
category="Accessibility"
|
|
priority="3"
|
|
summary="Image without `contentDescription`"
|
|
explanation="Non-textual widgets like ImageViews and ImageButtons should use the `contentDescription` attribute to specify a textual description of the widget such that screen readers and other accessibility tools can adequately describe the user interface.

Note that elements in application screens that are purely decorative and do not provide any content or enable a user action should not have accessibility content descriptions. In this case, just suppress the lint warning with a tools:ignore="ContentDescription" attribute.

Note that for text fields, you should not set both the `hint` and the `contentDescription` attributes since the hint will never be shown. Just set the `hint`. See http://developer.android.com/guide/topics/ui/accessibility/checklist.html#special-cases."
|
|
errorLine1=" <ImageButton"
|
|
errorLine2=" ^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="160"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
severity="Warning"
|
|
message="Missing `contentDescription` attribute on image"
|
|
category="Accessibility"
|
|
priority="3"
|
|
summary="Image without `contentDescription`"
|
|
explanation="Non-textual widgets like ImageViews and ImageButtons should use the `contentDescription` attribute to specify a textual description of the widget such that screen readers and other accessibility tools can adequately describe the user interface.

Note that elements in application screens that are purely decorative and do not provide any content or enable a user action should not have accessibility content descriptions. In this case, just suppress the lint warning with a tools:ignore="ContentDescription" attribute.

Note that for text fields, you should not set both the `hint` and the `contentDescription` attributes since the hint will never be shown. Just set the `hint`. See http://developer.android.com/guide/topics/ui/accessibility/checklist.html#special-cases."
|
|
errorLine1=" <ImageButton"
|
|
errorLine2=" ^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="170"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
severity="Warning"
|
|
message="Missing `contentDescription` attribute on image"
|
|
category="Accessibility"
|
|
priority="3"
|
|
summary="Image without `contentDescription`"
|
|
explanation="Non-textual widgets like ImageViews and ImageButtons should use the `contentDescription` attribute to specify a textual description of the widget such that screen readers and other accessibility tools can adequately describe the user interface.

Note that elements in application screens that are purely decorative and do not provide any content or enable a user action should not have accessibility content descriptions. In this case, just suppress the lint warning with a tools:ignore="ContentDescription" attribute.

Note that for text fields, you should not set both the `hint` and the `contentDescription` attributes since the hint will never be shown. Just set the `hint`. See http://developer.android.com/guide/topics/ui/accessibility/checklist.html#special-cases."
|
|
errorLine1=" <ImageButton"
|
|
errorLine2=" ^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="179"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
severity="Warning"
|
|
message="Missing `contentDescription` attribute on image"
|
|
category="Accessibility"
|
|
priority="3"
|
|
summary="Image without `contentDescription`"
|
|
explanation="Non-textual widgets like ImageViews and ImageButtons should use the `contentDescription` attribute to specify a textual description of the widget such that screen readers and other accessibility tools can adequately describe the user interface.

Note that elements in application screens that are purely decorative and do not provide any content or enable a user action should not have accessibility content descriptions. In this case, just suppress the lint warning with a tools:ignore="ContentDescription" attribute.

Note that for text fields, you should not set both the `hint` and the `contentDescription` attributes since the hint will never be shown. Just set the `hint`. See http://developer.android.com/guide/topics/ui/accessibility/checklist.html#special-cases."
|
|
errorLine1=" <ImageButton"
|
|
errorLine2=" ^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="191"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
severity="Warning"
|
|
message="Missing `contentDescription` attribute on image"
|
|
category="Accessibility"
|
|
priority="3"
|
|
summary="Image without `contentDescription`"
|
|
explanation="Non-textual widgets like ImageViews and ImageButtons should use the `contentDescription` attribute to specify a textual description of the widget such that screen readers and other accessibility tools can adequately describe the user interface.

Note that elements in application screens that are purely decorative and do not provide any content or enable a user action should not have accessibility content descriptions. In this case, just suppress the lint warning with a tools:ignore="ContentDescription" attribute.

Note that for text fields, you should not set both the `hint` and the `contentDescription` attributes since the hint will never be shown. Just set the `hint`. See http://developer.android.com/guide/topics/ui/accessibility/checklist.html#special-cases."
|
|
errorLine1=" <ImageButton"
|
|
errorLine2=" ^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="200"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
severity="Warning"
|
|
message="Missing `contentDescription` attribute on image"
|
|
category="Accessibility"
|
|
priority="3"
|
|
summary="Image without `contentDescription`"
|
|
explanation="Non-textual widgets like ImageViews and ImageButtons should use the `contentDescription` attribute to specify a textual description of the widget such that screen readers and other accessibility tools can adequately describe the user interface.

Note that elements in application screens that are purely decorative and do not provide any content or enable a user action should not have accessibility content descriptions. In this case, just suppress the lint warning with a tools:ignore="ContentDescription" attribute.

Note that for text fields, you should not set both the `hint` and the `contentDescription` attributes since the hint will never be shown. Just set the `hint`. See http://developer.android.com/guide/topics/ui/accessibility/checklist.html#special-cases."
|
|
errorLine1=" <ImageButton"
|
|
errorLine2=" ^"
|
|
quickfix="studio">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="209"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "Choose an option below", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="Choose an option below""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="56"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "Scan QR Code", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="Scan QR Code""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="65"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "Sample animations", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="Sample animations""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="74"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "Load animation file", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="Load animation file""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="83"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "Load animation from json url", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="Load animation from json url""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="91"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "Open the menu for more options", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="Open the menu for more options""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="99"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "ms", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="ms""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="127"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "Progress", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="Progress"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="233"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "Scale", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="Scale"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="274"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "Warnings", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="Warnings"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_warnings.xml"
|
|
line="16"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
severity="Warning"
|
|
message="Hardcoded string "OK", should use `@string` resource"
|
|
category="Internationalization"
|
|
priority="5"
|
|
summary="Hardcoded text"
|
|
explanation="Hardcoding text attributes directly in layout files is bad for several reasons:

* When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)

* The application cannot be translated to other languages by just adding new translations for existing string resources.

There are quickfixes to automatically extract this hardcoded string into a resource lookup."
|
|
errorLine1=" android:text="OK"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_warnings.xml"
|
|
line="43"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Use "`end`" instead of "`right`" to ensure correct behavior in right-to-left locales"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:layout_gravity="top|right""
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="108"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Consider adding `android:drawableStart="@drawable/ic_warning_wrapped"` to better support right-to-left layouts"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:drawableLeft="@drawable/ic_warning_wrapped""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="109"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Consider adding `android:layout_marginStart="-4dp"` to better support right-to-left layouts"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:layout_marginLeft="-4dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="136"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Consider adding `android:layout_marginEnd="16dp"` to better support right-to-left layouts"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:layout_marginRight="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="230"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Use "`end`" instead of "`right`" to ensure correct behavior in right-to-left locales"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:gravity="right""
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="232"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Consider adding `android:layout_marginStart="16dp"` to better support right-to-left layouts"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:layout_marginLeft="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="257"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Consider adding `android:layout_marginEnd="16dp"` to better support right-to-left layouts"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:layout_marginRight="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="271"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Use "`end`" instead of "`right`" to ensure correct behavior in right-to-left locales"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:gravity="right""
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="273"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Consider adding `android:layout_marginStart="16dp"` to better support right-to-left layouts"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:layout_marginLeft="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="286"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Use "`start`" instead of "`left`" to ensure correct behavior in right-to-left locales"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:gravity="left"/>"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_animation.xml"
|
|
line="288"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Consider adding `android:layout_marginEnd="16dp"` to better support right-to-left layouts"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:layout_marginRight="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_font.xml"
|
|
line="18"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
severity="Warning"
|
|
message="Use "`end`" instead of "`right`" to ensure correct behavior in right-to-left locales"
|
|
category="Internationalization:Bidirectional Text"
|
|
priority="5"
|
|
summary="Using left/right instead of start/end attributes"
|
|
explanation="Using `Gravity#LEFT` and `Gravity#RIGHT` can lead to problems when a layout is rendered in locales where text flows from right to left. Use `Gravity#START` and `Gravity#END` instead. Similarly, in XML `gravity` and `layout_gravity` attributes, use `start` rather than `left`.

For XML attributes such as paddingLeft and `layout_marginLeft`, use `paddingStart` and `layout_marginStart`. **NOTE**: If your `minSdkVersion` is less than 17, you should add **both** the older left/right attributes **as well as** the new start/right attributes. On older platforms, where RTL is not supported and the start/right attributes are unknown and therefore ignored, you need the older left/right attributes. There is a separate lint check which catches that type of error.

(Note: For `Gravity#LEFT` and `Gravity#START`, you can use these constants even when targeting older platforms, because the `start` bitmask is a superset of the `left` bitmask. Therefore, you can use `gravity="start"` rather than `gravity="left|start"`.)"
|
|
errorLine1=" android:layout_gravity="right""
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="/Users/gabriel_peal/repos/Lotte/LottieSample/src/main/res/layout/fragment_warnings.xml"
|
|
line="39"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
</issues>
|