summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/widget
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-06-06 17:20:13 -0700
committerAndrew Lee <anwlee@google.com>2014-06-09 10:44:12 -0700
commit1896344b53ddf6cdaf17dc02a05c45f587879d99 (patch)
treed39c45de7056a3e43c6ed29194ef3bf67667156a /src/com/android/dialer/widget
parent97c57ccec07ac91bacb71699b10dcdd24b750c3c (diff)
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
Diffstat (limited to 'src/com/android/dialer/widget')
-rw-r--r--src/com/android/dialer/widget/ActionBarController.java4
1 files changed, 4 insertions, 0 deletions
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}
*/