From 38cf4e5133c0b22fa0e4a2287dc521e565b222eb Mon Sep 17 00:00:00 2001 From: Islam Khaled <11962204+IslamKhSh@users.noreply.github.com> Date: Fri, 20 Sep 2019 14:33:50 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48b31dd..b7403bf 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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`