|
24 | 24 | android:id="@+id/keyguard_selector_view" |
25 | 25 | android:layout_width="match_parent" |
26 | 26 | android:layout_height="match_parent" |
| 27 | + android:clipChildren="false" |
| 28 | + android:clipToPadding="false" |
27 | 29 | android:orientation="vertical"> |
28 | 30 |
|
29 | 31 | <include layout="@layout/keyguard_widget_region" |
30 | 32 | android:layout_width="match_parent" |
31 | 33 | android:layout_height="0dip" |
32 | 34 | android:layout_weight="0.45" /> |
33 | 35 |
|
34 | | - <RelativeLayout |
| 36 | + <FrameLayout |
35 | 37 | android:layout_width="wrap_content" |
36 | 38 | android:layout_height="0dip" |
37 | 39 | android:layout_weight="0.55" |
38 | 40 | android:layout_gravity="center" |
| 41 | + android:clipChildren="false" |
| 42 | + android:clipToPadding="false" |
39 | 43 | android:gravity="center"> |
40 | 44 |
|
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"/> |
| 45 | + <include layout="@layout/keyguard_glow_pad_container" /> |
61 | 46 |
|
62 | 47 | <include layout="@layout/keyguard_emergency_carrier_area" |
63 | 48 | android:id="@+id/keyguard_selector_fade_container" |
64 | 49 | android:layout_width="match_parent" |
65 | 50 | android:layout_height="wrap_content" |
66 | 51 | android:orientation="vertical" |
67 | | - android:gravity="center_horizontal" |
68 | | - android:layout_alignParentBottom="true" /> |
| 52 | + android:layout_gravity="bottom|center_horizontal" |
| 53 | + android:gravity="center_horizontal" /> |
69 | 54 |
|
70 | | - </RelativeLayout> |
| 55 | + </FrameLayout> |
71 | 56 |
|
72 | 57 | </com.android.internal.policy.impl.keyguard.KeyguardSelectorView> |
73 | 58 |
|
0 commit comments