Skip to content

Commit 3df9a93

Browse files
committed
Documentation: include feedback URLs and better XML suppress help
1 parent 1a6c405 commit 3df9a93

File tree

452 files changed

+2423
-226
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

452 files changed

+2423
-226
lines changed

docs/checks/AaptCrash.md.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
: Android
1919
Vendor
2020
: Android Open Source Project
21+
Feedback
22+
: https://issuetracker.google.com/issues/new?component=192708
2123
Affects
2224
: Resource files
2325
Editing
@@ -80,7 +82,16 @@
8082
problematic XML element (or one of its enclosing elements). You may
8183
also need to add the following namespace declaration on the root
8284
element in the XML file if it's not already there:
83-
`xmlns:tools="http://schemas.android.com/tools"`
85+
`xmlns:tools="http://schemas.android.com/tools"`.
86+
87+
```xml
88+
<?xml version="1.0" encoding="UTF-8"?>
89+
<resources xmlns:tools="http://schemas.android.com/tools">
90+
...
91+
<include tools:ignore="AaptCrash" .../>
92+
...
93+
</resources>
94+
```
8495

8596
* Using a special `lint.xml` file in the source tree which turns off
8697
the check in that folder and any sub folder. A simple file might look

docs/checks/AcceptsUserCertificates.md.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
: Android
1717
Vendor
1818
: Android Open Source Project
19+
Feedback
20+
: https://issuetracker.google.com/issues/new?component=192708
1921
Affects
2022
: Resource files
2123
Editing
@@ -80,7 +82,7 @@
8082
element (or one of its enclosing elements). You may also need to add
8183
the following namespace declaration on the root element in the XML
8284
file if it's not already there:
83-
`xmlns:tools="http://schemas.android.com/tools"`
85+
`xmlns:tools="http://schemas.android.com/tools"`.
8486

8587
* Using a special `lint.xml` file in the source tree which turns off
8688
the check in that folder and any sub folder. A simple file might look

docs/checks/AccidentalOctal.md.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
: Any
1717
Vendor
1818
: Android Open Source Project
19+
Feedback
20+
: https://issuetracker.google.com/issues/new?component=192708
1921
Affects
2022
: Gradle build files
2123
Editing

docs/checks/AdapterViewChildren.md.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
: Android
1717
Vendor
1818
: Android Open Source Project
19+
Feedback
20+
: https://issuetracker.google.com/issues/new?component=192708
1921
Affects
2022
: Resource files
2123
Editing
@@ -78,7 +80,15 @@
7880
(or one of its enclosing elements). You may also need to add the
7981
following namespace declaration on the root element in the XML file
8082
if it's not already there:
81-
`xmlns:tools="http://schemas.android.com/tools"`
83+
`xmlns:tools="http://schemas.android.com/tools"`.
84+
85+
```xml
86+
<?xml version="1.0" encoding="UTF-8"?>
87+
<ScrollView xmlns:tools="http://schemas.android.com/tools"
88+
tools:ignore="AdapterViewChildren" ...>
89+
...
90+
</ScrollView>
91+
```
8292

8393
* Using a special `lint.xml` file in the source tree which turns off
8494
the check in that folder and any sub folder. A simple file might look

docs/checks/AddJavascriptInterface.md.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
: Android
1717
Vendor
1818
: Android Open Source Project
19+
Feedback
20+
: https://issuetracker.google.com/issues/new?component=192708
1921
Affects
2022
: Kotlin and Java files
2123
Editing

docs/checks/AllCaps.md.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
: Android
1717
Vendor
1818
: Android Open Source Project
19+
Feedback
20+
: https://issuetracker.google.com/issues/new?component=192708
1921
Affects
2022
: Resource files
2123
Editing

docs/checks/AllowAllHostnameVerifier.md.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
: Android
1717
Vendor
1818
: Android Open Source Project
19+
Feedback
20+
: https://issuetracker.google.com/issues/new?component=192708
1921
Affects
2022
: Kotlin and Java files
2123
Editing

docs/checks/AllowBackup.md.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
: Android
1717
Vendor
1818
: Android Open Source Project
19+
Feedback
20+
: https://issuetracker.google.com/issues/new?component=192708
1921
Affects
2022
: Manifest files
2123
Editing
@@ -106,7 +108,16 @@
106108
problematic XML element (or one of its enclosing elements). You may
107109
also need to add the following namespace declaration on the root
108110
element in the XML file if it's not already there:
109-
`xmlns:tools="http://schemas.android.com/tools"`
111+
`xmlns:tools="http://schemas.android.com/tools"`.
112+
113+
```xml
114+
<?xml version="1.0" encoding="UTF-8"?>
115+
<manifest xmlns:tools="http://schemas.android.com/tools">
116+
...
117+
<application tools:ignore="AllowBackup" .../>
118+
...
119+
</manifest>
120+
```
110121

111122
* Using a special `lint.xml` file in the source tree which turns off
112123
the check in that folder and any sub folder. A simple file might look

docs/checks/AlwaysShowAction.md.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
: Android
1717
Vendor
1818
: Android Open Source Project
19+
Feedback
20+
: https://issuetracker.google.com/issues/new?component=192708
1921
Affects
2022
: Kotlin and Java files and resource files
2123
Editing
@@ -142,7 +144,7 @@
142144
on the problematic XML element (or one of its enclosing elements).
143145
You may also need to add the following namespace declaration on the
144146
root element in the XML file if it's not already there:
145-
`xmlns:tools="http://schemas.android.com/tools"`
147+
`xmlns:tools="http://schemas.android.com/tools"`.
146148

147149
* Using a suppression annotation like this on the enclosing
148150
element:

docs/checks/AndroidGradlePluginVersion.md.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
: Android
1717
Vendor
1818
: Android Open Source Project
19+
Feedback
20+
: https://issuetracker.google.com/issues/new?component=192708
1921
Affects
2022
: Gradle build files
2123
Editing

0 commit comments

Comments
 (0)