Skip to content

Latest commit

 

History

History
206 lines (148 loc) · 11.4 KB

README_EN.md

File metadata and controls

206 lines (148 loc) · 11.4 KB

WidgetCase

中文文档

project introduction

With a year of custom control Library, stability and compatibility have been guaranteed. Because the company projects tend to statistics, so the project is more in this aspect of the control; But now that I've pulled out all the libraries, I can't just talk about the statistics class, I can diverge to more scenarios. So, the library will be maintained until Android goes down, and I go down. Of course, a person's power is always limited, in this look forward to more like-minded code friends to join, we work together to do something spectacular.

Effect brush a wave, after all, is to see the face to eat

Function directory

Peak figure>>>[TaperChart & TaperChartLayout & HorTaperChart] & The gradient curve>>>[GradientLine]

image image image

(Wave loading view)[CircleWaveView] & (The drop-down effect)[RefreshView]

image image

Graphic mixed>>>[ImgTxtMixtureView] & Gestures to zoom>>>[MatrixView]

image

Circle the progress>>>[RingView & LegendRingView]

LFT:Circular progress with bottom corner marks>>>[CircleProgressBarView] MID:Ring with scale>>>[GradientProBar] RGT:Horizontal progress-Progress indicator>>>[HorProBar]

Image filter>>>[ColorMatrixActivity & ColorHueActivity]

image

Time scale(Support the zoom)>>>[TimeRulerView] & CircleButton(Rotate with the device to monitor the rotation direction in real time)>>>[CircleButton]

image image

Custom slide control(Support multi - finger touch, inertial sliding, custom scroll bar)>>>[CustomScrollView] & Custom ViewPager slide animation>>>[ScaleAlphaTransformer]

image image

Bitmap flip animation(Control the flip and fold effect of bitmap through Camera and Canvas)>>>[BmpOverturnView]

image

The custom controls are distributed as follows

Peak figure
  1. TaperChart
  2. TaperChartLayout
  3. HorTaperChart
Wave loading view

CircleWaveView

The drop-down effect

RefreshView

Circular progress bar
  1. CircleProgress
  2. GradientProBar
  3. CircleProgressBarView
  4. CircleView
Ring progress bar
  1. RingView
  2. LegendRingView(It contains legend)
semicircle/Fuel meter
  1. HalfCircleProView
Horizontal progress bar
  1. HorProBar
  2. SectionProBar
  3. ShadowProBar
  4. LoadingLineView
The gradient curve

GradientLine

Graphic mixed

ImgTxtMixtureView

Anti - WeChat picture viewer, double - click zoom in/out

MatrixView

System control rewrite
  1. FixGridView
  2. FixListView
  3. NoScrollViewPager
Learn the bezier curve

PathMorphBezier

Image filter
  1. ColorMatrix
  2. ColorHue
Time Ruler

TimeRulerView

CircleButton(Rotate with the device to monitor the rotation direction in real time)

CircleButton

Custom slide control(Support multi - finger touch, inertial sliding, custom scroll bar)

CustomScrollView

Custom ViewPager slide animation

ScaleAlphaTransformer

Bitmap flip animation

BmpOverturnView

Download

Step 1.

allprojects {
    repositories {
        ...
        maven {
            url 'http://47.93.38.184:8081/nexus/content/repositories/faithhb/'
        }
        maven {
            url 'http://47.93.38.184:8081/nexus/content/repositories/github/' // widget发布版本已切换到该目录
        }
    }
}

Step 2.

Gradle:

implementation 'com.faithhb:widgetcase:1.0.3'

widgetcase The latest version:

or

aar:

implementation(name: 'hawkeye_widget-release', ext: 'aar')

or

Add local dependencies:

implementation project(':hawkeye_widget')

Proguard

-dontwarn com.dongni.**
-keep class com.dongni.** { *; }

# page modle To avoid confusion
-keep class com.doyou.cv.bean.**{*; }
-keep class com.doyou.cv.WLogger{*; }

-keep class com.doyou.cv.widget.**
-keepclassmembers class com.doyou.cv.widget.** {
    public *;
}

# Utility classes avoid confusion
-keep class com.doyou.cv.utils.**
-keepclassmembers class com.doyou.cv.utils.** {
    public *;
}

What if there is a problem?

First of all, if there is a problem, you can issue issue. I will often go to see it. If it can be solved, it will be solved in time.

Want to join in the maintenance of this open source project, how to operate?

You can fork down the project first and then modify some netizens' problems or the problems you find and the places that need to be optimized by yourself, and then send them to me in the form of pr. I will immediately check the code, test and merge the code. I will invite him to be the developer of this project. He will be really convenient and quick to maintain this open source library.

contact me:

WeChat:faith-hb
QQ:907167515
Email:hongbinghp@gmail.com

License

Copyright 2019 faith-hb

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.