Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
neworld committed Aug 8, 2017
1 parent f17c40e commit 4880033
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Spannable spannable = new Spanner()
.append("subscript\n", subscript())
.append("superscript\n", superscript())
.append(" \n", image(getResources().getDrawable(R.drawable.ic_android_16dp)))
.append("quite\n", quite())
.append("The quick brown fox jumps over the lazy dog\n", bold(), foreground(0xFF904f1c), quite())
.append("quite\n", quote())
.append("The quick brown fox jumps over the lazy dog\n", bold(), foreground(0xFF904f1c), quote())
;
```

Expand Down
4 changes: 2 additions & 2 deletions lib/src/main/java/lt/neworld/spanner/Spans.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ fun image(context: Context, bitmap: Bitmap, verticalAlignment: Int = ImageSpan.A

fun image(drawable: Drawable) = ImageSpan(drawable)

fun quite() = QuoteSpan()
fun quote() = QuoteSpan()

fun quite(@ColorInt color: Int) = QuoteSpan(color)
fun quote(@ColorInt color: Int) = QuoteSpan(color)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import static lt.neworld.spanner.Spans.foreground;
import static lt.neworld.spanner.Spans.image;
import static lt.neworld.spanner.Spans.italic;
import static lt.neworld.spanner.Spans.quite;
import static lt.neworld.spanner.Spans.quote;
import static lt.neworld.spanner.Spans.scaleSize;
import static lt.neworld.spanner.Spans.sizeDP;
import static lt.neworld.spanner.Spans.strikeThrough;
Expand Down Expand Up @@ -50,8 +50,8 @@ protected void onCreate(Bundle savedInstanceState) {
.append("subscript\n", subscript())
.append("superscript\n", superscript())
.append(" \n", image(getResources().getDrawable(R.drawable.ic_android_16dp)))
.append("quite\n", quite())
.append("The quick brown fox jumps over the lazy dog\n", bold(), foreground(0xFF904f1c), quite())
.append("quite\n", Spans.quote())
.append("The quick brown fox jumps over the lazy dog\n", bold(), foreground(0xFF904f1c), Spans.quote())
;
// @formatter:on

Expand Down

0 comments on commit 4880033

Please sign in to comment.