0

So, I've a layout hierarchy like this:

LinearLayout
|-TextView

TextView has unbound RippleDrawable(i.e. with no mask) set as a background, however, it gets clipped by LinearLayout that contains this TextView. Are there any methods to alter this behavior, so RippleDrawable will not be clipped by LinearLayout?

PriyankaChauhan
  • 953
  • 11
  • 26

1 Answers1

1

Change its background to null or transparent android:background="null" or android:background="@android:color/transparent"

Deep Dave
  • 159
  • 1
  • 8