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