OSDN Git Service

Ensure ZoomView appears on top of other views in L
authorAlan Newberger <alann@google.com>
Sat, 30 Aug 2014 00:34:48 +0000 (17:34 -0700)
committerAlan Newberger <alann@google.com>
Sat, 30 Aug 2014 00:34:48 +0000 (17:34 -0700)
commitb9535998da7a02f22156b70615c3e211401d14b0
treea8dff8462f743a53e04d38e0df68e7d952b071e2
parent68c25ac5373126670cb6c2324e40537bb47e72d9
Ensure ZoomView appears on top of other views in L

Since our normal image view now has an elevation on L, just calling
bringChildToFront() is not enough, elevation supersedes z order.
So we also ensure the ZoomView is at max elevation when we bring it
to front.

Bug: 17331586
Change-Id: I34b06949d063daa08d964003b28a245eb6133f95
src/com/android/camera/ui/ZoomView.java
src/com/android/camera/widget/FilmstripView.java