You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remove all log
kotlinizing
major cleanup...
kotlinize
kotlinize FrameLayoutWithHole
better kotlin
kotlinize AdjustPaddingOverlayActivity
kotlinize MyApplication
k
better kotlin
kotlinize + bugfix
kotlinize MemoryLeakTestActivity
kotlinize NavDrawerActivity.kt
kotlinize 3 activities
kotlinize remaining files
upgrade gradle plugin
remove unused code
remove unused code
clean up
clean up
remove unused code
remove unused code
Add DSL builder for Pointer
update readme: use github pages + docsify for better documentation
add kotlin badge
Minor README fixed
hide license in README
up major version
add ruby script to update version
update doc
add source jar
remove the unused
remove javadoc, it's not helpful and failing
disable javadoc
try to disable javadoc for kotlin
use local copy of mvn push; remove javadoc generation
change 'compile' to 'implementation'
temp
fix gradle version again
use own maven upload script
fix sources.jar to include kotlin code
TourGuide is an Android library. It lets you add pointer, overlay and tooltip easily, guiding users on how to use your app. Refer to the example below(this is a trivial example for demo purpose):
5
5
6
-
Let's say you have a button on your home screen that you want your users to click on:
Using TourGuide, the end result will look as below. A pointer, overlay and tooltip are added to the page to clearly notify user to tap on the "Get Started" button. Once user tap on the "Get Started" button, the overlay, pointer and tooltip will disappear.
11
-
12
-

13
-
14
-
The reason for having Overlay, Pointer and a Tooltip:
15
-
- Overlay: Darken other UI elements on the screen, so that user can focus on one single UI element.
16
-
- Tooltip: To give a text explanation
17
-
- Pointer: An animated clicking gesture to indicate the clickable UI element
.setToolTip(newToolTip().setTitle("Welcome!").setDescription("Click on Get Started to begin..."))
54
-
.setOverlay(newOverlay())
55
-
.playOn(button);
56
-
```
57
-
-`setPointer()` - This describe how the Pointer will look like, refer to [Pointer Customization Guide](#pointer_customization) on how to change the appearance, `null` can be passed in if a Pointer is not wanted.
58
-
-`setToolTip` - This describe how the ToolTip will look like, refer to [ToolTip Customization Guide](#tooltip_customization) on how to change the appearance, `null` can be passed in if a ToolTip is not wanted.
59
-
-`setOverlay` - This describe how the Overlay will look like, refer to [Overlay Customization Guide](#overlay_customization) on how to change the appearance, `null` can be passed in if an Overlay is not wanted.
60
-
-`with` - Use TourGuide.Technique.Click for the moment, this will be removed in the future.
61
-
-`mTourGuideHandler` - The return type is a handler to be used for clean up purpose.
62
-
63
-
When the user is done, you can dismiss the tutorial by calling:
Tooltip is the box of text that gives further explanation of a UI element. In the basic example above, the ToolTip not customized, so the default style is used. However, you can customize it if you wish to.
Most of the customization methods/parameters are self-explanatory, except `gravity` that deserves a mention. `gravity` is relative to targetted button where TourGuide `playOn()`. For example `.setGravity(Gravity.TOP | Gravity.LEFT)` will produce the following:
Pointer is the round button that is animating to indicate the clickable UI element. The default color is white and the default gravity is center. You can customize it by:
Overlay is the semi-transparent background that is used to cover up other UI elements so that users can take focus on what to click on. The color and shape can be customized by:
-`disableClick(true)` will make elements covered by the overlay to become unclickable. Refer to Overlay Customization Activity in the example.
114
-
-`.setStyle()` Currently only 2 styles are available: `Overlay.Style.Rectangle` and `Overlay.Style.Circle`
115
-
116
-
# Running TourGuide in Sequence
117
-
Running TourGuide in sequence is a very common use case where you want to show a few buttons in a row instead of just one. Running in sequence can be subdivided into 2 use cases:
118
-
119
-
- Case 1: When you want user to click on the button itself to proceed to next TourGuide
120
-
- Refer to [ManualSequenceActivity.java in the demo](https://github.com/worker8/TourGuide/blob/master/app/src/main/java/tourguide/tourguidedemo/ManualSequenceActivity.java)
- Case 2: When you don't want user to actually click on the button itself, but the Overlay to proceed to next TourGuide
125
-
- Refer to [OverlaySequenceTourActivity.java in the demo](https://github.com/worker8/TourGuide/blob/master/app/src/main/java/tourguide/tourguidedemo/OverlaySequenceTourActivity.java)
[Refer to The Roadmap for tentative plans of TourGuide](https://github.com/worker8/TourGuide/wiki/Roadmap)
138
-
139
-
# Limitations
140
-
[Features that are commonly asked for, but is still not working goes under Limitations](https://github.com/worker8/TourGuide/wiki/Limitations)
141
-
142
-
# Contributing
143
-
You are very welcome to contribute to this project!
144
-
145
-
Before sending pull request, have a look at this: [Contributing Guidelines](https://github.com/worker8/TourGuide/wiki/Contributing-Guidelines)
146
-
147
-
Refer to [The Roadmap](https://github.com/worker8/TourGuide/wiki/Roadmap) if you're interested in developing a new feature or write some tests for TourGuide.
9
+
http://worker8.github.io/TourGuide/
148
10
149
11
# License
150
-
12
+
<details>
13
+
<summary>
14
+
click to reveal License
15
+
</summary>
16
+
151
17
The MIT License (MIT)
152
18
153
19
Copyright (c) 2016 Tan Jun Rong
@@ -170,3 +36,5 @@ Refer to [The Roadmap](https://github.com/worker8/TourGuide/wiki/Roadmap) if you
170
36
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0 commit comments