diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-04-24 16:09:45 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-04-24 16:47:50 +0530 |
commit | 759c3b2e1af3ab044535648c6d3cb74b0dca05f9 (patch) | |
tree | b177aa729008895268d5842eb28c327121c690ff /app | |
parent | 13e859baca77d4bc2f809ec4c6a6ecb778be059b (diff) |
app: address Deprecated lint
Diffstat (limited to 'app')
-rw-r--r-- | app/lint-baseline.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/layout/item_field.xml | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index 4aa937ad..2d2eb5a3 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="Deprecated" - message="`android:editable` is deprecated: Use an `<EditText>` to make it editable" - errorLine1=" android:editable="false"" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> - <location - file="src/main/res/layout/item_field.xml" - line="24" - column="7"/> - </issue> - - <issue id="MissingQuantity" message="For locale "fr" (French) the following quantities should also be defined: `many`" errorLine1=" <plurals name="delete_title">" diff --git a/app/src/main/res/layout/item_field.xml b/app/src/main/res/layout/item_field.xml index 6c74b65c..1bdf2a91 100644 --- a/app/src/main/res/layout/item_field.xml +++ b/app/src/main/res/layout/item_field.xml @@ -21,8 +21,8 @@ android:id="@+id/item_text" android:layout_width="match_parent" android:layout_height="wrap_content" - android:editable="false" android:fontFamily="@font/sourcecodepro" + android:inputType="none" android:textIsSelectable="true" tools:text="p@55w0rd!" /> |