aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabrielemariotti <gabri.mariotti@gmail.com>2014-03-20 17:00:27 +0100
committerLars Greiss <kufikugel@googlemail.com>2014-04-10 23:51:04 +0200
commit9ea584d24b34e5cefd178a2f4e15032757e4f337 (patch)
tree47e046869ef1d42aa99d61856fd4af0462b5e779
parent49d88459ea1c77136e9d468ba1dd944129673808 (diff)
LIB: Fixed Overflow animation button
-rw-r--r--src/com/android/cards/view/component/CardHeaderView.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/cards/view/component/CardHeaderView.java b/src/com/android/cards/view/component/CardHeaderView.java
index c9c3729..f409063 100644
--- a/src/com/android/cards/view/component/CardHeaderView.java
+++ b/src/com/android/cards/view/component/CardHeaderView.java
@@ -423,7 +423,9 @@ public class CardHeaderView extends FrameLayout implements CardViewInterface {
}
});
} else {
- mImageButtonOverflow.setVisibility(GONE);
+ if (mCardHeader.getCustomOverflowAnimation()==null) {
+ mImageButtonOverflow.setVisibility(GONE);
+ }
}
} else {