/IOS11RectProgress

仿iOS11 控制中心 调整亮度

Primary LanguageJavaApache License 2.0Apache-2.0

IOS11RectProgress

Imitate progress bar in iOS11 control center

usage

<com.cui.rectprogress.RectProgress
        android:id="@+id/rectProgress_main"
        android:layout_width="100dp"
        android:layout_height="200dp"
        android:layout_gravity="center"
        app:bgColor="#cf000000"
        app:progressOrientation="vertical"
        app:progressColor="#ffffff"
        app:progressMax="100"
        app:iconSrc="@drawable/ic_light"
        app:progressValue="30"
        app:iconPadding="20dp"
        />

License

Copyright 2014 Joonho Kim

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.