summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-03-03 14:03:08 -0800
committerYorke Lee <yorkelee@google.com>2014-03-03 14:34:44 -0800
commit94f490466f2b7f4d9d19c4628a56442ccf8a6adf (patch)
tree715138096555999df67e23b026c162dfed7254cd /res
parent735bc040c07b905266f7619b292bfa3bd638acd5 (diff)
Fix slight screen jank when sliding dialpad upwards
Apply the translation animation to mSearchAndRemoveViewContainer (which houses the entire searchbox and its margins), so that the translation takes into account the entire height of the searchbox as well as its margins. Also refactored hideSearchBar slightly to remove an unused codepath. Bug: 13284310 Change-Id: I7b8873154059f616d8a52c4a0239ea6be89c8efc
Diffstat (limited to 'res')
-rw-r--r--res/layout/dialtacts_activity.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml
index 21f84bbfa..8f9f39cd2 100644
--- a/res/layout/dialtacts_activity.xml
+++ b/res/layout/dialtacts_activity.xml
@@ -39,6 +39,7 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:id="@+id/search_and_remove_view_container"
>
<LinearLayout
android:layout_width="match_parent"