OSDN Git Service

am 9f78ffb2: am 615f8446: reconcile main tree with open-source eclair
[android-x86/packages-apps-Settings.git] / res / layout / intent_sender.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /* //device/apps/Preferences/assets/res/any/layout/intent_sender.xml
4 **
5 ** Copyright 2006, The Android Open Source Project
6 **
7 ** Licensed under the Apache License, Version 2.0 (the "License");
8 ** you may not use this file except in compliance with the License.
9 ** You may obtain a copy of the License at
10 **
11 **     http://www.apache.org/licenses/LICENSE-2.0
12 **
13 ** Unless required by applicable law or agreed to in writing, software
14 ** distributed under the License is distributed on an "AS IS" BASIS,
15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ** See the License for the specific language governing permissions and
17 ** limitations under the License.
18 */
19 -->
20 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
21     android:paddingLeft="6dip"
22     android:paddingRight="6dip"
23     android:paddingBottom="3dip"
24     android:layout_width="match_parent"
25     android:layout_height="match_parent">
26
27     <LinearLayout
28         android:orientation="vertical"
29         android:layout_width="match_parent"
30         android:layout_height="match_parent">
31
32         <TextView
33                 android:textStyle="bold"
34                 android:maxLines="1"
35                 android:layout_width="wrap_content"
36                 android:layout_height="wrap_content"
37                 android:text="@string/intent_sender_action_label" />
38
39         <EditText android:id="@+id/intent"
40                 android:singleLine="true"
41                 android:layout_marginTop="2dip"
42                 android:layout_width="wrap_content"
43                 android:layout_height="wrap_content"
44                 android:scrollHorizontally="true"
45                 android:capitalize="none"
46                 android:autoText="false" />
47
48         <TextView
49                 android:textStyle="bold"
50                 android:maxLines="1"
51                 android:layout_width="wrap_content"
52                 android:layout_height="wrap_content"
53                 android:text="@string/intent_sender_data_label" />
54
55         <EditText android:id="@+id/data"
56                 android:singleLine="true"
57                 android:layout_marginTop="2dip"
58                 android:layout_width="wrap_content"
59                 android:layout_height="wrap_content"
60                 android:scrollHorizontally="true"
61                 android:capitalize="none"
62                 android:autoText="false" />
63
64         <TextView
65                 android:textStyle="bold"
66                 android:maxLines="1"
67                 android:layout_marginTop="4dip"
68                 android:layout_width="wrap_content"
69                 android:layout_height="wrap_content"
70                 android:text="@string/intent_sender_account_label" />
71
72         <EditText android:id="@+id/account"
73                 android:singleLine="true"
74                 android:layout_marginTop="2dip"
75                 android:layout_width="wrap_content"
76                 android:layout_height="wrap_content"
77                 android:scrollHorizontally="true"
78                 android:capitalize="none"
79                 android:autoText="false" />
80
81         <TextView
82                 android:textStyle="bold"
83                 android:maxLines="1"
84                 android:layout_marginTop="4dip"
85                 android:layout_width="wrap_content"
86                 android:layout_height="wrap_content"
87                 android:text="@string/intent_sender_resource_label" />
88
89         <EditText android:id="@+id/resource"
90                 android:singleLine="true"
91                 android:layout_marginTop="2dip"
92                 android:layout_width="wrap_content"
93                 android:layout_height="wrap_content"
94                 android:scrollHorizontally="true"
95                 android:capitalize="none"
96                 android:autoText="false" />
97
98         <Button android:id="@+id/sendbroadcast"
99                 android:layout_marginTop="8dip"
100                 android:layout_width="wrap_content"
101                 android:layout_height="wrap_content"
102                 android:text="@string/intent_sender_sendbroadcast_text" />
103
104         <Button android:id="@+id/startactivity"
105                 android:layout_marginTop="8dip"
106                 android:layout_width="wrap_content"
107                 android:layout_height="wrap_content"
108                 android:text="@string/intent_sender_startactivity_text" />
109     </LinearLayout>
110 </ScrollView>
111