blob: b334a12156eac7bd47e8cb01ab347954dba8fae9 [file] [log] [blame]
Chiao Cheng79e215c2013-07-18 12:42:48 -07001<?xml version="1.0" encoding="utf-8"?>
Chiao Chengf09116f2013-07-18 19:38:07 -07002<!--
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 Cheng79e215c2013-07-18 12:42:48 -070017
18<!-- TODO(klp): move out to separate file -->
19<com.android.incallui.AnswerUi
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 Chengf09116f2013-07-18 19:38:07 -070031 android:layout_gravity="bottom|center_horizontal"
32 android:background="#000"
Chiao Cheng79e215c2013-07-18 12:42:48 -070033
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 />