Rahul Verma
Rahul Verma

Reputation: 2150

SwipeToDismiss works only on Buttons?

I am Using SwipeDismissTouchListener in my Code but it seams to work only for buttons , not for TextView, RelativeLayout etc.

How to use it for other View Types?

Upvotes: 0

Views: 670

Answers (1)

Rahul Verma
Rahul Verma

Reputation: 2150

Got the Solution :)

It works for all views required they should have an onClickListener implemented. Buttons tend to have that by default :)

Upvotes: 2

Related Questions