Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajasharan/iconiclabelview
An expandable label view with icon for Android (similar to the way Gmail shows its email labels)
https://github.com/rajasharan/iconiclabelview
Last synced: 3 days ago
JSON representation
An expandable label view with icon for Android (similar to the way Gmail shows its email labels)
- Host: GitHub
- URL: https://github.com/rajasharan/iconiclabelview
- Owner: rajasharan
- License: mit
- Created: 2015-09-23T09:12:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-24T02:25:13.000Z (about 9 years ago)
- Last Synced: 2023-03-12T06:04:03.211Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 445 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Android IconicLabelView
An expandable label view with icon## Demo
![](/screencast.gif)## Usage
```xml
```
Or easily setup via code
```java
IconicLabelView label = (IconicLabelView) findViewById(R.id.label);
label.setIcon(getResources().getDrawable(R.mipmap.ic_launcher))
.setBackground(Color.argb(90, 128, 128, 128))
.setCornerRadius(6.0f)
.setTextColor(Color.argb(255, 200, 0, 0))
.setTextSize(16)
.setTexts("Short Text", "Very Long Text");
```## Useful Learning Resources
* [Meaning of ascent, descent, baseline etc.](http://stackoverflow.com/questions/27631736/meaning-of-top-ascent-baseline-descent-bottom-and-leading-in-androids-font)
* [Precise Android Text Drawing](http://www.slideshare.net/rtc1/intro-todrawingtextandroid)## [License](/LICENSE)
The MIT License (MIT)