6 Star 2 Fork 0

HarmonyOS-TPC/CircleView

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0
该三方开源库从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.

简介

CircleView 包含标题和副标题的圆形视图 展开 收起
Java
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/HarmonyOS-tpc/CircleView.git
git@gitee.com:HarmonyOS-tpc/CircleView.git
HarmonyOS-tpc
CircleView
CircleView
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385