From 5487ca82c2d3624ca34d55c91e821c79bc0abf97 Mon Sep 17 00:00:00 2001 From: zhpanvip Date: Wed, 27 Jan 2021 12:47:11 +0800 Subject: [PATCH] Update REDMINE --- README.md | 19 ++++++------------- README_CN.md | 14 ++++++-------- 2 files changed, 12 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index d9e16d2..bc6d21d 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,6 @@ Various Indicator Styles and various Indicator Slide mode was supported now.It's | COLOR| ![CIRCLE_COLOR](https://gitee.com/zhpanvip/images/raw/master/project/indicator/slide_circle_color.gif) | ![DASH_COLOR](https://gitee.com/zhpanvip/images/raw/master/project/indicator/style_dash_color.gif) | ![ROUND_COLOR](https://gitee.com/zhpanvip/images/raw/master/project/indicator/style_round_rect_color.gif) | | SCALE| ![CIRCLE_SCALE](https://gitee.com/zhpanvip/images/raw/master/project/indicator/slide_circle_scale.gif) | ![DASH_SCALE](https://gitee.com/zhpanvip/images/raw/master/project/indicator/style_dash_scale.gif) | ![ROUND_SCALE](https://gitee.com/zhpanvip/images/raw/master/project/indicator/style_round_rect_scale.gif) | -### DrawableIndicator - -| Bitmap Drawable| Vector Drawable| -|--|--| -| ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/indicator/bitmap_drawable_indicator.gif) | ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/indicator/vector_drawable_indicator.gif) | - - ## API | Method | Description | Default | @@ -153,11 +146,15 @@ Or you can do like the following code: ``` -### 3.Custom IndicatorView Supported +### 2.Custom IndicatorView #### DrawableIndicator +| Bitmap Drawable| Vector Drawable| +|--|--| +| ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/indicator/bitmap_drawable_indicator.gif) | ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/indicator/vector_drawable_indicator.gif) | + You can set bitmap drawable indicator and vector drawable indicator by DrawableIndicator,also you can resize the drawable easily. ##### Add IndicatorView in layout.xml @@ -202,7 +199,7 @@ The example will implement an custom IndicatorView as the follow gif. | Custom IndicatorView Style| |--| -| ![NORMAL](https://github.com/zhpanvip/Resource/blob/master/image/banner/style_custum.gif) | +| ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/indicator/style_custum.gif) | #### (1)Custom View and extends BaseIndicatorView @@ -287,10 +284,6 @@ public class FigureIndicatorView extends BaseIndicatorView { |--|--| | ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/pay/pay_alipay.jpg) | ![SMOOTH](https://gitee.com/zhpanvip/images/raw/master/project/pay/pay_wechat.png) | -## More details - -[《聊一聊ViewPagerIndicator重构的一些经验》](https://juejin.im/post/5dda0b6d518825731f569a8c) - License ------- diff --git a/README_CN.md b/README_CN.md index b79b530..d063556 100644 --- a/README_CN.md +++ b/README_CN.md @@ -27,12 +27,6 @@ | COLOR| ![CIRCLE_COLOR](https://gitee.com/zhpanvip/images/raw/master/project/indicator/slide_circle_color.gif) | ![DASH_COLOR](https://gitee.com/zhpanvip/images/raw/master/project/indicator/style_dash_color.gif) | ![ROUND_COLOR](https://gitee.com/zhpanvip/images/raw/master/project/indicator/style_round_rect_color.gif) | | SCALE| ![CIRCLE_SCALE](https://gitee.com/zhpanvip/images/raw/master/project/indicator/slide_circle_scale.gif) | ![DASH_SCALE](https://gitee.com/zhpanvip/images/raw/master/project/indicator/style_dash_scale.gif) | ![ROUND_SCALE](https://gitee.com/zhpanvip/images/raw/master/project/indicator/style_round_rect_scale.gif) | -### DrawableIndicator - -| Bitmap Drawable| Vector Drawable| -|--|--| -| ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/indicator/bitmap_drawable_indicator.gif) | ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/indicator/vector_drawable_indicator.gif) | - ## API @@ -155,11 +149,15 @@ latestVersion:[![latestVersion](https://jitpack.io/v/zhpanvip/viewpagerindicator ``` -### 3.自定义Indicator样式 +### 2.自定义Indicator样式 #### DrawableIndicator +| Bitmap Drawable| Vector Drawable| +|--|--| +| ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/indicator/bitmap_drawable_indicator.gif) | ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/indicator/vector_drawable_indicator.gif) | + DrawableIndicator是一个自定义的Indicator,位于Sample中,使用DrawableIndicator可以设置bitmap drawable或者vector drawable,可以自定义drawable的大小,具体使用步骤如下: #### (1) Add IndicatorView in layout.xml @@ -204,7 +202,7 @@ DrawableIndicator是一个自定义的Indicator,位于Sample中,使用Drawab | Custom IndicatorView Style| |--| -| ![NORMAL](https://github.com/zhpanvip/Resource/blob/master/image/banner/style_custum.gif) | +| ![NORMAL](https://gitee.com/zhpanvip/images/raw/master/project/indicator/style_custum.gif) | #### (1)自定义View并继承BaseIndicatorView