diff options
| author | 2011-09-27 17:38:22 -0400 | |
|---|---|---|
| committer | 2011-09-27 17:38:22 -0400 | |
| commit | 982813c3df78e4cca112b48e399e9f11de13e0fe (patch) | |
| tree | 60794f9443484634334373d8448635e1e39c3fa7 | |
| parent | 267cb2b284626f910cf64352bfc494d0f8d3dc42 (diff) | |
Added landscape views for Face Unlock
- Uses grid view to cover PIN/pattern area in the same way it does
for potrait layouts
Change-Id: I64672f3052c136901850baf73c8242930df7a64f
| -rw-r--r-- | core/res/res/layout/keyguard_screen_password_landscape.xml | 13 | ||||
| -rw-r--r-- | core/res/res/layout/keyguard_screen_unlock_landscape.xml | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/core/res/res/layout/keyguard_screen_password_landscape.xml b/core/res/res/layout/keyguard_screen_password_landscape.xml index 3343d8b51291..8bc5f34a84a6 100644 --- a/core/res/res/layout/keyguard_screen_password_landscape.xml +++ b/core/res/res/layout/keyguard_screen_password_landscape.xml @@ -191,4 +191,17 @@ android:layout_height="0dip" /> + <!-- Area to overlay FaceLock --> + <TextView android:id="@+id/faceLockAreaView" + android:visibility="gone" + android:layout_row="0" + android:layout_column="2" + android:layout_rowSpan="8" + android:layout_columnSpan="1" + android:layout_gravity="fill" + android:layout_width="0dip" + android:layout_height="0dip" + android:background="@color/facelock_color_background" + /> + </GridLayout> diff --git a/core/res/res/layout/keyguard_screen_unlock_landscape.xml b/core/res/res/layout/keyguard_screen_unlock_landscape.xml index d71dbffd8f9d..2778f4e8446d 100644 --- a/core/res/res/layout/keyguard_screen_unlock_landscape.xml +++ b/core/res/res/layout/keyguard_screen_unlock_landscape.xml @@ -160,4 +160,18 @@ android:layout_height="0dip" /> + <!-- Area to overlay FaceLock --> + <TextView android:id="@+id/faceLockAreaView" + android:visibility="gone" + android:layout_row="0" + android:layout_column="1" + android:layout_rowSpan="7" + android:layout_columnSpan="1" + android:layout_gravity="fill" + android:layout_marginLeft="8dip" + android:layout_width="0dip" + android:layout_height="0dip" + android:background="@color/facelock_color_background" + /> + </GridLayout> |