keyguard_screen_tab_unlock_land.xml revision 55c6e82883442ac631c56cd399705aea43716964
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.--> 23<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 24 xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock" 25 android:layout_width="match_parent" 26 android:layout_height="match_parent" 27 android:orientation="horizontal" 28 android:id="@+id/root"> 29 30 <!-- left side: status and music --> 31 <RelativeLayout 32 android:layout_height="match_parent" 33 android:layout_weight="0.42" 34 android:layout_width="0dip" 35 android:gravity="center"> 36 37 <RelativeLayout android:id="@+id/transport_bg_protect" 38 android:layout_width="512dip" 39 android:layout_height="wrap_content"> 40 41 <!-- Status --> 42 <include layout="@layout/keyguard_screen_status_land" 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:layout_marginLeft="50dip" 46 android:layout_marginTop="50dip" 47 android:layout_marginRight="64dip" 48 android:layout_alignParentTop="true" 49 android:layout_alignParentLeft="true"/> 50 51 <!-- Music transport control --> 52 <include android:id="@+id/transport" 53 layout="@layout/keyguard_transport_control" 54 android:layout_row="0" 55 android:layout_column="0" 56 android:layout_rowSpan="3" 57 android:layout_columnSpan="1" 58 android:layout_gravity="fill" 59 android:layout_width="match_parent" 60 android:layout_height="512dip" 61 /> 62 63 </RelativeLayout> 64 65 </RelativeLayout> 66 67 <!-- right side --> 68 <RelativeLayout 69 android:layout_height="match_parent" 70 android:layout_weight="0.58" 71 android:layout_width="0dip" 72 android:gravity="center_horizontal|center_vertical"> 73 74 <TextView 75 android:id="@+id/screenLocked" 76 android:layout_width="wrap_content" 77 android:layout_height="wrap_content" 78 android:textAppearance="?android:attr/textAppearanceMedium" 79 android:gravity="center" 80 android:layout_marginTop="12dip" 81 android:layout_alignParentLeft="true" 82 android:layout_alignParentTop="true" 83 android:drawablePadding="4dip"/> 84 85 <com.android.internal.widget.multiwaveview.MultiWaveView 86 android:id="@+id/unlock_widget" 87 android:layout_width="wrap_content" 88 android:layout_height="wrap_content" 89 android:layout_rowSpan="7" 90 android:layout_gravity="center_vertical|right" 91 android:gravity="center" 92 93 android:targetDrawables="@array/lockscreen_targets_with_camera" 94 android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" 95 android:directionDescriptions="@array/lockscreen_direction_descriptions" 96 android:handleDrawable="@drawable/ic_lockscreen_handle" 97 android:waveDrawable="@drawable/ic_lockscreen_outerring" 98 android:outerRadius="@dimen/multiwaveview_target_placement_radius" 99 android:snapMargin="@dimen/multiwaveview_snap_margin" 100 android:hitRadius="@dimen/multiwaveview_hit_radius" 101 android:chevronDrawables="@array/lockscreen_chevron_drawables" 102 android:feedbackCount="3" 103 android:vibrationDuration="20" 104 /> 105 106 <!-- emergency call button shown when sim is PUKd and tab_selector is hidden --> 107 <Button 108 android:id="@+id/emergencyCallButton" 109 android:layout_width="wrap_content" 110 android:layout_height="wrap_content" 111 android:layout_marginRight="80dip" 112 android:layout_marginBottom="80dip" 113 android:layout_alignParentRight="true" 114 android:layout_alignParentBottom="true" 115 android:drawableLeft="@drawable/ic_emergency" 116 style="@style/Widget.Button.Transparent" 117 android:drawablePadding="8dip" 118 android:visibility="gone"/> 119 120 </RelativeLayout>> 121 122</LinearLayout> 123