From 1896344b53ddf6cdaf17dc02a05c45f587879d99 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 6 Jun 2014 17:20:13 -0700 Subject: Revise remove view target positioning. - Move placement from dialtacts activity layout to the lists fragment, so that it can be positioned over the tab bar. - Relocate references to RemoveView/RemoveViewContainer to the lists fragment from the activity class. - Set colors using tints, remove old highlight state asset. - Fade out search bar and recent card when dragging. Bug: 15434489 Change-Id: I49205c79aeb008a30efc3c2ea417b8836444e203 --- src/com/android/dialer/widget/ActionBarController.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/com/android/dialer/widget') diff --git a/src/com/android/dialer/widget/ActionBarController.java b/src/com/android/dialer/widget/ActionBarController.java index 67037a28b..0e94df498 100644 --- a/src/com/android/dialer/widget/ActionBarController.java +++ b/src/com/android/dialer/widget/ActionBarController.java @@ -187,6 +187,10 @@ public class ActionBarController { mIsActionBarSlidUp = false; } + public void setAlpha(float alphaValue) { + mSearchBox.animate().alpha(alphaValue).start(); + } + /** * Saves the current state of the action bar into a provided {@link Bundle} */ -- cgit v1.2.3