showTextAndExtend
fun showTextAndExtend(duration: Long, text: String = context.getString(R.string.mapbox_recenter))
Content copied to clipboard
Invoke the function to show optional text associated with the view.
Parameters
duration
for the view to be in the extended mode before it starts to shrink.
text
for the view to show in the extended mode.