commit | 8deb856a6322a64788eff535aa182d42aeca4052 | [log] [tgz] |
---|---|---|
author | Andrew Lee <anwlee@google.com> | Wed May 07 13:29:19 2014 -0700 |
committer | Andrew Lee <anwlee@google.com> | Wed May 07 13:29:21 2014 -0700 |
tree | bd1fbf584e1b8cbd7895101925405c2a8115fe9f | |
parent | f1e9d52080fef9f46e8d60f0780664fcb763b025 [diff] |
Add function for animating dialpad hide. Bug: 14471388 Change-Id: If854c8487801ee1bb93b31ae05d68daa0fa498bc
diff --git a/src/com/android/contacts/common/dialpad/DialpadView.java b/src/com/android/contacts/common/dialpad/DialpadView.java index eefaaa4..1dade57 100644 --- a/src/com/android/contacts/common/dialpad/DialpadView.java +++ b/src/com/android/contacts/common/dialpad/DialpadView.java
@@ -173,6 +173,11 @@ animate().alpha(1.0f).setDuration(KEY_FRAME_DURATION * 20); } + public void animateHide() { + setAlpha(1.0f); + animate().alpha(0).setDuration(KEY_FRAME_DURATION * 13); + } + public EditText getDigits() { return mDigits; }