blob: 3d8e2305380085a0493d013971c81bf26f3aba88 [file] [log] [blame]
Steve Block2bc69912009-07-30 14:45:13 +01001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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 This is the layout for the Geolocation permissions prompt.
Steve Block2bc69912009-07-30 14:45:13 +010017-->
18
19<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:fitsSystemWindows="true"
21 android:layout_width="fill_parent"
22 android:layout_height="wrap_content">
23
24 <!-- Use an inner element as we can't show a hidden outermost element -->
25 <LinearLayout android:id="@+id/inner"
26 android:orientation="vertical"
27 android:layout_width="fill_parent"
28 android:layout_height="wrap_content"
29 android:background="@color/geolocation_permissions_prompt_background"
Steve Block8844d192009-09-29 13:14:41 +010030 android:padding="6dip"
Steve Block2bc69912009-07-30 14:45:13 +010031 android:visibility="gone">
32
33 <!-- 'google.com wants to know your location' -->
34 <TextView android:id="@+id/message"
35 android:layout_width="fill_parent"
36 android:layout_height="wrap_content"
37 android:textSize="14dip"
Steve Block8844d192009-09-29 13:14:41 +010038 android:textColor="@color/black" />
39
40 <!-- Checkbox -->
41 <CheckBox android:id="@+id/remember"
42 android:text="@string/geolocation_permissions_prompt_remember"
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:textSize="14dip"
46 android:textColor="@color/black" />
Steve Block2bc69912009-07-30 14:45:13 +010047
48 <!-- Buttons -->
49 <LinearLayout
50 android:layout_width="fill_parent"
51 android:layout_height="wrap_content">
52 <Button android:id="@+id/share_button"
53 android:text="@string/geolocation_permissions_prompt_share"
Steve Block8844d192009-09-29 13:14:41 +010054 android:layout_weight="1"
55 android:layout_width="0dip"
Steve Block2bc69912009-07-30 14:45:13 +010056 android:layout_height="wrap_content" />
57 <Button android:id="@+id/dont_share_button"
58 android:text="@string/geolocation_permissions_prompt_dont_share"
Steve Block8844d192009-09-29 13:14:41 +010059 android:layout_weight="1"
60 android:layout_width="0dip"
Steve Block2bc69912009-07-30 14:45:13 +010061 android:layout_height="wrap_content" />
62 </LinearLayout>
63
Steve Block2bc69912009-07-30 14:45:13 +010064 </LinearLayout>
65</LinearLayout>