mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-19 19:41:35 +08:00
1750 lines
75 KiB
XML
1750 lines
75 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2020 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<issues format="5" by="lint 3.3.2" client="gradle" variant="all" version="3.3.2">
|
|
|
|
<issue
|
|
id="ScrollViewSize"
|
|
message="This com.google.android.material.chip.ChipGroup should use `android:layout_width="wrap_content"`"
|
|
errorLine1=" android:layout_width="match_parent""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/layout/cat_chip_group_fragment.xml"
|
|
line="78"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ScrollViewSize"
|
|
message="This LinearLayout should use `android:layout_height="wrap_content"`"
|
|
errorLine1=" android:layout_height="match_parent""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/layout/cat_menu_fragment.xml"
|
|
line="26"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ApplySharedPref"
|
|
message="Consider using `apply()` instead; `commit` writes its data to persistent storage immediately, whereas `apply` will handle it in the background"
|
|
errorLine1=" getSharedPreferences().edit().putInt(KEY_NIGHT_MODE, nightMode).commit();"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/ThemePreferencesManager.java"
|
|
line="122"
|
|
column="5"/>
|
|
</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=" switch (fontFamily.toLowerCase()) {"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/font/FontMainDemoFragment.java"
|
|
line="94"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="OldTargetApi"
|
|
message="Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details."
|
|
errorLine1=" targetSdkVersion 29"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="build.gradle"
|
|
line="87"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `elevation` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:elevation="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomappbar/res/layout/cat_bottomappbar_fragment.xml"
|
|
line="49"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `paddingHorizontal` is only used in API level 26 and higher (current min is 14)"
|
|
errorLine1=" android:paddingHorizontal="@dimen/cat_card_single_spacing">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/res/layout/cat_card_rich_media_demo_fragment.xml"
|
|
line="93"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `layout_marginVertical` is only used in API level 26 and higher (current min is 14)"
|
|
errorLine1=" android:layout_marginVertical="8dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/tabs/res/layout/cat_tabs_main_content.xml"
|
|
line="106"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `importantForAccessibility` is only used in API level 16 and higher (current min is 14)"
|
|
errorLine1=" android:importantForAccessibility="no""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/tableofcontents/res/layout/cat_toc_header.xml"
|
|
line="35"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `importantForAccessibility` is only used in API level 16 and higher (current min is 14)"
|
|
errorLine1=" android:importantForAccessibility="no""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/tableofcontents/res/layout/cat_toc_item.xml"
|
|
line="40"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `elevation` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:elevation="0dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/topappbar/res/layout/cat_topappbar_collapsing_fragment.xml"
|
|
line="47"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `elevation` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:elevation="@dimen/design_appbar_elevation""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/topappbar/res/layout/cat_topappbar_toolbar_fragment.xml"
|
|
line="60"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `controlX1` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:controlX1="0""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/anim/clock_clock_0.xml"
|
|
line="19"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `controlX2` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:controlX2="0.618865688196""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/anim/clock_clock_0.xml"
|
|
line="20"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `controlY1` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:controlY1="0""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/anim/clock_clock_0.xml"
|
|
line="21"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `controlY2` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:controlY2="1"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/anim/clock_clock_0.xml"
|
|
line="22"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `controlX1` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:controlX1="0.45921046959""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/anim/clock_clock_1.xml"
|
|
line="19"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `controlX2` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:controlX2="1""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/anim/clock_clock_1.xml"
|
|
line="20"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `controlY1` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:controlY1="0""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/anim/clock_clock_1.xml"
|
|
line="21"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `controlY2` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:controlY2="1"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/anim/clock_clock_1.xml"
|
|
line="22"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `backgroundTint` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:backgroundTint="?attr/colorControlHighlight"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/layout/mtrl_theme_switcher_dialog.xml"
|
|
line="82"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `backgroundTint` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:backgroundTint="?attr/colorControlHighlight"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/layout/mtrl_theme_switcher_dialog.xml"
|
|
line="121"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SpUsage"
|
|
message="This dimension is used as a text size: Should use "`sp`" instead of "`dp`""
|
|
errorLine1=" <dimen name="cat_checkbox_header_size">12dp</dimen>"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/checkbox/res/values/dimens.xml"
|
|
line="22"
|
|
column="42"/>
|
|
<location
|
|
file="java/io/material/catalog/checkbox/res/layout/cat_checkbox.xml"
|
|
line="82"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Typos"
|
|
message="Repeated word "very" in message: possible typo"
|
|
errorLine1=" <string name="cat_chip_text_to_truncate">Hello, very very very very very very very very big World!</string>"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/values/strings.xml"
|
|
line="28"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Typos"
|
|
message="Repeated word "very" in message: possible typo"
|
|
errorLine1=" <string name="cat_chip_text_to_truncate">Hello, very very very very very very very very big World!</string>"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/values/strings.xml"
|
|
line="28"
|
|
column="56"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Typos"
|
|
message="Repeated word "very" in message: possible typo"
|
|
errorLine1=" <string name="cat_chip_text_to_truncate">Hello, very very very very very very very very big World!</string>"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/values/strings.xml"
|
|
line="28"
|
|
column="61"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Typos"
|
|
message="Repeated word "very" in message: possible typo"
|
|
errorLine1=" <string name="cat_chip_text_to_truncate">Hello, very very very very very very very very big World!</string>"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/values/strings.xml"
|
|
line="28"
|
|
column="66"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Typos"
|
|
message="Repeated word "very" in message: possible typo"
|
|
errorLine1=" <string name="cat_chip_text_to_truncate">Hello, very very very very very very very very big World!</string>"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/values/strings.xml"
|
|
line="28"
|
|
column="71"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Typos"
|
|
message="Repeated word "very" in message: possible typo"
|
|
errorLine1=" <string name="cat_chip_text_to_truncate">Hello, very very very very very very very very big World!</string>"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/values/strings.xml"
|
|
line="28"
|
|
column="76"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Typos"
|
|
message="Repeated word "very" in message: possible typo"
|
|
errorLine1=" <string name="cat_chip_text_to_truncate">Hello, very very very very very very very very big World!</string>"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/values/strings.xml"
|
|
line="28"
|
|
column="81"/>
|
|
</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"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/AndroidManifest.xml"
|
|
line="25"
|
|
column="4"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseCompoundDrawables"
|
|
message="This tag and its children can be replaced by one `<TextView/>` and a compound drawable"
|
|
errorLine1=" <LinearLayout"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/tableofcontents/res/layout/cat_toc_header.xml"
|
|
line="23"
|
|
column="4"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="VectorPath"
|
|
message="Very long vector path (2101 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."
|
|
errorLine1=" android:pathData="M7.52,21.48C4.25,19.94 1.91,16.76 1.55,13L0.05,13C0.56,19.16 5.71,24 12,24l0.66,-0.03 -3.81,-3.81 -1.33,1.32zM8.41,14.96c-0.19,0 -0.37,-0.03 -0.52,-0.08 -0.16,-0.06 -0.29,-0.13 -0.4,-0.24 -0.11,-0.1 -0.2,-0.22 -0.26,-0.37 -0.06,-0.14 -0.09,-0.3 -0.09,-0.47h-1.3c0,0.36 0.07,0.68 0.21,0.95 0.14,0.27 0.33,0.5 0.56,0.69 0.24,0.18 0.51,0.32 0.82,0.41 0.3,0.1 0.62,0.15 0.96,0.15 0.37,0 0.72,-0.05 1.03,-0.15 0.32,-0.1 0.6,-0.25 0.83,-0.44s0.42,-0.43 0.55,-0.72c0.13,-0.29 0.2,-0.61 0.2,-0.97 0,-0.19 -0.02,-0.38 -0.07,-0.56 -0.05,-0.18 -0.12,-0.35 -0.23,-0.51 -0.1,-0.16 -0.24,-0.3 -0.4,-0.43 -0.17,-0.13 -0.37,-0.23 -0.61,-0.31 0.2,-0.09 0.37,-0.2 0.52,-0.33 0.15,-0.13 0.27,-0.27 0.37,-0.42 0.1,-0.15 0.17,-0.3 0.22,-0.46 0.05,-0.16 0.07,-0.32 0.07,-0.48 0,-0.36 -0.06,-0.68 -0.18,-0.96 -0.12,-0.28 -0.29,-0.51 -0.51,-0.69 -0.2,-0.19 -0.47,-0.33 -0.77,-0.43C9.1,8.05 8.76,8 8.39,8c-0.36,0 -0.69,0.05 -1,0.16 -0.3,0.11 -0.57,0.26 -0.79,0.45 -0.21,0.19 -0.38,0.41 -0.51,0.67 -0.12,0.26 -0.18,0.54 -0.18,0.85h1.3c0,-0.17 0.03,-0.32 0.09,-0.45s0.14,-0.25 0.25,-0.34c0.11,-0.09 0.23,-0.17 0.38,-0.22 0.15,-0.05 0.3,-0.08 0.48,-0.08 0.4,0 0.7,0.1 0.89,0.31 0.19,0.2 0.29,0.49 0.29,0.86 0,0.18 -0.03,0.34 -0.08,0.49 -0.05,0.15 -0.14,0.27 -0.25,0.37 -0.11,0.1 -0.25,0.18 -0.41,0.24 -0.16,0.06 -0.36,0.09 -0.58,0.09L7.5,11.4v1.03h0.77c0.22,0 0.42,0.02 0.6,0.07s0.33,0.13 0.45,0.23c0.12,0.11 0.22,0.24 0.29,0.4 0.07,0.16 0.1,0.35 0.1,0.57 0,0.41 -0.12,0.72 -0.35,0.93 -0.23,0.23 -0.55,0.33 -0.95,0.33zM16.96,9.04c-0.32,-0.33 -0.7,-0.59 -1.14,-0.77 -0.43,-0.18 -0.92,-0.27 -1.46,-0.27L12,8v8h2.3c0.55,0 1.06,-0.09 1.51,-0.27 0.45,-0.18 0.84,-0.43 1.16,-0.76 0.32,-0.33 0.57,-0.73 0.74,-1.19 0.17,-0.47 0.26,-0.99 0.26,-1.57v-0.4c0,-0.58 -0.09,-1.1 -0.26,-1.57 -0.18,-0.47 -0.43,-0.87 -0.75,-1.2zM16.57,12.2c0,0.42 -0.05,0.79 -0.14,1.13 -0.1,0.33 -0.24,0.62 -0.43,0.85 -0.19,0.23 -0.43,0.41 -0.71,0.53 -0.29,0.12 -0.62,0.18 -0.99,0.18h-0.91L13.39,9.12h0.97c0.72,0 1.27,0.23 1.64,0.69 0.38,0.46 0.57,1.12 0.57,1.99v0.4zM12,0l-0.66,0.03 3.81,3.81 1.33,-1.33c3.27,1.55 5.61,4.72 5.96,8.48h1.5C23.44,4.84 18.29,0 12,0z"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_3d_rotation_24px.xml"
|
|
line="25"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="VectorPath"
|
|
message="Very long vector path (902 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."
|
|
errorLine1=" android:pathData="M15.95,10.78 C15.98,10.53,16,10.27,16,10 S15.98,9.47,15.94,9.22 L17.63,7.9 C17.78,7.78,17.82,7.56,17.73,7.39 L16.13,4.62 C16.03,4.44,15.82,4.38,15.64,4.44 L13.65,5.24 C13.23,4.92,12.79,4.66,12.3,4.46 L12,2.34 C11.97,2.14,11.8,2,11.6,2 L8.4,2 C8.2,2,8.04,2.14,8.01,2.34 L7.71,4.46 C7.22,4.66,6.77,4.93,6.36,5.24 L4.37,4.44 C4.19,4.37,3.98,4.44,3.88,4.62 L2.28,7.39 C2.18,7.57,2.22,7.78,2.38,7.9 L4.07,9.22 C4.03,9.47,4,9.74,4,10 S4.02,10.53,4.06,10.78 L2.37,12.1 C2.22,12.22,2.18,12.44,2.27,12.61 L3.87,15.38 C3.97,15.56,4.18,15.62,4.36,15.56 L6.35,14.76 C6.77,15.08,7.21,15.34,7.7,15.54 L8,17.66 C8.04,17.86,8.2,18,8.4,18 L11.6,18 C11.8,18,11.97,17.86,11.99,17.66 L12.29,15.54 C12.78,15.34,13.23,15.07,13.64,14.76 L15.63,15.56 C15.81,15.63,16.02,15.56,16.12,15.38 L17.72,12.61 C17.82,12.43,17.78,12.22,17.62,12.1 L15.95,10.78 Z M10,13 C8.35,13,7,11.65,7,10 S8.35,7,10,7 S13,8.35,13,10 S11.65,13,10,13 Z" />"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_settings_24px.xml"
|
|
line="30"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="InefficientWeight"
|
|
message="Use a `layout_width` of `0dp` instead of `wrap_content` for better performance"
|
|
errorLine1=" android:layout_width="wrap_content""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/res/layout/cat_card_rich_media_demo_fragment.xml"
|
|
line="56"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Overdraw"
|
|
message="Possible overdraw: Root element paints background `?attr/selectableItemBackground` with a theme that also paints a background (inferred theme is `@style/Theme.${application_theme}`)"
|
|
errorLine1=" android:background="?attr/selectableItemBackground""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/feature/res/layout/cat_demo_landing_row.xml"
|
|
line="26"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Overdraw"
|
|
message="Possible overdraw: Root element paints background `?android:attr/colorBackground` with a theme that also paints a background (inferred theme is `@style/Theme.${application_theme}`)"
|
|
errorLine1=" android:background="?android:attr/colorBackground""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/shapetheming/res/layout/cat_shape_theming_content.xml"
|
|
line="23"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.layout.cat_chip_recyclerview_item` appears to be unused"
|
|
errorLine1="<com.google.android.material.chip.Chip"
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/layout/cat_chip_recyclerview_item.xml"
|
|
line="18"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.layout.cat_chip_text_field_fragment` appears to be unused"
|
|
errorLine1="<androidx.coordinatorlayout.widget.CoordinatorLayout"
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/layout/cat_chip_text_field_fragment.xml"
|
|
line="18"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.close_icon_tint_list` appears to be unused"
|
|
errorLine1="<selector xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/color/close_icon_tint_list.xml"
|
|
line="18"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.grey50` appears to be unused"
|
|
errorLine1=" <color name="grey50">#f8f9fa</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomappbar/res/values/colors.xml"
|
|
line="19"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.dimen.cat_radiobutton_line_separator_margin` appears to be unused"
|
|
errorLine1=" <dimen name="cat_radiobutton_line_separator_margin">8dp</dimen>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/radiobutton/res/values/dimens.xml"
|
|
line="18"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.dimen.cat_radiobutton_indent` appears to be unused"
|
|
errorLine1=" <dimen name="cat_radiobutton_indent">8dp</dimen>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/radiobutton/res/values/dimens.xml"
|
|
line="20"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.dimen.cat_toc_short_toolbar_height` appears to be unused"
|
|
errorLine1=" <dimen name="cat_toc_short_toolbar_height">128dp</dimen>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/tableofcontents/res/values/dimens.xml"
|
|
line="20"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.dimen.cat_toc_toolbar_image_offset` appears to be unused"
|
|
errorLine1=" <dimen name="cat_toc_toolbar_image_offset">16dp</dimen>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/tableofcontents/res/values/dimens.xml"
|
|
line="21"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_colors_vd_theme_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_colors_vd_theme_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_dark_theme_toggle` appears to be unused"
|
|
errorLine1="<selector xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/tableofcontents/res/drawable/ic_dark_theme_toggle.xml"
|
|
line="17"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_data_table_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_data_table_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_developer_guide_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_developer_guide_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_expension_panels_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_expension_panels_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_feature_highlight_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_feature_highlight_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_github_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_github_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_progress_activity_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_progress_activity_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_responsive_layout_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_responsive_layout_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_ripples_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_ripples_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_scrollable_header_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_scrollable_header_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_search_vd_theme_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_search_vd_theme_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_selection_controls_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_selection_controls_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_shadow_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_shadow_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_side_drawer` appears to be unused">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable-hdpi/ic_side_drawer.png"/>
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable-mdpi/ic_side_drawer.png"/>
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable-xhdpi/ic_side_drawer.png"/>
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable-xxhdpi/ic_side_drawer.png"/>
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable-xxxhdpi/ic_side_drawer.png"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_side_navigation_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_side_navigation_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_steppers_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_steppers_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_subheader_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_subheader_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_switches_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_switches_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_toast_24px` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable/ic_toast_24px.xml"
|
|
line="16"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.xml.standalone_chip` appears to be unused"
|
|
errorLine1="<chip"
|
|
errorLine2="^">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/xml/standalone_chip.xml"
|
|
line="18"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_toc_buttons` appears to be unused"
|
|
errorLine1=" <string name="cat_toc_buttons">Buttons</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/button/res/values/strings.xml"
|
|
line="20"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_toc_shape_theming` appears to be unused"
|
|
errorLine1=" <string name="cat_toc_shape_theming">Shape Theming</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/shapetheming/res/values/strings.xml"
|
|
line="20"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.mtrl_theme_switcher_save` appears to be unused"
|
|
errorLine1=" <string name="mtrl_theme_switcher_save">Save</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/values/strings.xml"
|
|
line="20"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.menu_button_label` appears to be unused"
|
|
errorLine1=" <string name="menu_button_label">&#8942;</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/values/strings.xml"
|
|
line="21"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.mtrl_theme_switcher_cancel` appears to be unused"
|
|
errorLine1=" <string name="mtrl_theme_switcher_cancel">Cancel</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/values/strings.xml"
|
|
line="21"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.mtrl_theme_switcher_reset` appears to be unused"
|
|
errorLine1=" <string name="mtrl_theme_switcher_reset">Reset</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/values/strings.xml"
|
|
line="22"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_bottom_nav_item_name` appears to be unused"
|
|
errorLine1=" <string name="cat_bottom_nav_item_name">Item %1$d</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/values/strings.xml"
|
|
line="32"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_stroked_btn_text` appears to be unused"
|
|
errorLine1=" <string name="cat_stroked_btn_text">Stroked button</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/button/res/values/strings.xml"
|
|
line="34"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_shape_theming_placeholder` appears to be unused"
|
|
errorLine1=" <string name="cat_shape_theming_placeholder">Shape theming demo coming soon...</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/shapetheming/res/values/strings.xml"
|
|
line="35"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_bottomappbar_fab_circle` appears to be unused"
|
|
errorLine1=" <string name="cat_bottomappbar_fab_circle">Circle</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomappbar/res/values/strings.xml"
|
|
line="36"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_bottomappbar_fab_diamond` appears to be unused"
|
|
errorLine1=" <string name="cat_bottomappbar_fab_diamond">Diamond</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomappbar/res/values/strings.xml"
|
|
line="37"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_filled_buttons_section_title` appears to be unused"
|
|
errorLine1=" <string name="cat_filled_buttons_section_title">Filled buttons</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/button/res/values/strings.xml"
|
|
line="37"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.hide_fab_on_scroll_label` appears to be unused"
|
|
errorLine1=" <string name="hide_fab_on_scroll_label">Hide FAB on Scroll</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/fab/res/values/strings.xml"
|
|
line="39"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.shrink_fab_on_scroll_label` appears to be unused"
|
|
errorLine1=" <string name="shrink_fab_on_scroll_label">Shrink FAB on Scroll</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/fab/res/values/strings.xml"
|
|
line="40"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_shape_theming_textfield_hint_outlined_dense` appears to be unused"
|
|
errorLine1=" <string name="cat_shape_theming_textfield_hint_outlined_dense">Shaped dense outlined text field</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/shapetheming/res/values/strings.xml"
|
|
line="42"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_chip_edit_text` appears to be unused"
|
|
errorLine1=" <string name="cat_chip_edit_text">Standalone: [chip]</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/values/strings.xml"
|
|
line="43"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_shape_theming_textfield_hint_filled` appears to be unused"
|
|
errorLine1=" <string name="cat_shape_theming_textfield_hint_filled">Shaped filled text field</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/shapetheming/res/values/strings.xml"
|
|
line="43"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_chip_edit_text_token` appears to be unused"
|
|
errorLine1=" <string name="cat_chip_edit_text_token">[chip]</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/values/strings.xml"
|
|
line="44"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_shape_theming_textfield_hint_filled_dense` appears to be unused"
|
|
errorLine1=" <string name="cat_shape_theming_textfield_hint_filled_dense">Shaped dense filled text field</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/shapetheming/res/values/strings.xml"
|
|
line="44"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.cat_card_rich_media_view_overline` appears to be unused"
|
|
errorLine1=" <string name="cat_card_rich_media_view_overline">Title goes here</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/res/values/strings.xml"
|
|
line="67"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UselessParent"
|
|
message="This `ScrollView` layout or its `FrameLayout` parent is useless"
|
|
errorLine1=" <ScrollView"
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/layout/cat_chip_group_fragment.xml"
|
|
line="44"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UselessParent"
|
|
message="This `FrameLayout` layout or its `LinearLayout` parent is useless"
|
|
errorLine1=" <FrameLayout"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/shapetheming/res/layout/cat_shape_theming_bottomsheet_content.xml"
|
|
line="24"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="TypographyEllipsis"
|
|
message="Replace "..." with ellipsis character (…, &#8230;) ?"
|
|
errorLine1=" <string name="cat_shape_theming_placeholder">Shape theming demo coming soon...</string>"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/shapetheming/res/values/strings.xml"
|
|
line="35"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="IconDensities"
|
|
message="Missing the following drawables in `drawable-hdpi`: ic_placeholder_circle_24.png (found in drawable-xxxhdpi)">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable-hdpi"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="IconDensities"
|
|
message="Missing the following drawables in `drawable-mdpi`: ic_placeholder_circle_24.png (found in drawable-xxxhdpi)">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable-mdpi"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="IconDensities"
|
|
message="Missing the following drawables in `drawable-xhdpi`: ic_placeholder_circle_24.png (found in drawable-xxxhdpi)">
|
|
<location
|
|
file="java/io/material/catalog/assets/res/drawable-xhdpi"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="IconDensities"
|
|
message="Missing the following drawables in `drawable-xxhdpi`: ic_placeholder_circle_24.png (found in drawable-xxxhdpi)">
|
|
<location
|
|
file="java/io/material/catalog/assets/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"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/fab/res/layout/cat_extended_fab_fragment.xml"
|
|
line="42"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ButtonStyle"
|
|
message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)"
|
|
errorLine1=" <Button"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/fab/res/layout/cat_extended_fab_fragment.xml"
|
|
line="49"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ButtonStyle"
|
|
message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)"
|
|
errorLine1=" <Button"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/tabs/res/layout/cat_tabs_auto_fragment.xml"
|
|
line="42"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ButtonStyle"
|
|
message="Buttons in button bars should be borderless; use `style="?android:attr/buttonBarButtonStyle"` (and `?android:attr/buttonBarStyle` on the parent)"
|
|
errorLine1=" <Button"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/tabs/res/layout/cat_tabs_auto_fragment.xml"
|
|
line="49"
|
|
column="6"/>
|
|
</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"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/AndroidManifest.xml"
|
|
line="25"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="TextFields"
|
|
message="This text field does not specify an `inputType`"
|
|
errorLine1=" <EditText"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/layout/cat_chip_text_field_fragment.xml"
|
|
line="25"
|
|
column="4"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Autofill"
|
|
message="Missing `autofillHints` attribute"
|
|
errorLine1=" <EditText"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/layout/cat_chip_text_field_fragment.xml"
|
|
line="25"
|
|
column="4"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ClickableViewAccessibility"
|
|
message="`onTouch` lambda should call `View#performClick` when a click is detected"
|
|
errorLine1=" (v, event) -> {"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/io/material/catalog/card/CardListDemoFragment.java"
|
|
line="167"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ClickableViewAccessibility"
|
|
message="Custom view `DraggableCoordinatorLayout` overrides `onTouchEvent` but not `performClick`"
|
|
errorLine1=" public boolean onTouchEvent(MotionEvent ev) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/draggable/DraggableCoordinatorLayout.java"
|
|
line="72"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/res/layout/cat_card_list_item.xml"
|
|
line="42"
|
|
column="4"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/checkbox/res/layout/cat_checkbox.xml"
|
|
line="69"
|
|
column="4"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/feature/res/layout/cat_demo_landing_row.xml"
|
|
line="31"
|
|
column="4"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/switchmaterial/res/layout/cat_switch.xml"
|
|
line="69"
|
|
column="4"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="KeyboardInaccessibleWidget"
|
|
message="'clickable' attribute found, please also add 'focusable'"
|
|
errorLine1=" android:clickable="true">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/res/layout/cat_card_fragment.xml"
|
|
line="60"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="LabelFor"
|
|
message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`"
|
|
errorLine1=" <EditText"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/chip/res/layout/cat_chip_text_field_fragment.xml"
|
|
line="25"
|
|
column="4"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="LabelFor"
|
|
message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`"
|
|
errorLine1=" <AutoCompleteTextView"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/textfield/res/layout/cat_textfield_exposed_dropdown_menu_content.xml"
|
|
line="35"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="LabelFor"
|
|
message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`"
|
|
errorLine1=" <AutoCompleteTextView"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/textfield/res/layout/cat_textfield_exposed_dropdown_menu_content.xml"
|
|
line="52"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="LabelFor"
|
|
message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`"
|
|
errorLine1=" <AutoCompleteTextView"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/textfield/res/layout/cat_textfield_exposed_dropdown_menu_content.xml"
|
|
line="67"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="LabelFor"
|
|
message="Missing accessibility label: where minSdk < 17, you should provide an `android:hint`"
|
|
errorLine1=" <AutoCompleteTextView"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/textfield/res/layout/cat_textfield_exposed_dropdown_menu_content.xml"
|
|
line="84"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SetTextI18n"
|
|
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
|
|
errorLine1=" holder.chip.getResources().getString(R.string.cat_chip_text) + " " + position);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/chip/ChipRecyclerviewDemoFragment.java"
|
|
line="97"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "24dp", should use `@string` resource"
|
|
errorLine1=" android:text="24dp"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/layout/cat_bottom_navs_label_visibility_controls.xml"
|
|
line="43"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "Information", should use `@string` resource"
|
|
errorLine1=" android:contentDescription="Information""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/font/res/layout/cat_font_styles_item.xml"
|
|
line="51"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "One", should use `@string` resource"
|
|
errorLine1=" android:title="One"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/menu/menu_with_icons.xml"
|
|
line="23"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "Two", should use `@string` resource"
|
|
errorLine1=" android:title="Two"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/menu/menu_with_icons.xml"
|
|
line="28"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "Three", should use `@string` resource"
|
|
errorLine1=" android:title="Three"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/menu/menu_with_icons.xml"
|
|
line="33"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?attr/colorPrimary", should use `@string` resource"
|
|
errorLine1=" android:text="\?attr/colorPrimary"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/layout/mtrl_theme_switcher_dialog.xml"
|
|
line="87"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?attr/colorSecondary", should use `@string` resource"
|
|
errorLine1=" android:text="\?attr/colorSecondary"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/layout/mtrl_theme_switcher_dialog.xml"
|
|
line="103"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "One", should use `@string` resource"
|
|
errorLine1=" android:title="One"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/menu/popup_menu.xml"
|
|
line="22"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "Two", should use `@string` resource"
|
|
errorLine1=" android:title="Two"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/menu/popup_menu.xml"
|
|
line="26"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "Three", should use `@string` resource"
|
|
errorLine1=" android:title="Three"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/menu/popup_menu.xml"
|
|
line="30"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RelativeOverlap"
|
|
message="`TextView-3` can overlap `TextView-1` if @string/cat_bottom_nav_slider_min, @string/cat_bottom_nav_slider_max grow due to localized text expansion"
|
|
errorLine1=" <TextView"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/layout/cat_bottom_navs_label_visibility_controls.xml"
|
|
line="64"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/layout/cat_menu_fragment.xml"
|
|
line="40"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingLeft` you should probably also define `paddingRight` for right-to-left symmetry"
|
|
errorLine1=" android:paddingLeft="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/layout/cat_menu_fragment.xml"
|
|
line="41"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/layout/cat_menu_fragment.xml"
|
|
line="59"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingLeft` you should probably also define `paddingRight` for right-to-left symmetry"
|
|
errorLine1=" android:paddingLeft="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/layout/cat_menu_fragment.xml"
|
|
line="60"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/layout/cat_menu_fragment.xml"
|
|
line="79"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingLeft` you should probably also define `paddingRight` for right-to-left symmetry"
|
|
errorLine1=" android:paddingLeft="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/layout/cat_menu_fragment.xml"
|
|
line="80"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/layout/cat_menu_fragment.xml"
|
|
line="98"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingLeft` you should probably also define `paddingRight` for right-to-left symmetry"
|
|
errorLine1=" android:paddingLeft="16dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/menu/res/layout/cat_menu_fragment.xml"
|
|
line="99"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales"
|
|
errorLine1=" boolean isOnLeft = (gravity & Gravity.LEFT) == Gravity.LEFT;"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/DraggableCardFragment.java"
|
|
line="100"
|
|
column="45"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales"
|
|
errorLine1=" boolean isOnLeft = (gravity & Gravity.LEFT) == Gravity.LEFT;"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/DraggableCardFragment.java"
|
|
line="100"
|
|
column="62"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales"
|
|
errorLine1=" boolean isOnRight = (gravity & Gravity.RIGHT) == Gravity.RIGHT;"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/DraggableCardFragment.java"
|
|
line="101"
|
|
column="46"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales"
|
|
errorLine1=" boolean isOnRight = (gravity & Gravity.RIGHT) == Gravity.RIGHT;"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/DraggableCardFragment.java"
|
|
line="101"
|
|
column="64"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales"
|
|
errorLine1=" gravity = Gravity.TOP | Gravity.LEFT;"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/DraggableCardFragment.java"
|
|
line="134"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales"
|
|
errorLine1=" gravity = Gravity.TOP | Gravity.RIGHT;"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/DraggableCardFragment.java"
|
|
line="136"
|
|
column="41"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales"
|
|
errorLine1=" gravity = Gravity.BOTTOM | Gravity.LEFT;"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/DraggableCardFragment.java"
|
|
line="138"
|
|
column="44"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Use "`Gravity.END`" instead of "`Gravity.RIGHT`" to ensure correct behavior in right-to-left locales"
|
|
errorLine1=" gravity = Gravity.BOTTOM | Gravity.RIGHT;"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/DraggableCardFragment.java"
|
|
line="140"
|
|
column="44"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_alignParentStart="true"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_alignParentLeft="true""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/layout/cat_bottom_navs_label_visibility_controls.xml"
|
|
line="61"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_alignParentEnd="true"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_alignParentRight="true""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/bottomnav/res/layout/cat_bottom_navs_label_visibility_controls.xml"
|
|
line="67"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_marginEnd="@dimen/cat_card_single_spacing"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginRight="@dimen/cat_card_single_spacing""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/res/layout/cat_card_rich_media_demo_fragment.xml"
|
|
line="59"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_marginStart="@dimen/cat_card_single_spacing"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginLeft="@dimen/cat_card_single_spacing""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/card/res/layout/cat_card_rich_media_demo_fragment.xml"
|
|
line="80"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_marginStart="@dimen/cat_checkbox_indent"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginLeft="@dimen/cat_checkbox_indent""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/checkbox/res/layout/cat_checkbox_toggled.xml"
|
|
line="24"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_marginEnd="24dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginRight="24dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/fab/res/layout/cat_fab_fragment.xml"
|
|
line="49"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_marginStart="@dimen/cat_switch_indent"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginLeft="@dimen/cat_switch_indent""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/switchmaterial/res/layout/cat_switch_toggled.xml"
|
|
line="24"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_marginEnd="24dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginRight="24dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/fab/res/layout/mtrl_extended_fabs.xml"
|
|
line="31"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_marginEnd="24dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginRight="24dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/fab/res/layout/mtrl_extended_fabs.xml"
|
|
line="46"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_marginEnd="24dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginRight="24dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/fab/res/layout/mtrl_extended_fabs.xml"
|
|
line="61"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_marginEnd="24dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginRight="24dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/fab/res/layout/mtrl_fabs.xml"
|
|
line="36"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:layout_marginEnd="24dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginRight="24dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/fab/res/layout/mtrl_fabs.xml"
|
|
line="60"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:paddingStart="8dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:paddingLeft="8dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/layout/mtrl_theme_switcher_dialog.xml"
|
|
line="44"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:paddingEnd="12dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:paddingRight="12dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/layout/mtrl_theme_switcher_dialog.xml"
|
|
line="45"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:paddingStart="8dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:paddingLeft="8dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/layout/mtrl_theme_switcher_dialog.xml"
|
|
line="56"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:paddingEnd="12dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:paddingRight="12dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/layout/mtrl_theme_switcher_dialog.xml"
|
|
line="57"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:paddingStart="8dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:paddingLeft="8dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/layout/mtrl_theme_switcher_dialog.xml"
|
|
line="68"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider adding `android:paddingEnd="12dp"` to better support right-to-left layouts"
|
|
errorLine1=" android:paddingRight="12dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/io/material/catalog/themeswitcher/res/layout/mtrl_theme_switcher_dialog.xml"
|
|
line="69"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
</issues>
|