mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-19 03:21:36 +08:00
207 lines
8.2 KiB
XML
207 lines
8.2 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 `scrollIndicators` is only used in API level 23 and higher (current min is 14)"
|
|
errorLine1=" android:scrollIndicators="top|bottom">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/dialog/res/layout/mtrl_alert_dialog_actions.xml"
|
|
line="24"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `layoutDirection` is only used in API level 17 and higher (current min is 14)"
|
|
errorLine1=" android:layoutDirection="locale""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/dialog/res/layout/mtrl_alert_dialog_actions.xml"
|
|
line="30"
|
|
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="8dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/dialog/res/layout/mtrl_alert_dialog_actions.xml"
|
|
line="32"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `paddingVertical` is only used in API level 26 and higher (current min is 14)"
|
|
errorLine1=" android:paddingVertical="2dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/dialog/res/layout/mtrl_alert_dialog_actions.xml"
|
|
line="35"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `controlX1` is only used in API level 21 and higher (current min is 14)"
|
|
errorLine1=" android:controlX1="0.4""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/card/res/anim/mtrl_card_lowers_interpolator.xml"
|
|
line="19"
|
|
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/com/google/android/material/card/res/anim/mtrl_card_lowers_interpolator.xml"
|
|
line="20"
|
|
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.6""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/card/res/anim/mtrl_card_lowers_interpolator.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/com/google/android/material/card/res/anim/mtrl_card_lowers_interpolator.xml"
|
|
line="22"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `startDelay` is only used in API level 19 and higher (current min is 14)"
|
|
errorLine1=" android:startDelay="@integer/mtrl_card_anim_delay_ms""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/card/res/animator/mtrl_card_state_list_anim.xml"
|
|
line="31"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `startDelay` is only used in API level 19 and higher (current min is 14)"
|
|
errorLine1=" android:startDelay="@integer/mtrl_btn_anim_delay_ms""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/floatingactionbutton/res/animator/mtrl_extended_fab_state_list_animator.xml"
|
|
line="81"
|
|
column="13"/>
|
|
</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="javatests/com/google/android/material/appbar/res/layout/test_toolbar_elevation.xml"
|
|
line="20"
|
|
column="3"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ClickableViewAccessibility"
|
|
message="Custom view ``FrameLayout`` has `setOnTouchListener` called on it but does not override `performClick`"
|
|
errorLine1=" bottomSheet.setOnTouchListener("
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/com/google/android/material/bottomsheet/BottomSheetDialog.java"
|
|
line="258"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ClickableViewAccessibility"
|
|
message="`onTouch` should call `View#performClick` when a click is detected"
|
|
errorLine1=" public boolean onTouch(View view, MotionEvent event) {"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/bottomsheet/BottomSheetDialog.java"
|
|
line="261"
|
|
column="26"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ClickableViewAccessibility"
|
|
message="Custom view `Chip` overrides `onTouchEvent` but not `performClick`"
|
|
errorLine1=" public boolean onTouchEvent(@NonNull MotionEvent event) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/chip/Chip.java"
|
|
line="740"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ClickableViewAccessibility"
|
|
message="Custom view ``AutoCompleteTextView`` has `setOnTouchListener` called on it but does not override `performClick`"
|
|
errorLine1=" editText.setOnTouchListener("
|
|
errorLine2=" ^">
|
|
<location
|
|
file="java/com/google/android/material/textfield/DropdownMenuEndIconDelegate.java"
|
|
line="340"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ClickableViewAccessibility"
|
|
message="Custom view `FloatingActionButton` overrides `onTouchEvent` but not `performClick`"
|
|
errorLine1=" public boolean onTouchEvent(@NonNull MotionEvent ev) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/floatingactionbutton/FloatingActionButton.java"
|
|
line="918"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ClickableViewAccessibility"
|
|
message="Custom view `Slider` overrides `onTouchEvent` but not `performClick`"
|
|
errorLine1=" public boolean onTouchEvent(@NonNull MotionEvent event) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="java/com/google/android/material/slider/Slider.java"
|
|
line="633"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
</issues>
|