code: private void showSignUpTermsDialog(@Nullable DialogInterface.OnClickListener acceptCallback) {
          final String content = getResources().getString(R.string.com_auth0_lock_sign_up_terms_dialog_message, configuration.getTermsURL(), configuration.getPrivacyURL());
          final AlertDialog.Builder builder = new AlertDialog.Builder(getContext())
                  .setTitle(getResources().getString(R.string.com_auth0_lock_sign_up_terms_dialog_title))
                  .setPositiveButton(R.string.com_auth0_lock_action_ok, null)
                  .setMessage(Html.fromHtml(content));
          if (acceptCallback != null) {
              builder.setNegativeButton(R.string.com_auth0_lock_action_cancel, null)
                      .setPositiveButton(R.string.com_auth0_lock_action_accept, acceptCallback)
                      .setCancelable(false);
          }
  
          //the dialog needs to be shown before we can get it's view.
          final TextView message = (TextView) builder.show().findViewById(android.R.id.message);
          if (message != null) {
              message.setMovementMethod(LinkMovementMethod.getInstance());
          }
      }
docs: Create a dialog to show the Privacy Policy and Terms of Service text.
  If the provided callback it's not null, it will ask for acceptance.
  
  @param acceptCallback the callback to receive the acceptance. Can be null.