Skip to content

Instantly share code, notes, and snippets.

@chetdeva
Last active January 22, 2018 10:38
Show Gist options
  • Save chetdeva/2354ef52ed1cc0e7acd11c41ba376d5d to your computer and use it in GitHub Desktop.
Save chetdeva/2354ef52ed1cc0e7acd11c41ba376d5d to your computer and use it in GitHub Desktop.
int lineWidth = getResources().getDimensionPixelOffset(R.dimen.one_dp);
int lineColor = ContextCompat.getColor(getContext(), R.color.grey_light);
textView.setText(new Truss()
.appendln(new Snippety().hr(lineWidth, lineColor))
.build());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment