mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-24 00:11:37 +08:00
511 lines
21 KiB
XML
511 lines
21 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2019 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="UnusedAttribute"
|
|
message="Attribute `firstBaselineToTopHeight` is only used in API level 28 and higher (current min is 23)"
|
|
errorLine1=" android:firstBaselineToTopHeight="40dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/component_cards.xml"
|
|
line="82"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `firstBaselineToTopHeight` is only used in API level 28 and higher (current min is 23)"
|
|
errorLine1=" android:firstBaselineToTopHeight="@dimen/keyline_5""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/component_cards.xml"
|
|
line="92"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `firstBaselineToTopHeight` is only used in API level 28 and higher (current min is 23)"
|
|
errorLine1=" android:firstBaselineToTopHeight="40dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/fragment_bottom_sheet.xml"
|
|
line="33"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `firstBaselineToTopHeight` is only used in API level 28 and higher (current min is 23)"
|
|
errorLine1=" android:firstBaselineToTopHeight="36dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/fragment_bottom_sheet.xml"
|
|
line="41"
|
|
column="7"/>
|
|
</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="src/main/AndroidManifest.xml"
|
|
line="22"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="VectorPath"
|
|
message="Very long vector path (937 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."
|
|
errorLine1=" android:pathData="M 23.8462 12 C 23.8462 5.46308 18.5369 0.153846 12 0.153846 C 5.46308 0.153846 0.153846 5.46308 0.153846 12 C 0.153846 18.5369 5.46308 23.8462 12 23.8462 C 18.5369 23.8462 23.8462 18.5369 23.8462 12 Z M 4.46154 18.0738 C 3.11538 16.4154 2.30769 14.3046 2.30769 12 C 2.30769 9.70615 3.12615 7.60615 4.46154 5.93692 L 4.46154 18.0738 Z M 18.0738 4.46154 L 5.92615 4.46154 C 7.58462 3.11538 9.69538 2.30769 12 2.30769 C 14.3046 2.30769 16.4154 3.11538 18.0738 4.46154 Z M 12 14.7246 L 7.95077 6.61538 L 16.06 6.61538 L 12 14.7246 Z M 17.3846 8.76923 L 17.3846 17.3846 L 13.0769 17.3846 L 17.3846 8.76923 Z M 10.9231 17.3846 L 6.61538 17.3846 L 6.61538 8.76923 L 10.9231 17.3846 Z M 18.0738 19.5385 C 16.4046 20.8846 14.2938 21.6923 12 21.6923 C 9.70615 21.6923 7.58462 20.8846 5.92615 19.5385 L 18.0738 19.5385 Z M 21.6923 12 C 21.6923 14.3046 20.8846 16.4154 19.5385 18.0738 L 19.5385 5.93692 C 20.8738 7.60615 21.6923 9.70615 21.6923 12 Z""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_material_icon_24dp.xml"
|
|
line="26"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_launcher_background` appears to be unused"
|
|
errorLine1="<vector"
|
|
errorLine2="^">
|
|
<location
|
|
file="src/main/res/drawable/ic_launcher_background.xml"
|
|
line="18"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_launcher_foreground` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="src/main/res/drawable-v24/ic_launcher_foreground.xml"
|
|
line="17"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="TypographyEllipsis"
|
|
message="Replace "..." with ellipsis character (…, &#8230;) ?"
|
|
errorLine1=" <string name="theme_name_hint">Theme name...</string>"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="19"
|
|
column="36"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="IconLocation"
|
|
message="Found bitmap drawable `res/drawable/sample_image.png` in densityless folder">
|
|
<location
|
|
file="src/main/res/drawable/sample_image.png"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorPrimary", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorPrimary" />"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/color_attribute_view_layout.xml"
|
|
line="28"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?shapeAppearanceSmallComponent", should use `@string` resource"
|
|
errorLine1=" android:text="\?shapeAppearanceSmallComponent""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/shape_attribute_view_layout.xml"
|
|
line="26"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorPrimary", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorPrimary""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="40"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorPrimaryVariant", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorPrimaryVariant""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="49"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorSecondary", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorSecondary""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="58"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorSecondaryVariant", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorSecondaryVariant""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="68"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorBackground", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorBackground""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="78"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorSurface", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorSurface""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="87"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorError", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorError""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="96"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorOnPrimary", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorOnPrimary""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="105"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorOnSecondary", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorOnSecondary""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="114"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorOnBackground", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorOnBackground""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="123"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorOnSurface", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorOnSurface""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="132"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?colorOnError", should use `@string` resource"
|
|
errorLine1=" android:text="\?colorOnError""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_color.xml"
|
|
line="141"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?shapeAppearanceSmallComponent", should use `@string` resource"
|
|
errorLine1=" android:text="\?shapeAppearanceSmallComponent""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_shape.xml"
|
|
line="40"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?shapeAppearanceMediumComponent", should use `@string` resource"
|
|
errorLine1=" android:text="\?shapeAppearanceMediumComponent""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_shape.xml"
|
|
line="51"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?shapeAppearanceLargeComponent", should use `@string` resource"
|
|
errorLine1=" android:text="\?shapeAppearanceLargeComponent""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_shape.xml"
|
|
line="62"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceHeadline1", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceHeadline1""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="40"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceHeadline2", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceHeadline2""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="50"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceHeadline3", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceHeadline3""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="60"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceHeadline4", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceHeadline4""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="70"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceHeadline5", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceHeadline5""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="80"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceHeadline6", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceHeadline6""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="90"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceSubtitle1", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceSubtitle1""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="100"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceSubtitle2", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceSubtitle2""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="110"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceBody1", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceBody1""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="120"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceBody2", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceBody2""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="130"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceButton", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceButton""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="140"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceCaption", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceCaption""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="150"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "\?textAppearanceOverline", should use `@string` resource"
|
|
errorLine1=" android:text="\?textAppearanceOverline""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/subsystem_type.xml"
|
|
line="160"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Use "`Gravity.START`" instead of "`Gravity.LEFT`" to ensure correct behavior in right-to-left locales"
|
|
errorLine1=" drawerLayout.openDrawer(Gravity.LEFT)"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="src/main/java/io/material/materialthemebuilder/ui/component/ComponentViewHolder.kt"
|
|
line="86"
|
|
column="39"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider replacing `android:layout_marginLeft` with `android:layout_marginStart="@dimen/keyline_2"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginLeft="@dimen/keyline_2""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/activity_main.xml"
|
|
line="64"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider replacing `android:layout_marginRight` with `android:layout_marginEnd="@dimen/keyline_4"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginRight="@dimen/keyline_4""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/activity_main.xml"
|
|
line="65"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Consider replacing `android:layout_marginLeft` with `android:layout_marginStart="@dimen/keyline_4"` to better support right-to-left layouts"
|
|
errorLine1=" android:layout_marginLeft="@dimen/keyline_4""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/component_cards.xml"
|
|
line="81"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlHardcoded"
|
|
message="Use "`start`" instead of "`left`" to ensure correct behavior in right-to-left locales"
|
|
errorLine1=" android:layout_gravity="start|left""
|
|
errorLine2=" ~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/component_drawer.xml"
|
|
line="54"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
</issues>
|