Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use an icon for target #44

Closed
checklist opened this issue Feb 13, 2017 · 1 comment
Closed

Do not use an icon for target #44

checklist opened this issue Feb 13, 2017 · 1 comment

Comments

@checklist
Copy link

checklist commented Feb 13, 2017

Great job! Really like your implementation!

I would like to target some text area on the screen but do not use an icon there. Is there a way to target an area without using an icon? If I do not specify an icon I simply get a white space there. It should be transparent. I tried the following but did not seem to work:

tapTargetPromptBuilder.setIconDrawableColourFilter(activity.getResources().getColor(R.color.transparent));
and colors.xml:

<color name="transparent">#00000000</color>

I am trying out the library. Maybe I am missing something?

Thanx!

@checklist checklist changed the title Do not use an icon Do not use an icon for target Feb 13, 2017
@sjwall
Copy link
Owner

sjwall commented Feb 14, 2017

You can use any view as a target using setTarget. The library does not currently support fully transparent colours

@sjwall sjwall closed this as completed Feb 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants