commit | 76dd128627beef2e0516e6742280bd15fc68e59f | [log] [tgz] |
---|---|---|
author | Frank Sposaro <sposaro@google.com> | Fri Jun 24 11:09:04 2011 -0700 |
committer | Frank Sposaro <sposaro@google.com> | Fri Jun 24 11:09:04 2011 -0700 |
tree | 5ab5a79de37b56ab0b5cdb114da90cf648b83354 | |
parent | 350e8d53a135e0bb62308a93dd09777364c08a58 [diff] |
Added Fix to to check child visibility in InterpolatingLayout. Change-Id: Ia39f7a00764a563d4747e12505ad89894e7fd815
diff --git a/src/com/android/contacts/widget/InterpolatingLayout.java b/src/com/android/contacts/widget/InterpolatingLayout.java index fc67ef5..78785b9 100644 --- a/src/com/android/contacts/widget/InterpolatingLayout.java +++ b/src/com/android/contacts/widget/InterpolatingLayout.java
@@ -283,6 +283,10 @@ for (int i = 0; i < count; i++) { View child = getChildAt(i); + if (child.getVisibility() == View.GONE) { + continue; + } + LayoutParams params = (LayoutParams) child.getLayoutParams(); int gravity = params.gravity; if (gravity == -1) {