GithubHelp home page GithubHelp logo

dynamic-tooltip's Introduction

Dynamic Tooltip

Dynamic Tooltip is a mobile application that provides in-app nudges in the form of tooltips to guide users through various features. Tooltips are rendered with dynamic positioning, style, and text on the target element.

Design

The design for the mobile screen and tooltip component can be found in this Figma file.

Screenshots

1. Customize tooltip properties

da30b4cc-2862-4927-ae8d-ff5430c8b597

2. Tooltip testing

f469951e-f5a1-4463-a07b-17378710a703 dcb41982-98f6-40e3-86d9-2e963b06db7f 82e05fc3-efa2-4e70-a88e-c1d6093fc60b 8a081f4b-0753-4e27-b019-2228fd8cf30b f4507b1d-2ce5-472d-9b92-22b797b2afab

Features

  1. Tooltip Configuration

    • Ability to set the target element, style, and text of the tooltip.
    • Options to include an image inside the tooltip.
    • Styling inputs provided on the configuration screen for customization.
  2. Mobile Screen Preview

    • A preview of a mobile screen with button elements.
    • Buttons act as the target elements for rendering the tooltips.
  3. Dynamic Tooltip Rendering

    • The tooltip component is built and positioned without using any additional library.
    • Seamless functionality for buttons at any location on the mobile screen.
  4. Tooltip Image Support

    • The ability to include images inside the tooltips.
    • Supports various image formats such as PNG and JPEG.
    • Images can be fetched from URL.

Implementation Details

The mobile application is built using the following technologies and libraries:

  • Data Binding
  • Fragment
  • Glide
  • Binding Adapter
  • View Binding
  • Room
  • Coroutines
  • ViewModel
  • LiveData

Setup and Configuration

  1. Clone the project repository from repository link.
  2. Open the project in Android Studio.
  3. Ensure the required dependencies are installed and up to date.
  4. Build and run the project on an Android emulator or physical device.

Download APK

You can download the latest APK of the application from this Google Drive link. The APK size is approximately 7.3 MB.

Usage

  1. Launch the mobile application.
  2. On the main screen, explore the mobile screen preview with various buttons.
  3. Tap on the "Render Tooltip" button to access the tooltip editor screen.
  4. Set the target element, position, style, and text for the tooltip.
  5. Optionally, include an image inside the tooltip.
  6. Save the configuration.
  7. Return to the mobile screen preview and interact with the target element to trigger the tooltip.
  8. The tooltip will be rendered based on the configured parameters.

This project implements dynamic tooltips in a mobile app, utilizing Room Database for data storage. If you have any feedback or suggestions, please don't hesitate to let me know.

Happy coding!

dynamic-tooltip's People

Contributors

ankit-jailwal avatar

Stargazers

Abhay Saini avatar

Watchers

 avatar

Forkers

rajat-plotline

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.