summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-03-03 14:03:08 -0800
committerJay Shrauner <shrauner@google.com>2014-03-05 17:22:07 +0000
commit7146ee819bf80e217b460f3b890df1a49b233109 (patch)
tree4ec16a87a7ef833525f1c70e9d61a7d3212c4a73 /res
parent3eb8215a6eec86fded189a16ac7f7d60a00d38bc (diff)
downloadandroid_packages_apps_Dialer-7146ee819bf80e217b460f3b890df1a49b233109.tar.gz
android_packages_apps_Dialer-7146ee819bf80e217b460f3b890df1a49b233109.tar.bz2
android_packages_apps_Dialer-7146ee819bf80e217b460f3b890df1a49b233109.zip
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 (cherry picked from commit 94f490466f2b7f4d9d19c4628a56442ccf8a6adf)
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"