Skip to content

Commit

Permalink
Update Use Simple Custom Layout
Browse files Browse the repository at this point in the history
 in README.md
  • Loading branch information
Aftermoon-dev committed Oct 24, 2019
1 parent 1bdce63 commit 23e1760
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,17 @@ if(view404 != null) {
### Use Simple Custom Layout
View404 supports Custom Layout Class for More Simple!

First, Write Import following Package inside your Class!
First, Add Error Layout Space in Your Layout.
```xml
<RelativeLayout
android:id="@+id/errorLayout"
android:background="#000000"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="50dp" />
```

Write Import following Package inside your Class.
```kotlin
import com.bluecat.view404.View404
import com.bluecat.view404.show404
Expand Down

0 comments on commit 23e1760

Please sign in to comment.