Last active
January 22, 2018 10:41
-
-
Save chetdeva/f7a1f89401cdc32e963aa69e2e2de312 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int leadWidth = getResources().getDimensionPixelOffset(R.dimen.space_medium); | |
int gapWidth = getResources().getDimensionPixelOffset(R.dimen.space_xlarge); | |
textView.setText(new Truss() | |
.appendln("Number One", new Snippety().number(leadWidth, gapWidth, 1)) | |
.appendln("Number Two", new Snippety().number(leadWidth, gapWidth, 2)) | |
.build()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment