Giter Site home page Giter Site logo

Comments (4)

worker8 avatar worker8 commented on August 21, 2024

@defaultbr thanks for writing up, glad that you like it!

sorry the silly question, i know how to add the next button to the layout, but it get "darker", thats because the overlay color to make a "disabled screen" and give lighting to where the pointer is. How can i make the button above/below the tooltip or another position but without getting dark, i tried adding another tourguide just to the button, but it add another "darker" to all the layout making the white pointer a little gray..

Are you trying to use TourGuide on 2 buttons, but 1 of the Pointer is covered up by the Overlay of another TourGuide, like this shown below?
Is it like this?

If that's not the case, can you attached a screenshot? I think that'll definitely help 👍

or is there another "good" approach for handling the tooltip in sequence and i dont know?

There are currently no better approach to handle tooltip in sequence. :( The only way now is to create a new TourGuide for every button. It's much better to use 1 single mTourGuideHandler throughout a tour. It's in the Roadmap as a future improvement.

android:icon="myicon"is also present at com.github.worker8:tourguide:1.0.10-SNAPSHOT:13:9 value=(@drawable/ic_launcher1)

I've heard other users reporting this too, but I couldn't reproduce it. I'm trying to find out what's wrong, do you have a drawable called ic_launcher1 in your project? I might just rename it to something else.

Your last point

Currently there is no better way to handle through TourGuide, so what you're doing is needed. I will improve this when I have time.

from tourguide.

MHDante avatar MHDante commented on August 21, 2024

As a temporary fix for the Icon problem, add the following line to your Manifest in the <manifest>tag:

xmlns:tools="http://schemas.android.com/tools"

Then add the following to the <application> tag:

tools:replace="android:icon"

then re-build your app.

from tourguide.

defaultbr avatar defaultbr commented on August 21, 2024

@worker8 yes, exactly like the image you posted:

https://camo.githubusercontent.com/4355d5d11e92c21ae63b9803fed4bc63f093f2f8/687474703a2f2f692e696d6775722e636f6d2f663544694c4e782e706e67

the pointer to the Top Guy got a overlay from the Bottom guy, or vice-versa imagining that the bottom guy should be the next button...

if you accept as an idea, tour.addTour(new TourGuide....), tour.nextTour() and tour.isLastTour() would be very helpfull, thanksss =)

and about the icon, no matter the name of the icon, i tried a several names, the problem is the tag android:icon, i think you need to remove the tag from the TourGuide, so it will automatically use the only one from user manifest, or we can use the android:replace like MHDante said

@MHDante lol, thank you so much, i really tried that before and dont worked, now it worked o0!! thanks

from tourguide.

worker8 avatar worker8 commented on August 21, 2024

The icon issue should be fixed and merged into the latest master. Regarding the next tour feature, it's a good idea! It's currently under development by @aaronliew in this pull request.

I will close this issue and the tracking/discussion of the development of running in sequence feature will go under the pull request page. And I added a to the todo list here for setFirstTimeUser() feature.

from tourguide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.