1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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    android:padding="4dp"
23    android:gravity="center_horizontal">
24
25    <!-- Message to show to use. -->
26    <ScrollView
27        android:layout_width="match_parent"
28        android:layout_height="0dip"
29        android:gravity="center_vertical|left"
30        android:layout_weight="1">
31        <TextView
32            android:id="@+id/text"
33            android:layout_width="match_parent"
34            android:layout_height="wrap_content"
35            android:padding="16dp"
36            android:text="@string/debug_tool_message"
37            android:textAppearance="?android:attr/textAppearanceMedium" />
38    </ScrollView>
39
40    <!-- Alert dialog style buttons along the bottom. -->
41    <LinearLayout
42        style="?android:attr/buttonBarStyle"
43        android:layout_width="match_parent"
44        android:layout_height="wrap_content"
45        android:measureWithLargestChild="true">
46        <Button
47            style="?android:attr/buttonBarButtonStyle"
48            android:id="@+id/confirm"
49            android:layout_width="wrap_content"
50            android:layout_height="wrap_content"
51            android:layout_weight="1"
52            android:onClick="onClick"
53            android:text="@string/debug_tool_start_button" />
54        <Button
55            style="?android:attr/buttonBarButtonStyle"
56            android:id="@+id/delete"
57            android:layout_width="wrap_content"
58            android:layout_height="wrap_content"
59            android:layout_weight="1"
60            android:onClick="onClick"
61            android:text="@string/debug_tool_delete_button"
62            android:enabled="false" />
63        <Button
64            style="?android:attr/buttonBarButtonStyle"
65            android:id="@+id/cancel"
66            android:layout_width="wrap_content"
67            android:layout_height="wrap_content"
68            android:layout_weight="1"
69            android:onClick="onClick"
70            android:text="@android:string/no" />
71    </LinearLayout>
72</LinearLayout>