CircleView Library

A circle View with contained Title and Subtitle

License

License

GroupId

GroupId

com.github.pavlospt
ArtifactId

ArtifactId

circleview
Last Version

Last Version

1.3
Release Date

Release Date

Type

Type

aar
Description

Description

CircleView Library
A circle View with contained Title and Subtitle
Project URL

Project URL

https://github.com/pavlospt/CircleView
Source Code Management

Source Code Management

https://github.com/pavlospt/CircleView

Download circleview

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.pavlospt/circleview/ -->
<dependency>
    <groupId>com.github.pavlospt</groupId>
    <artifactId>circleview</artifactId>
    <version>1.3</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.pavlospt/circleview/
implementation 'com.github.pavlospt:circleview:1.3'
// https://jarcasting.com/artifacts/com.github.pavlospt/circleview/
implementation ("com.github.pavlospt:circleview:1.3")
'com.github.pavlospt:circleview:aar:1.3'
<dependency org="com.github.pavlospt" name="circleview" rev="1.3">
  <artifact name="circleview" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.pavlospt', module='circleview', version='1.3')
)
libraryDependencies += "com.github.pavlospt" % "circleview" % "1.3"
[com.github.pavlospt/circleview "1.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

CircleView

A Circle View containing Title and Subtitle

Download

Android Arsenal

CircleView

Attributes 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.

Example

 <com.github.pavlospt.CircleView
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:layout_width="300dp"
        android:layout_height="300dp"
        app:cv_titleText="title"
        app:cv_subtitleText="subtitle"
        app:cv_titleSize="12dp"
        app:cv_subtitleSize="9dp"
        app:cv_titleColor="@color/white"
        app:cv_subtitleColor="@color/red"
        app:cv_strokeColorValue="@color/blue"
        app:cv_backgroundColorValue="@color/gray"
        app:cv_fillColor="@color/green"
        app:cv_fillRadius="0.9"
        app:cv_strokeWidthSize="5"/>

How To Use

You can search us on Gradle,please http://gradleplease.appspot.com/ or just add

the dependency to your module's build.gradle file:

compile 'com.github.pavlospt:circleview:1.3'

Credits

Author : Pavlos-Petros Tournaris ([email protected])

Google+ : +Pavlos-Petros Tournaris

Facebook : Pavlos-Petros Tournaris

LinkedIn : Pavlos-Petros Tournaris

Thanks to +Filip Puđak and his ProgressPieView that helped me think and create this View.

(In case you use this in your app let me know to make a list of apps that use it! )

Apps using this library

Hungry (https://play.google.com/store/apps/details?id=com.hungry)

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.

Versions

Version
1.3
1.2
1.1
1.0