Skip to content

Instantly share code, notes, and snippets.

@chetdeva
Last active January 23, 2018 17:21
Show Gist options
  • Save chetdeva/aa023d30f1700c28769905cf013c0cb7 to your computer and use it in GitHub Desktop.
Save chetdeva/aa023d30f1700c28769905cf013c0cb7 to your computer and use it in GitHub Desktop.
Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.ic_star_black_24dp);
int padding = getResources().getDimensionPixelOffset(R.dimen.space_medium);
textView.setText(new Truss()
.appendln("Image Bullet One", new Snippety().bullet(bitmap, padding))
.appendln("Image Bullet Two", new Snippety().bullet(bitmap, padding))
.build());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment