Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/misakuo/3dTagCloudAndroid
Tagcloud component for android
https://github.com/misakuo/3dTagCloudAndroid
Last synced: about 1 month ago
JSON representation
Tagcloud component for android
- Host: GitHub
- URL: https://github.com/misakuo/3dTagCloudAndroid
- Owner: misakuo
- License: mit
- Created: 2016-01-20T01:49:18.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-08T07:45:11.000Z (about 4 years ago)
- Last Synced: 2024-11-05T08:42:45.425Z (about 1 month ago)
- Language: Java
- Homepage:
- Size: 4.44 MB
- Stars: 1,650
- Watchers: 31
- Forks: 291
- Open Issues: 19
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-android-ui - 3dTagCloudAndroid - 将一组View展示为一个3D球形集合 (其他)
- awesome-android-ui - https://github.com/misakuo/3dTagCloudAndroid
- awesome-android-ui - https://github.com/misakuo/3dTagCloudAndroid
README
# TagCloudView
[![Download](https://api.bintray.com/packages/misakuo/maven/tagcloudview/images/download.svg) ](https://bintray.com/misakuo/maven/tagcloudview/_latestVersion)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-TagCloudAndroid-brightgreen.svg?style=flat)](http://www.android-arsenal.com/details/1/3060)
[![Build Status](https://travis-ci.org/misakuo/3dTagCloudAndroid.svg?branch=master)](https://travis-ci.org/misakuo/3dTagCloudAndroid)
[![Android Gems](http://www.android-gems.com/badge/misakuo/3dTagCloudAndroid.svg)](http://www.android-gems.com/lib/misakuo/3dTagCloudAndroid)
[中文](https://github.com/misakuo/3dTagCloudAndroid/blob/master/README.md)
###Sample
![Sample APP](http://7fvfii.com1.z0.glb.clouddn.com/sample_qrcode.png)
Scaning to download the sample APK.
###Summary
TagCloudView is a component based Android ViewGroup, it support to showing group of Views as a 3D sphere, and the sphere can scroll in all directions.
###UI Style
[Image](http://7fvfii.com1.z0.glb.clouddn.com/screenshot.gif)
![screenshot](https://raw.githubusercontent.com/misakuo/3dTagCloudAndroid/master/screenshot.gif)###Useage
##### Eclipse
copy source code or using maven plugin for Eclipse.
##### Android Studio / IDEA
- Place code in your `build.gradle`
```
dependencies {
compile 'com.moxun:tagcloudlib:1.2.0'
}
```- Using in xml
```
```- Set Adapter
Extending class `TagsAdapter` and implement following methods:
**public int getCount();**
*Return the number of tags*
**public View getView(Context context, int position, ViewGroup parent);**
*Return the View instance of each tag*
**public Object getItem(int position);**
*Return the data of each tag(could be null)*
**public int getPopularity(int position);**
*Assign a propularity value for each Tag, this value is relation to tag's theme color*
**public void onThemeColorChanged(View view,int themeColor);**
*This method will be called when tag's theme color changed*
- Custom Properties| Properties | In XML | In Code |Value Type|
|:------------: |:-------------:| :----:|:-:
| Auto Scroll | app:autoScrollMode | setAutoScrollMode(int mode) |enum [disable,uniform,decelerate]
| Radius | app:radiusPercent | setRadiusPercent(float percent) |float (0,1)
| Scroll Speed | app:scrollSpeed | setScrollSpeed(float scrollSpeed) |float (0,+]
|Start Color|app:lightColor|setLightColor(int color)|int
|End Color|app:darkColor|setDarkColor(int color)|int***
Welcome to Pull Request and Issues.