• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18         android:layout_width="300sp"
19         android:layout_height="wrap_content">
20
21    <LinearLayout
22            android:layout_width="match_parent"
23            android:layout_height="wrap_content"
24            android:padding="8dip"
25            android:orientation="vertical">
26
27        <LinearLayout
28                android:layout_width="match_parent"
29                android:layout_height="wrap_content"
30                android:orientation="vertical" />
31
32            <TextView
33                    style="?android:attr/textAppearanceSmall"
34                    android:layout_width="match_parent"
35                    android:layout_height="wrap_content"
36                    android:layout_marginTop="8dip"
37                    android:text="@string/wifi_p2p_device_info" />
38
39            <TextView android:id="@+id/device_name"
40                    style="?android:attr/textAppearanceMedium"
41                    android:layout_width="match_parent"
42                    android:layout_height="wrap_content"
43                    android:layout_marginTop="8dip" />
44
45            <TextView android:id="@+id/device_address"
46                    style="?android:attr/textAppearanceMedium"
47                    android:layout_width="match_parent"
48                    android:layout_height="wrap_content"
49                    android:layout_marginTop="8dip" />
50
51            <TextView
52                    style="?android:attr/textAppearanceSmall"
53                    android:layout_width="match_parent"
54                    android:layout_height="wrap_content"
55                    android:layout_marginTop="8dip"
56                    android:text="@string/wifi_p2p_wps_setup" />
57
58            <Spinner android:id="@+id/wps_setup"
59                    android:layout_width="match_parent"
60                    android:layout_height="wrap_content"
61                    android:prompt="@string/wifi_p2p_wps_setup"
62                    android:entries="@array/wifi_p2p_wps_setup" />
63
64           <LinearLayout android:id="@+id/wps_pin_entry"
65                android:layout_width="match_parent"
66                android:layout_height="wrap_content"
67                android:orientation="vertical"
68                android:visibility="gone">
69
70                <TextView
71                    style="@style/wifi_item_label"
72                    android:text="@string/wifi_p2p_wps_pin" />
73
74                <EditText android:id="@+id/wps_pin"
75                    style="@style/wifi_item_content"
76                    android:singleLine="true"
77                    android:inputType="textPassword" />
78            </LinearLayout>
79
80
81            <CheckBox android:id="@+id/persist_network"
82                    style="?android:attr/textAppearanceSmall"
83                    android:layout_width="match_parent"
84                    android:layout_height="wrap_content"
85                    android:text="@string/wifi_p2p_persist_network" />
86
87   </LinearLayout>
88</ScrollView>
89