library / com.nambimobile.widgets.efab / Label / onTouchEvent

onTouchEvent

fun onTouchEvent(event: MotionEvent?): Boolean

Scales the Label down when pressed, and back up when released. Gives the user some visual feedback to show that the Label was pressed.