简体   繁体   中英

How to guide a User To click on a View?

I would like to guide a user of my app to click on a specific setting in my settings activity (not click automatically).
I've seen apps where the view gets the translucent ripple animation when the activity/fragment is opened to guide the user to Click on that item/view. In My case,

AlertDialog.Builder(this)
            .setTitle("Complete Sign Up")
            .setMessage("Please Enter Additional Details To complete Sign Up")
            .setPositiveButton("Take Me There") { dialog, whichButton ->
                   val settingsAlertIntent=Intent(this, SettingsActivity::class.java)
                   this.startActivity(settingsAlertIntent)
            }.setNegativeButton("I'll Do it later"){ dialog, whichButton ->
                   dialog.cancel()
            }
            .show()

After The Settings Intent is opened, I'd Like to show a ripple animation of some sort to guide the user to click on a view in the settings activity.

My idea was to get a background tint which was translucent and reset after a handler finishes,but seems to be a bad implementation.

There are plenty of libraries which you can use to show actions and their description on your views. We call it as Showcase of the views.

I am listing some of the libraries that you can use to fulfill your requirements.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM