Skip to content

Commit 0fbe2c2

Browse files
authored
Update README.md
1 parent 63ef911 commit 0fbe2c2

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ An Android library of 3D style page flip. It needs OpenGL 2.0!
77
* [Installation](#installation)
88
- [Gradle](#gradle)
99
* [Usage](#usage)
10-
- [Introduce PageFlip Into Your Project](#simple-steps-for-introducing-pageflip-into-your-project)
11-
- [Configure PageFilp](#configure-pageflip)
10+
- [Introduce PageFlip Into Your Project](#i-simple-steps-for-introducing-pageflip-into-your-project)
11+
- [Configure PageFilp](#ii-configure-pageflip)
1212
+ [Page Mode](#1-page-mode)
1313
+ [Click Screen To Flip](#2-click-screen-to-flip)
1414
+ [Area If Clicking To Flip](#3-area-of-clicking-to-flip)
@@ -50,7 +50,7 @@ dependencies {
5050

5151
## Usage
5252

53-
### Simple steps for introducing PageFlip into your project
53+
### I. Simple steps for introducing PageFlip into your project
5454

5555
* Creates a surface view class extending from **GLSurfaceView**
5656
* Implements android **Renderer** interface to draw your content on screen
@@ -69,17 +69,19 @@ dependencies {
6969

7070
More details, please take a look **PageFlipView** in sample application.
7171

72-
### Configure PageFlip
72+
### II. Configure PageFlip
7373

7474
**PageFlip** library provides some configurations for customizing its behaviors. For example: shadow color and alpha, mesh pixels and page mode.
7575

7676
#### 1. Page Mode
7777

7878
There are two page modes provided by **PageFlip**:
79-
* **Auto Page Mode**: In this mode, **PageFlip** will automatically determine use single page or double pages to present content on screen. That means single page is used for portrait mode and double pages is used for lanscape mode.
80-
* **Single Page Mode**: No matter what screen is portait or landscape mode, **PageFlip** always use single page to show content
79+
80+
* **Auto Page Mode**: In this mode, **PageFlip** will automatically determine use single page or double pages to present content on screen. That means single page is used for portrait mode and double pages is used for lanscape mode.
81+
* **Single Page Mode**: No matter what screen is portait or landscape mode, **PageFlip** always use single page to show content
82+
8183

82-
You can use **enableAutoPage** to enable auto page mode or disable it(enable single page mode).
84+
You can use **enableAutoPage** to enable auto page mode or disable it(enable single page mode).
8385

8486
Example:
8587
```java
@@ -194,7 +196,7 @@ More details, please take a look **PageFlipView** in sample application.
194196

195197
#### 11. Base shadow width of fold page
196198

197-
Like **[Edge shadow width of fold page](edge-shadow-width-of-foldpage)**, You can set an appropriate width range for base shadow of fold page.
199+
Like **[Edge shadow width of fold page](10-edge-shadow-width-of-fold-page)**, You can set an appropriate width range for base shadow of fold page.
198200

199201
Example:
200202
```java

0 commit comments

Comments
 (0)