blob: 56fd7024f1f48539020ff553bead6dfc54f2f698 [file] [log] [blame]
Kurt Partridge43310122012-07-18 18:41:15 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 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="wrap_content"
21 android:orientation="vertical"
22 android:id="@+id/research_splash_screen_layout">
23
24 <LinearLayout
25 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
27 android:orientation="vertical">
28 <com.android.internal.widget.DialogTitle
29 style="?android:attr/windowTitleStyle"
30 android:singleLine="true"
31 android:ellipsize="end"
32 android:layout_width="match_parent"
33 android:layout_height="64dip"
34 android:layout_marginLeft="16dip"
35 android:layout_marginRight="16dip"
36 android:gravity="center_vertical|left"
37 android:text="@string/research_splash_title" />
38 <View android:layout_width="match_parent"
39 android:layout_height="2dip"
40 android:background="@android:color/holo_blue_light" />
41 </LinearLayout>
42
43 <TextView
44 android:text="@string/research_splash_content"
45 android:layout_height="fill_parent"
46 android:layout_width="match_parent"
47 android:layout_gravity="fill_horizontal|center_vertical"
48 android:layout_marginLeft="16dip"
49 android:layout_marginRight="16dip"
50 android:layout_marginBottom="16dip"
51 android:layout_marginTop="16dip"/>
52
53 <LinearLayout
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:orientation="vertical"
57 android:divider="?android:attr/dividerHorizontal"
58 android:showDividers="beginning"
59 android:dividerPadding="0dip">
60 <LinearLayout
61 style="?android:attr/buttonBarStyle"
62 android:layout_width="match_parent"
63 android:layout_height="wrap_content"
64 android:orientation="horizontal"
65 android:measureWithLargestChild="true">
66 <Button
67 android:layout_width="0dip"
68 android:layout_gravity="left"
69 android:layout_weight="1"
70 android:maxLines="2"
71 stype="?android:attr/buttonBarButtonStyle"
72 android:textSize="14sp"
73 android:text="@string/research_dont_send_usage_info"
74 android:layout_height="wrap_content"
75 android:id="@+id/research_do_not_log_button" />
76 <Button
77 android:layout_width="0dip"
78 android:layout_gravity="right"
79 android:layout_weight="1"
80 android:maxLines="2"
81 style="?android:attr/buttonBarButtonStyle"
82 android:textSize="14sp"
83 android:text="@string/research_send_usage_info"
84 android:layout_height="wrap_content"
85 android:id="@+id/research_do_log_button" />
86 </LinearLayout>
87 </LinearLayout>
88</LinearLayout>