From 3aa2e2b3ab21fda7045fbe2bb142e7a6830340e5 Mon Sep 17 00:00:00 2001 From: Svetoslav Date: Thu, 10 Oct 2013 16:46:06 -0700 Subject: Fixing jank when transition from print dialog to generating one. Initially we show the print dialog and when the user presses print we show a generating dialog with an indefinite spinner and a cancel button. The transition between the two UIs which are really different layouts show in the print activity is animated. In the middle of the animation from print to generating UI there was a jump of the content and an undesired window animation kicking in. This is a side effect of changing the activity to floating so now changing the container size was causing window resize and hence animation. Fun! bug:10983508 Change-Id: I7d88e073c55863b945cdb50822401592f32d44c3 --- .../res/layout/print_job_config_activity_container.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'packages/PrintSpooler/res') diff --git a/packages/PrintSpooler/res/layout/print_job_config_activity_container.xml b/packages/PrintSpooler/res/layout/print_job_config_activity_container.xml index 98b5cfe..d503216 100644 --- a/packages/PrintSpooler/res/layout/print_job_config_activity_container.xml +++ b/packages/PrintSpooler/res/layout/print_job_config_activity_container.xml @@ -15,9 +15,12 @@ --> + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + -- cgit v1.1