keyguard_selector_view.xml revision c1aa6a54a78972843899fd0d911f80a4aff4dd20
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.internal.policy.impl.keyguard.KeyguardSelectorView 22 xmlns:prvandroid="http://schemas.android.com/apk/prv/res/android" 23 xmlns:android="http://schemas.android.com/apk/res/android" 24 android:id="@+id/keyguard_selector_view" 25 android:layout_width="match_parent" 26 android:layout_height="match_parent" 27 android:orientation="vertical"> 28 29 <include layout="@layout/keyguard_widget_region" 30 android:layout_width="match_parent" 31 android:layout_height="0dip" 32 android:layout_weight="0.45" 33 android:layout_marginTop="35dip" 34 android:layout_marginLeft="33dip" 35 android:layout_marginRight="33dip"/> 36 37 <RelativeLayout 38 android:layout_width="wrap_content" 39 android:layout_height="0dip" 40 android:layout_weight="0.55" 41 android:layout_gravity="center" 42 android:gravity="center"> 43 44 <com.android.internal.widget.multiwaveview.GlowPadView 45 android:id="@+id/glow_pad_view" 46 android:orientation="horizontal" 47 android:layout_width="wrap_content" 48 android:layout_height="wrap_content" 49 android:focusable="true" 50 android:gravity="@integer/kg_selector_gravity" 51 52 prvandroid:targetDrawables="@*android:array/lockscreen_targets_with_camera" 53 prvandroid:targetDescriptions="@*android:array/lockscreen_target_descriptions_with_camera" 54 prvandroid:directionDescriptions="@*android:array/lockscreen_direction_descriptions" 55 prvandroid:handleDrawable="@*android:drawable/ic_lockscreen_handle" 56 prvandroid:outerRingDrawable="@*android:drawable/ic_lockscreen_outerring" 57 prvandroid:outerRadius="@*android:dimen/glowpadview_target_placement_radius" 58 prvandroid:innerRadius="@*android:dimen/glowpadview_inner_radius" 59 prvandroid:snapMargin="@*android:dimen/glowpadview_snap_margin" 60 prvandroid:feedbackCount="1" 61 prvandroid:vibrationDuration="20" 62 prvandroid:glowRadius="@*android:dimen/glowpadview_glow_radius" 63 prvandroid:pointDrawable="@*android:drawable/ic_lockscreen_glowdot"/> 64 65 <include layout="@layout/keyguard_emergency_carrier_area" 66 android:id="@+id/keyguard_selector_fade_container" 67 android:layout_width="match_parent" 68 android:layout_height="wrap_content" 69 android:orientation="vertical" 70 android:gravity="center_horizontal" 71 android:layout_alignParentBottom="true" /> 72 73 </RelativeLayout> 74 75</com.android.internal.policy.impl.keyguard.KeyguardSelectorView> 76 77