Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Commit ce4ad6a

Browse files
Fix Lint warnings
1 parent 09a1c14 commit ce4ad6a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

connectionclass-sample/src/main/AndroidManifest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
34
package="com.facebook.network.connectionclass.sample" >
45

56
<uses-permission android:name="android.permission.INTERNET"/>
67

78
<application
89
android:allowBackup="true"
10+
android:fullBackupContent="true"
911
android:icon="@drawable/ic_launcher"
10-
android:label="@string/app_name">
12+
android:label="@string/app_name"
13+
tools:ignore="GoogleAppIndexingWarning">
1114
<activity
1215
android:name=".MainActivity"
1316
android:label="@string/app_name" >
17.5 KB
Loading

connectionclass-sample/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414
<TextView
1515
android:text="@string/connection_class"
16-
android:textSize="20dp"
16+
android:textSize="20sp"
1717
android:layout_width="wrap_content"
1818
android:layout_height="wrap_content"
1919
android:layout_marginBottom="10dp"/>
2020

2121
<TextView
2222
android:id="@+id/connection_class"
23-
android:textSize="32dp"
23+
android:textSize="32sp"
2424
android:layout_width="wrap_content"
2525
android:layout_height="wrap_content"/>
2626

@@ -29,7 +29,6 @@
2929
style="?android:attr/progressBarStyleLarge"
3030
android:layout_width="wrap_content"
3131
android:layout_height="wrap_content"
32-
android:layout_centerHorizontal="true"
3332
android:layout_marginTop="15dp"
3433
android:visibility="gone"/>
3534

0 commit comments

Comments
 (0)