Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JessYanCoding committed Aug 19, 2018
1 parent 0a70c09 commit b008b50
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
implementation 'me.jessyan:autosize:0.7.0'
```

## Usage (just two steps)
## Usage (just one steps)
### Step 1
* **Initialize in AndroidManifest:**
```xml
Expand All @@ -82,21 +82,6 @@
</manifest>
```

### Step 2
* **Initialize in Application:**
```java
public class BaseApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
AutoSizeConfig.getInstance()
.setLog(true)
.init(this)
.setUseDeviceSize(false);
}
}
```

## Advanced

* **Customize the adaptation parameters of the Activity:**
Expand Down

0 comments on commit b008b50

Please sign in to comment.