From fa8c2a4781793c17c0cebce6c929f32242fe88c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timi=20Rautam=C3=A4ki?= Date: Thu, 8 Jul 2021 19:20:03 +0200 Subject: Dialer: correct the expanded search bar height This causes the expand animation to be choppy first time Test: make Dialer, verify the animation no longer shifts the view first time the animation is played. Change-Id: Ia72b38ab39f19c2518385d6a858dc2fd194bbb55 --- .../android/dialer/main/impl/toolbar/res/layout/expanded_search_bar.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java') diff --git a/java/com/android/dialer/main/impl/toolbar/res/layout/expanded_search_bar.xml b/java/com/android/dialer/main/impl/toolbar/res/layout/expanded_search_bar.xml index e5b72f233..a7b3aebd2 100644 --- a/java/com/android/dialer/main/impl/toolbar/res/layout/expanded_search_bar.xml +++ b/java/com/android/dialer/main/impl/toolbar/res/layout/expanded_search_bar.xml @@ -17,7 +17,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/search_box_expanded" android:layout_width="match_parent" - android:layout_height="@dimen/expanded_search_bar_height" + android:layout_height="@dimen/collapsed_search_bar_height" android:visibility="invisible">