mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-28 19:16:55 +08:00
update: exclude lint for the singleline attribute
This commit is contained in:
@@ -5,4 +5,7 @@
|
||||
<issue id="SmallSp" severity="ignore"/>
|
||||
<issue id="IconMissingDensityFolder" severity="ignore"/>
|
||||
<issue id="RtlHardcoded" severity="ignore"/>
|
||||
<issue id="Deprecated" severity="warning">
|
||||
<ignore regexp="singleLine"/>
|
||||
</issue>
|
||||
</lint>
|
||||
|
||||
@@ -1,20 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/qmui_bottom_sheet_title_height"
|
||||
android:background="?attr/qmui_bottom_sheet_title_bg"
|
||||
android:ellipsize="middle"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="?attr/qmui_bottom_sheet_list_item_padding_horizontal"
|
||||
android:paddingRight="?attr/qmui_bottom_sheet_list_item_padding_horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:textAppearance="?attr/qmui_bottom_sheet_title_appearance"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:background="?attr/qmui_bottom_sheet_title_bg"
|
||||
android:textAppearance="?attr/qmui_bottom_sheet_title_appearance"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/listview"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -5,4 +5,7 @@
|
||||
<issue id="SmallSp" severity="ignore"/>
|
||||
<issue id="IconMissingDensityFolder" severity="ignore"/>
|
||||
<issue id="RtlHardcoded" severity="ignore"/>
|
||||
<issue id="Deprecated" severity="warning">
|
||||
<ignore regexp="singleLine"/>
|
||||
</issue>
|
||||
</lint>
|
||||
|
||||
Reference in New Issue
Block a user