aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/lint-baseline.xml11
-rw-r--r--app/src/main/res/layout/fragment_pwgen.xml1
2 files changed, 1 insertions, 11 deletions
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml
index d3cdacc4..b4558863 100644
--- a/app/lint-baseline.xml
+++ b/app/lint-baseline.xml
@@ -2,17 +2,6 @@
<issues format="6" by="lint 7.1.3" type="baseline" client="gradle" dependencies="false" name="AGP (7.1.3)" variant="all" version="7.1.3">
<issue
- id="LabelFor"
- message="Missing accessibility label: provide either a view with an `android:labelFor` that references this view or provide an `android:hint`"
- errorLine1=" &lt;EditText"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/res/layout/fragment_pwgen.xml"
- line="90"
- column="10"/>
- </issue>
-
- <issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" warningAppName.text = &quot;“${packageManager.getApplicationLabel(appInfo)}”&quot;"
diff --git a/app/src/main/res/layout/fragment_pwgen.xml b/app/src/main/res/layout/fragment_pwgen.xml
index e8cb68cb..edd5c8d5 100644
--- a/app/src/main/res/layout/fragment_pwgen.xml
+++ b/app/src/main/res/layout/fragment_pwgen.xml
@@ -84,6 +84,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
+ android:labelFor="@id/lengthNumber"
android:text="@string/pwgen_length"
android:textAppearance="?android:attr/textAppearanceSmall" />