• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 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 xmlns:android="http://schemas.android.com/apk/res/android"
18              style="@style/start_up_dialog_content"
19              android:orientation="horizontal"
20              android:gravity="center_horizontal"
21              android:paddingTop="28dp">
22    <LinearLayout
23        android:layout_width="0dp"
24        android:layout_height="match_parent"
25        android:orientation="vertical"
26        android:gravity="center"
27        android:layout_marginLeft="16dp"
28        android:layout_weight="1">
29        <TextView
30            android:layout_width="wrap_content"
31            android:layout_height="wrap_content"
32            android:text="@string/remember_location_title"
33            style="@style/fullscreen_dialog_title"
34            android:layout_marginLeft="28dp"
35            android:layout_marginRight="28dp"
36            android:layout_marginBottom="28dp" />
37        <ImageView
38            android:layout_width="wrap_content"
39            android:layout_height="wrap_content"
40            android:src="@drawable/geo_opt_in_graphic" />
41    </LinearLayout>
42
43    <FrameLayout
44        android:layout_width="0dp"
45        android:layout_height="match_parent"
46        android:layout_marginLeft="16dp"
47        android:layout_marginRight="16dp"
48        android:layout_weight="1">
49        <FrameLayout
50            android:layout_width="wrap_content"
51            android:layout_height="wrap_content"
52            android:layout_gravity="center_vertical">
53            <CheckBox
54                android:id="@+id/check_box"
55                style="@style/DialogCheckBox"
56                android:layout_width="match_parent"
57                android:layout_height="wrap_content"
58                android:layout_marginBottom="72dp"
59                android:gravity="top"
60                android:paddingLeft="10dp"
61                android:paddingRight="10dp"
62                android:text="@string/remember_location_prompt" />
63            <Button
64                android:id="@+id/confirm_button"
65                style="@style/BlueButton"
66                android:layout_gravity="bottom|center_horizontal"
67                android:text="@string/startup_dialog_button_next" />
68        </FrameLayout>
69</FrameLayout>
70
71</LinearLayout>