Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
IslamKhSh committed Sep 20, 2019
1 parent 9e2cb56 commit 38cf4e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ implementation 'com.github.IslamKhSh:CardSlider:{latest_version}'
app:cardSlider_otherPagesWidth="24dp" // width of displayed parts of left and right pages
app:cardSlider_pageMargin="12dp" // margin between pages
app:cardSlider_cardCornerRadius="5dp" // corner radius of every page
app:auto_slide_time="3"/> // auto sliding time in seconds
app:auto_slide_time="3"/> // auto sliding time in seconds
```

2. Extend CardSliderAdapter
Expand Down Expand Up @@ -147,7 +147,7 @@ And then bind it with your CardSliderViewPager
| `cardSlider_cardBackgroundColor` | The background color of the card. | White |
| `cardSlider_cardCornerRadius` | The corner radius of the card view. | 0 |
| `cardSlider_indicator` | The id of **CardSliderIndicator** to work with this view pager. | no indicator |
| `auto_slide_time` | The time in seconds to auto sliding between pages in it | no sliding (`CardSliderViewPager.STOP_AUTO_SLIDING`) |
| `auto_slide_time` | The time in seconds to auto sliding between pages in it | no sliding (`STOP_AUTO_SLIDING`) |

paddingLeft and right will be override with `otherPagesWidth + pageMargin`

Expand Down

0 comments on commit 38cf4e5

Please sign in to comment.