Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Android have a property like clipsToBounds on iOS? [closed]

Tags:

android

ios

Does Android have a property like clipsToBounds on iOS; used to display the sub view outside the bounds of the parent view?

like image 750
andy Avatar asked Jan 06 '14 09:01

andy


1 Answers

I think setClipChildren is what you are looking for. See the documentation here :

http://developer.android.com/reference/android/view/ViewGroup.html#setClipChildren(boolean)

like image 55
Andros Avatar answered Sep 21 '22 19:09

Andros