seleccionar_url.xml
3.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/textView1"
android:textSize="@dimen/talla_texto_grande"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Agregue un nombre de local y su url de webservice" />
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:layout_margin="20dp" >
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:layout_width="match_parent"
android:layout_margin="5dp"
android:layout_weight="1"
android:gravity="start"
android:text="Nombre Local"
android:textColor="@color/white"
android:textSize="@dimen/talla_texto_subtitulo" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent" >
<EditText
android:id="@+id/nombre_local"
android:layout_width="match_parent"
android:layout_margin="5dp"
android:layout_weight="1"
android:inputType="text"
android:singleLine="true"
android:textSize="@dimen/talla_texto_grande">
<requestFocus />
</EditText>
<Button
android:id="@+id/actualizar_local"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:text="Actualizar"
android:textSize="15sp"
android:visibility="gone"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:layout_width="match_parent"
android:layout_margin="5dp"
android:layout_weight="1"
android:gravity="start"
android:text="Url de webservice"
android:textColor="@color/white"
android:textSize="@dimen/talla_texto_subtitulo" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent" >
<EditText
android:id="@+id/urlWebservice"
android:layout_width="946dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:inputType="textUri"
android:singleLine="true"
android:text="http://192.168.../webservice/deboinventario/webservice.php"
android:textSize="@dimen/talla_texto_grande"></EditText>
<Button
android:id="@+id/guardar_local"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:text="Agregar"
android:textSize="15sp" />
</TableRow>
</TableLayout>
<Spinner
android:id="@+id/spinnerPreferencias"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<Button
android:id="@+id/cerrar"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Atras" />
</LinearLayout>