Skip to content

Commit 7d5fd39

Browse files
roberto-o-rmaestromac
authored andcommitted
Fix lint warnings (#30)
1 parent 7cf774c commit 7d5fd39

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77

88
<application
99
android:allowBackup="true"
10+
android:fullBackupContent="true"
1011
android:usesCleartextTraffic="true"
1112
android:icon="@mipmap/ic_launcher"
1213
android:label="@string/app_name"
1314
android:roundIcon="@mipmap/ic_launcher_round"
1415
android:supportsRtl="true"
1516
android:theme="@style/AppTheme"
16-
tools:ignore="GoogleAppIndexingWarning"
17+
tools:ignore="GoogleAppIndexingWarning,UnusedAttribute"
1718
>
1819
<activity
1920
android:name=".view.main.view.MainActivity"

app/src/main/res/layout/activity_main.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<?xml version="1.0" encoding="utf-8"?>
22

3-
<layout>
3+
<layout xmlns:android="http://schemas.android.com/apk/res/android">
44

55
<data>
66

77
</data>
88

99
<androidx.constraintlayout.widget.ConstraintLayout
10-
xmlns:android="http://schemas.android.com/apk/res/android"
1110
xmlns:tools="http://schemas.android.com/tools"
1211
android:layout_width="match_parent"
1312
android:layout_height="match_parent"
@@ -18,7 +17,8 @@
1817
android:layout_width="match_parent"
1918
android:visibility="visible"
2019
android:background="@color/colorPrimary"
21-
android:src="@drawable/ic_launcher_foreground" />
20+
android:src="@drawable/ic_launcher_foreground"
21+
android:contentDescription="@string/splash_description"/>
2222

2323
<WebView
2424
android:id="@+id/web_view"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<resources>
22
<string name="app_name">DEV Community</string>
3+
<string name="splash_description">Splash</string>
34
</resources>
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
<resources>
2-
<string name="app_name">basedata</string>
32
</resources>

0 commit comments

Comments
 (0)