该三方开源库从github fork过来,主要将底层接口调用的实现修改成鸿蒙接口的实现,将三方库鸿蒙化,供开发鸿蒙应用的开发者使用
fork版本号/日期:master / 2018/10/23
# CircleView
CircleView 包含标题和副标题的圆形视图
项目移植状态:支持组件所有基本功能
完成度:100%
调用差异:无
# CircleView
A Circle View containing Title and Subtitle
Example
=======
```xml
<com.github.pavlospt.CircleView
ohos:height="300vp"
ohos:width="300vp"
ohos:cv_backgroundColorValue="#ffffffff"
ohos:cv_fillColor="#ff555555"
ohos:cv_fillRadius="0.9"
ohos:cv_strokeColorValue="#ff03A9F4"
ohos:cv_strokeWidthSize="5"
ohos:cv_subtitleColor="#ffffffff"
ohos:cv_subtitleSize="20fp"
ohos:cv_subtitleText="2 hours ago"
ohos:cv_titleColor="#ff03A9F4"
ohos:cv_titleSize="40fp"
ohos:cv_titleText="22%"
ohos:margin="6vp"/>
```
AttrSet to choose from:
* `cv_titleText` - The text in the first row.
* `cv_subtitleText` - The text in the second row.
* `cv_titleSize` - The size of the first row text.
* `cv_subtitleSize` - The size of the second row text.
* `cv_strokeWidthSize` - The size of the outter line surrounding the view.
* `cv_fillRadius` - The radius of the inner circle.
* `cv_titleColor` - The color of the first row text.
* `cv_subtitleColor` - The color of the second row text.
* `cv_fillColor` - The color of the inner circle.
* `cv_strokeColorValue` - The color of the outter line circle.
* `cv_backgroundColorValue` - the color between the circle and the stroke.
How To Use
==========
add
the dependency to your module's `build.gradle` file:
```compile project(path: ':library') ```
or
```
allprojects{
repositories{
mavenCentral()
}
}
implementation 'io.openharmony.tpc.thirdlib:CircleView:1.0.1'
```
License
=======
Copyright 2014 Pavlos-Petros Tournaris
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.