OSDN Git Service

Fixed misplacement of cancel(X) button for Face Unlock
authorBrian Colonna <bcolonna@google.com>
Tue, 30 Oct 2012 22:34:39 +0000 (18:34 -0400)
committerBrian Colonna <bcolonna@google.com>
Tue, 30 Oct 2012 22:34:39 +0000 (18:34 -0400)
commitddbf138d11d9ad4fa9ec871b2fc5862dad20f02c
tree2ec400ec5be1fcaf72d134aacc50fc464411be4a
parent68d257d788f5154922cd605ab8079a5c0815dffc
Fixed misplacement of cancel(X) button for Face Unlock

Before the FUL service started, the FUL cancel button was positioned
off of the right side of the window.  This was because the
FaceUnlockView (derived from RelativeLayout) was calling
super.onMeasure() incorrectly, preventing it from using the new
'square' size when laying out child views.

Change-Id: I2f1e86617da5c8f37123febab2e433288bdea062
core/java/com/android/internal/widget/FaceUnlockView.java