I suspect your problem is that you need to set the android:clipChildren in the parent ViewGroup .
Quoting ViewGroup documentation for android:clipChildren :
Determines whether the child is limited to drawing within its borders or not. This is useful for animations that scale the size of children to over 100%, for example. In this case, this property should be set to false so that children can draw outside their borders. The default value of this property is true.
So, add android:clipChildren="false" to the XML layout or call the ViewGroup method setClipChildren if you programmatically create an interface.
source share