Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 **
      4 ** Copyright 2012, The Android Open Source Project
      5 **
      6 ** Licensed under the Apache License, Version 2.0 (the "License")
      7 ** you may not use this file except in compliance with the License.
      8 ** You may obtain a copy of the License at
      9 **
     10 **     http://www.apache.org/licenses/LICENSE-2.0
     11 **
     12 ** Unless required by applicable law or agreed to in writing, software
     13 ** distributed under the License is distributed on an "AS IS" BASIS,
     14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15 ** See the License for the specific language governing permissions and
     16 ** limitations under the License.
     17 */
     18 -->
     19 
     20 <!-- This is the selector widget that allows the user to select an action. -->
     21 <com.android.keyguard.KeyguardSelectorView
     22     xmlns:android="http://schemas.android.com/apk/res/android"
     23     xmlns:androidprv="http://schemas.android.com/apk/res/com.android.keyguard"
     24     android:id="@+id/keyguard_selector_view"
     25     android:layout_width="match_parent"
     26     android:layout_height="match_parent"
     27     androidprv:layout_maxWidth="420dp"
     28     androidprv:layout_maxHeight="@dimen/keyguard_security_height"
     29     android:clipChildren="false"
     30     android:clipToPadding="false"
     31     android:orientation="vertical"
     32     android:contentDescription="@string/keyguard_accessibility_slide_unlock">
     33 
     34     <FrameLayout
     35         android:layout_width="match_parent"
     36         android:layout_height="match_parent"
     37         android:layout_gravity="center"
     38         android:clipChildren="false"
     39         android:clipToPadding="false"
     40         android:gravity="center">
     41 
     42         <include layout="@layout/keyguard_message_area"
     43             android:layout_width="match_parent"
     44             android:layout_height="wrap_content" />
     45 
     46         <View
     47             android:id="@+id/keyguard_selector_view_frame"
     48             android:layout_width="match_parent"
     49             android:layout_height="match_parent"
     50             android:layout_marginLeft="16dp"
     51             android:layout_marginRight="16dp"
     52             android:background="@drawable/kg_bouncer_bg_white"/>
     53 
     54         <include layout="@layout/keyguard_glow_pad_container" />
     55 
     56         <include layout="@layout/keyguard_eca"
     57             android:id="@+id/keyguard_selector_fade_container"
     58             android:layout_width="match_parent"
     59             android:layout_height="48dp"
     60             android:layout_gravity="bottom|center_horizontal" />
     61     </FrameLayout>
     62 
     63 </com.android.keyguard.KeyguardSelectorView>
     64 
     65