Skip to content

Commit b008b50

Browse files
committed
Update README.md
1 parent 0a70c09 commit b008b50

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

README.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
implementation 'me.jessyan:autosize:0.7.0'
6767
```
6868

69-
## Usage (just two steps)
69+
## Usage (just one steps)
7070
### Step 1
7171
* **Initialize in AndroidManifest:**
7272
```xml
@@ -82,21 +82,6 @@
8282
</manifest>
8383
```
8484

85-
### Step 2
86-
* **Initialize in Application:**
87-
```java
88-
public class BaseApplication extends Application {
89-
@Override
90-
public void onCreate() {
91-
super.onCreate();
92-
AutoSizeConfig.getInstance()
93-
.setLog(true)
94-
.init(this)
95-
.setUseDeviceSize(false);
96-
}
97-
}
98-
```
99-
10085
## Advanced
10186

10287
* **Customize the adaptation parameters of the Activity:**

0 commit comments

Comments
 (0)