question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Toolbar icons disappear

See original GitHub issue
  • I have verified the issue exists on the latest version
  • I am able to reproduce it

Version used: 1.8.0 Android version: 6.0.1

I use “TapTargetSequence” with 2 “TapTarget.forBounds”, in this 2 i have the same icon of my toolbar. When the TapTarget finish or is canceled my toolbar icons disappear

Code: ` private void firstTime() {

    Display display = getActivity().getWindowManager().getDefaultDisplay();
    Point size = new Point();
    display.getSize(size);
    Rect rectInfo = new Rect((size.x - 100), 0, (size.x - 50), (size.y / 6));
    Rect rectUpdate = new Rect((size.x - 200), 0, (size.x - 150), (size.y / 6));

    new TapTargetSequence(getActivity())
            .targets(
                    TapTarget.forBounds(
                            rectInfo, "Legenda", "Identifica as cores dos materiais")
                            .outerCircleColor(R.color.azul)
                            .targetCircleColor(R.color.branco)
                            .titleTextSize(30)
                            .descriptionTextSize(15)
                            .textColor(R.color.preto)
                            .textTypeface(Typeface.SANS_SERIF)
                            .drawShadow(true)
                            .cancelable(false)
                            .tintTarget(false)
                            .transparentTarget(false)
                            .icon(getResources().getDrawable(R.drawable.ic_help_outline_black_24dp))
                            .targetRadius(60).id(1),

                    TapTarget.forBounds(
                            rectUpdate, "Recarregar", "Refazer Validação de Materiais")
                            .outerCircleColor(R.color.azul)
                            .targetCircleColor(R.color.branco)
                            .titleTextSize(30)
                            .descriptionTextSize(15)
                            .textColor(R.color.preto)
                            .textTypeface(Typeface.SANS_SERIF)
                            .drawShadow(true)
                            .cancelable(false)
                            .tintTarget(false)
                            .transparentTarget(false)
                            .icon(getResources().getDrawable(R.drawable.reload))
                            .targetRadius(60).id(2)
            ).start();
}`

Screen after “TapTargetSequence” appear: image

Screen without “TapTargetSequence” appear: image

What wrong did i do?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
Rainer-Langcommented, Jun 16, 2017

I “was” using: icon(...) transparentTarget(false)

Changed it to: NO icon(...) and transparentTarget(true) -> and now it’s working.

I think it’s the transparentTarget(false)

0reactions
Rainer-Langcommented, Jun 20, 2017

@xiphirx Could you have a look here? Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Taskbar icons Missing or Disappeared in Windows 10
Taskbar Icons Missing in Windows 10 ; Open Settings and click on the System icon. System Settings Option in Windows ; On the...
Read more >
All the icons on my taskbar have disappeared.
1. Unhide the taskbar on your desktop. If you don't see the taskbar on your desktop, probably it's hidden. · 2. Repopulate the...
Read more >
How To Fix Taskbar Icons Missing / Disappear In Windows 10
How To Fix Taskbar Icons Missing / Disappear In Windows 10 ; 1. Press CTRL + Shift + Esc key together to Open...
Read more >
Top 9 Solutions to Windows 10 Taskbar Icons Missing - MiniTool
The Taskbar icons disappeared issue may be caused by a lot of reasons, such as problematic Windows Explorers, IconCache, corrupt system files, ...
Read more >
Taskbar Icons Missing on Windows 11? Here are 6 Easy Fixes!
Fix Taskbar Icons Missing on Windows 11 Issue (2022) · 1. Restart Windows Explorer · 2. Delete the IconCache.db File · 3. Delete...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found