Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2014 The Android Open Source Project
      4   ~
      5   ~ Licensed under the Apache License, Version 2.0 (the "License");
      6   ~ you may not use this file except in compliance with the License.
      7   ~ You may obtain a copy of the License at
      8   ~
      9   ~      http://www.apache.org/licenses/LICENSE-2.0
     10   ~
     11   ~ Unless required by applicable law or agreed to in writing, software
     12   ~ distributed under the License is distributed on an "AS IS" BASIS,
     13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   ~ See the License for the specific language governing permissions and
     15   ~ limitations under the License
     16   -->
     17 
     18 <com.android.systemui.statusbar.phone.KeyguardBottomAreaView
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
     21     android:id="@+id/keyguard_bottom_area"
     22     android:layout_height="match_parent"
     23     android:layout_width="match_parent"
     24     >
     25 
     26     <com.android.systemui.statusbar.phone.KeyguardIndicationTextView
     27         android:id="@+id/keyguard_indication_text"
     28         android:layout_width="wrap_content"
     29         android:layout_height="wrap_content"
     30         android:layout_marginBottom="@dimen/keyguard_indication_margin_bottom"
     31         android:layout_gravity="bottom|center_horizontal"
     32         android:textStyle="italic"
     33         android:textColor="#ffffff"
     34         android:textAppearance="?android:attr/textAppearanceSmall" />
     35 
     36     <FrameLayout
     37         android:id="@+id/preview_container"
     38         android:layout_width="match_parent"
     39         android:layout_height="match_parent">
     40     </FrameLayout>
     41 
     42     <com.android.systemui.statusbar.KeyguardAffordanceView
     43         android:id="@+id/camera_button"
     44         android:layout_height="@dimen/keyguard_affordance_height"
     45         android:layout_width="@dimen/keyguard_affordance_width"
     46         android:layout_gravity="bottom|end"
     47         android:tint="#ffffffff"
     48         android:src="@drawable/ic_camera_alt_24dp"
     49         android:scaleType="center"
     50         android:contentDescription="@string/accessibility_camera_button" />
     51 
     52     <com.android.systemui.statusbar.KeyguardAffordanceView
     53         android:id="@+id/phone_button"
     54         android:layout_height="@dimen/keyguard_affordance_height"
     55         android:layout_width="@dimen/keyguard_affordance_width"
     56         android:layout_gravity="bottom|start"
     57         android:tint="#ffffffff"
     58         android:src="@drawable/ic_phone_24dp"
     59         android:scaleType="center"
     60         android:contentDescription="@string/accessibility_phone_button" />
     61 
     62     <com.android.systemui.statusbar.KeyguardAffordanceView
     63         android:id="@+id/lock_icon"
     64         android:layout_width="@dimen/keyguard_affordance_width"
     65         android:layout_height="@dimen/keyguard_affordance_height"
     66         android:layout_gravity="bottom|center_horizontal"
     67         android:src="@drawable/ic_lock_24dp"
     68         android:scaleType="center"
     69         android:tint="#ffffffff"
     70         android:contentDescription="@string/accessibility_unlock_button" />
     71 
     72 </com.android.systemui.statusbar.phone.KeyguardBottomAreaView>
     73