keyguard_screen_tab_unlock.xml revision c9a0d7dfda78def90a615504cb56445c4904424c
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3** 4** Copyright 2009, 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 general lock screen which shows information about the 21 state of the device, as well as instructions on how to get past it 22 depending on the state of the device. It is the same for landscape 23 and portrait.--> 24<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 25 xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock" 26 android:layout_width="match_parent" 27 android:layout_height="match_parent" 28 android:orientation="vertical" 29 android:id="@+id/root"> 30 31 <!-- top: status --> 32 <RelativeLayout 33 android:layout_width="match_parent" 34 android:layout_height="0dip" 35 android:layout_weight="1" 36 android:orientation="vertical"> 37 <include layout="@layout/keyguard_screen_status_port" 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" 40 android:layout_marginTop="134dip" 41 android:layout_marginLeft="266dip"/> 42 </RelativeLayout> 43 44 <LinearLayout 45 android:layout_width="match_parent" 46 android:layout_height="0dip" 47 android:layout_weight="1" 48 android:orientation="vertical"> 49 50 <TextView 51 android:id="@+id/screenLocked" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:layout_marginLeft="24dip" 55 android:textAppearance="?android:attr/textAppearanceMedium" 56 android:layout_marginTop="12dip" 57 android:drawablePadding="4dip" 58 /> 59 60 <com.android.internal.widget.multiwaveview.MultiWaveView 61 android:id="@+id/unlock_widget" 62 android:orientation="horizontal" 63 android:layout_width="match_parent" 64 android:layout_height="match_parent" 65 android:layout_alignParentBottom="true" 66 android:layout_gravity="center" 67 68 android:targetDrawables="@array/lockscreen_targets_with_camera" 69 android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" 70 android:directionDescriptions="@array/lockscreen_direction_descriptions" 71 android:handleDrawable="@drawable/ic_lockscreen_handle" 72 android:waveDrawable="@drawable/ic_lockscreen_outerring" 73 android:outerRadius="@dimen/multiwaveview_target_placement_radius" 74 android:snapMargin="@dimen/multiwaveview_snap_margin" 75 android:hitRadius="@dimen/multiwaveview_hit_radius" 76 android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" 77 android:horizontalOffset="0dip" 78 android:verticalOffset="60dip" 79 android:feedbackCount="3" 80 android:vibrationDuration="20" 81 /> 82 83 <!-- emergency call button shown when sim is PUKd and tab_selector is hidden --> 84 <Button 85 android:id="@+id/emergencyCallButton" 86 android:layout_width="wrap_content" 87 android:layout_height="wrap_content" 88 android:drawableLeft="@drawable/ic_emergency" 89 android:layout_centerInParent="true" 90 android:layout_alignParentBottom="true" 91 android:layout_marginBottom="90dip" 92 style="@style/Widget.Button.Transparent" 93 android:drawablePadding="8dip" 94 android:visibility="gone" 95 /> 96 </LinearLayout> 97 98</LinearLayout> 99 100