OSDN Git Service

Fix layout error during mode switch
authorDoris Liu <tianliu@google.com>
Thu, 3 Apr 2014 22:59:00 +0000 (15:59 -0700)
committerDoris Liu <tianliu@google.com>
Fri, 4 Apr 2014 00:03:31 +0000 (17:03 -0700)
commit76aaa1870d77856c975283392d3a0fea3e1fb7ba
treea0aebe87d584199a8d3c794814ce86c0ce1bc003
parent79dd6876e5f5cb9d2a9d3d0597389811cc73c31f
Fix layout error during mode switch

Cause for the incorrect layout: the two modes have a preview
of the same aspect ratio, and therefore bottom bar did not need to re-layout
after the mode switch and it incidentally skipped adjusting preview position.

Bug: 13210080

Change-Id: Iad722abd682885633885ff0e8d9fba4efb4e5e6a
src/com/android/camera/ui/BottomBar.java