Skip to content

Commit

Permalink
Release 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
neworld committed Oct 22, 2017
1 parent 8cf5a3f commit d7bb33f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### v0.3.1

- Reduced methods
- Add nullability annotations

### v0.3

- Add missing spans
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This lib provides simple and fluent API for creating [Android Spannable](https:/
Features:
- Simple and fluent API
- Helpers to create spans
- Small method footprint (<200 methods, 24kb AAR package)
- Small method footprint (<200 methods, 28kb AAR package)

This library focuses on building spannable.
If you prefer put full text first and then apply spans, take a look at [another awesome library](https://github.com/jaychang0917/SimpleText)
Expand Down Expand Up @@ -75,6 +75,8 @@ val spannable = Spanner("The quick brown fox jumps over the lazy dog")

Spans:

| | | |
| --- | --- | --- |
| sizePx(int) | background(int color) | center() |
| sizeDP(int) | foreground(int color) | alignmentOpposite() |
| scaleSize(float) | subscript() | alignmentNormal() |
Expand Down Expand Up @@ -106,7 +108,7 @@ Text manipulation:
}
dependencies {
compile 'lt.neworld:spanner:v0.3'
compile 'lt.neworld:spanner:v0.3.1'
}
```

Expand Down

0 comments on commit d7bb33f

Please sign in to comment.