keyguard_screen_tab_unlock_land.xml revision ee094a8f3e457d324884da1bef6ba36fba79efe8
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="1" 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 <!-- Music transport control underneath --> 42 <include android:id="@+id/transport" 43 layout="@layout/keyguard_transport_control" 44 android:layout_row="0" 45 android:layout_column="0" 46 android:layout_rowSpan="3" 47 android:layout_columnSpan="1" 48 android:layout_gravity="fill" 49 android:layout_width="match_parent" 50 android:layout_height="512dip" 51 /> 52 53 <include layout="@layout/keyguard_screen_status_land" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:layout_marginLeft="50dip" 57 android:layout_marginTop="50dip" 58 android:layout_marginBottom="82dip" 59 android:layout_marginRight="64dip" 60 android:layout_alignParentTop="true" 61 android:layout_alignParentLeft="true"/> 62 63 </RelativeLayout> 64 65 </RelativeLayout> 66 67 <!-- right side --> 68 <RelativeLayout 69 android:layout_height="match_parent" 70 android:layout_weight="1" 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="match_parent" 88 android:layout_height="match_parent" 89 android:layout_rowSpan="7" 90 android:layout_gravity="center_vertical|center_horizontal" 91 92 android:targetDrawables="@array/lockscreen_targets_with_camera" 93 android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" 94 android:directionDescriptions="@array/lockscreen_direction_descriptions" 95 android:handleDrawable="@drawable/ic_lockscreen_handle" 96 android:waveDrawable="@drawable/ic_lockscreen_outerring" 97 android:outerRadius="@dimen/multiwaveview_target_placement_radius" 98 android:snapMargin="@dimen/multiwaveview_snap_margin" 99 android:hitRadius="@dimen/multiwaveview_hit_radius" 100 android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" 101 android:feedbackCount="3" 102 android:vibrationDuration="20" 103 android:horizontalOffset="0dip" 104 android:verticalOffset="0dip" 105 /> 106 107 <!-- emergency call button shown when sim is PUKd and tab_selector is hidden --> 108 <Button 109 android:id="@+id/emergencyCallButton" 110 android:layout_width="wrap_content" 111 android:layout_height="wrap_content" 112 android:layout_marginRight="80dip" 113 android:layout_marginBottom="80dip" 114 android:layout_alignParentRight="true" 115 android:layout_alignParentBottom="true" 116 android:drawableLeft="@drawable/ic_emergency" 117 style="@style/Widget.Button.Transparent" 118 android:drawablePadding="8dip" 119 android:visibility="gone"/> 120 121 </RelativeLayout> 122 123</LinearLayout> 124