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