Skip to content

Instantly share code, notes, and snippets.

@fmedlin
Created November 6, 2021 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fmedlin/2c2e7b4e5eb538799c8b378aa9cba9db to your computer and use it in GitHub Desktop.
Save fmedlin/2c2e7b4e5eb538799c8b378aa9cba9db to your computer and use it in GitHub Desktop.
ClickHandler.handleClick(
view.findViewById(R.id.about_privacy),
Html.fromHtml(String.format(
getResources().getString(R.string.link_privacy),
"<u><span style=\"color:#",
colorLink,
"\">",
"</span></u>")),
v -> browseOrToastOnError(view.getContext(), URL_PRIVACY)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment