1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical" >
22    <TextView
23        android:id="@+id/appLabel"
24        android:layout_gravity="left"
25        android:layout_width="wrap_content"
26        android:layout_height="wrap_content"
27        android:textSize="25dp"
28        android:text="Telecom CarMode Dialer" />
29    <EditText
30        android:id="@+id/number"
31        android:inputType="number"
32        android:layout_width="200dp"
33        android:layout_height="wrap_content" />
34    <Button
35        android:id="@+id/place_call_button"
36        android:layout_width="wrap_content"
37        android:layout_height="wrap_content"
38        android:text="@string/placeCallButton" />
39    <LinearLayout
40        android:layout_width="wrap_content"
41        android:layout_height="wrap_content"
42        android:orientation="horizontal" >
43        <TextView
44            android:layout_width="wrap_content"
45            android:layout_height="wrap_content"
46            android:textSize="15dp"
47            android:text="Priority:" />
48        <EditText
49            android:id="@+id/priority"
50            android:inputType="number"
51            android:text="100"
52            android:layout_width="50dp"
53            android:layout_height="wrap_content" />
54        <Button
55            android:id="@+id/enable_car_mode"
56            android:layout_width="wrap_content"
57            android:layout_height="wrap_content"
58            android:text="Enable Car mode" />
59        <Button
60            android:id="@+id/disable_car_mode"
61            android:layout_width="wrap_content"
62            android:layout_height="wrap_content"
63            android:text="Disable Car mode" />
64    </LinearLayout>
65    <Button
66        android:id="@+id/toggle_incallservice"
67        android:layout_width="wrap_content"
68        android:layout_height="wrap_content"
69        android:text="Toggle InCallService" />
70</LinearLayout>
71