Chiao Cheng | 79e215c | 2013-07-18 12:42:48 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Chiao Cheng | f09116f | 2013-07-18 19:38:07 -0700 | [diff] [blame] | 2 | <!-- |
| 3 | ~ Copyright (C) 2013 The Android Open Source Project |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License |
| 16 | --> |
Chiao Cheng | 79e215c | 2013-07-18 12:42:48 -0700 | [diff] [blame] | 17 | |
| 18 | <!-- TODO(klp): move out to separate file --> |
Chiao Cheng | a152b46 | 2013-07-23 13:30:19 -0700 | [diff] [blame] | 19 | <com.android.incallui.GlowPadWrapper |
Chiao Cheng | 79e215c | 2013-07-18 12:42:48 -0700 | [diff] [blame] | 20 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | xmlns:dc="http://schemas.android.com/apk/res-auto" |
| 22 | |
| 23 | android:id="@+id/glow_pad_view" |
| 24 | android:layout_width="wrap_content" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:layout_marginBottom="@dimen/glowpadview_margin_bottom" |
| 27 | android:focusable="true" |
| 28 | android:layout_alignParentBottom="true" |
| 29 | android:layout_centerHorizontal="true" |
| 30 | android:gravity="center" |
Chiao Cheng | f09116f | 2013-07-18 19:38:07 -0700 | [diff] [blame] | 31 | android:layout_gravity="bottom|center_horizontal" |
Santos Cordon | a5c9103 | 2013-08-07 20:44:09 -0700 | [diff] [blame] | 32 | android:background="@android:color/black" |
Chiao Cheng | 79e215c | 2013-07-18 12:42:48 -0700 | [diff] [blame] | 33 | |
| 34 | dc:targetDrawables="@array/incoming_call_widget_3way_targets" |
| 35 | dc:targetDescriptions="@array/incoming_call_widget_3way_target_descriptions" |
| 36 | dc:directionDescriptions="@array/incoming_call_widget_3way_direction_descriptions" |
| 37 | dc:handleDrawable="@drawable/ic_in_call_touch_handle" |
| 38 | dc:outerRingDrawable="@*android:drawable/ic_lockscreen_outerring" |
| 39 | dc:outerRadius="@dimen/glowpadview_target_placement_radius" |
| 40 | dc:innerRadius="@dimen/glowpadview_inner_radius" |
| 41 | dc:snapMargin="@dimen/glowpadview_snap_margin" |
| 42 | dc:feedbackCount="1" |
| 43 | dc:vibrationDuration="20" |
| 44 | dc:glowRadius="@dimen/glowpadview_glow_radius" |
| 45 | dc:pointDrawable="@*android:drawable/ic_lockscreen_glowdot" |
| 46 | /> |