|
| 1 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | + xmlns:tools="http://schemas.android.com/tools" |
| 3 | + android:layout_width="match_parent" |
| 4 | + android:layout_height="match_parent" |
| 5 | + android:paddingBottom="@dimen/activity_vertical_margin" |
| 6 | + android:paddingLeft="@dimen/activity_horizontal_margin" |
| 7 | + android:paddingRight="@dimen/activity_horizontal_margin" |
| 8 | + android:paddingTop="@dimen/activity_vertical_margin" |
| 9 | + android:orientation="vertical" |
| 10 | + tools:context=".MainActivity" > |
| 11 | + |
| 12 | +<LinearLayout |
| 13 | + android:id="@+id/linearLayout4" |
| 14 | + android:layout_width="match_parent" |
| 15 | + android:layout_height="wrap_content" > |
| 16 | + |
| 17 | + <TextView |
| 18 | + android:id="@+id/textView4" |
| 19 | + android:layout_width="wrap_content" |
| 20 | + android:layout_height="wrap_content" |
| 21 | + android:text="@string/idcliente" /> |
| 22 | + |
| 23 | + <EditText |
| 24 | + android:id="@+id/txtId" |
| 25 | + android:layout_width="wrap_content" |
| 26 | + android:layout_height="wrap_content" |
| 27 | + android:layout_weight="1" |
| 28 | + android:inputType="number" > |
| 29 | + |
| 30 | + <requestFocus /> |
| 31 | + |
| 32 | + </EditText> |
| 33 | + |
| 34 | + </LinearLayout> |
| 35 | + |
| 36 | + <LinearLayout |
| 37 | + android:id="@+id/linearLayout3" |
| 38 | + android:layout_width="match_parent" |
| 39 | + android:layout_height="wrap_content" > |
| 40 | + |
| 41 | + <TextView |
| 42 | + android:id="@+id/textView3" |
| 43 | + android:layout_width="wrap_content" |
| 44 | + android:layout_height="wrap_content" |
| 45 | + android:text="@string/nombre" /> |
| 46 | + |
| 47 | + <EditText |
| 48 | + android:id="@+id/txtNombre" |
| 49 | + android:layout_width="wrap_content" |
| 50 | + android:layout_height="wrap_content" |
| 51 | + android:layout_weight="1" |
| 52 | + android:inputType="text" > |
| 53 | + |
| 54 | + <requestFocus /> |
| 55 | + </EditText> |
| 56 | + |
| 57 | + </LinearLayout> |
| 58 | + |
| 59 | + <LinearLayout |
| 60 | + android:id="@+id/linearLayout2" |
| 61 | + android:layout_width="match_parent" |
| 62 | + android:layout_height="wrap_content" > |
| 63 | + |
| 64 | + <TextView |
| 65 | + android:id="@+id/textView2" |
| 66 | + android:layout_width="wrap_content" |
| 67 | + android:layout_height="wrap_content" |
| 68 | + android:text="@string/telefono" /> |
| 69 | + |
| 70 | + <EditText |
| 71 | + android:id="@+id/txtTelefono" |
| 72 | + android:layout_width="wrap_content" |
| 73 | + android:layout_height="wrap_content" |
| 74 | + android:layout_weight="1" |
| 75 | + android:inputType="number" > |
| 76 | + |
| 77 | + <requestFocus /> |
| 78 | + |
| 79 | + </EditText> |
| 80 | + |
| 81 | + </LinearLayout> |
| 82 | + |
| 83 | + <LinearLayout |
| 84 | + android:id="@+id/linearLayout1" |
| 85 | + android:layout_width="match_parent" |
| 86 | + android:layout_height="wrap_content" > |
| 87 | + |
| 88 | + <Button |
| 89 | + android:id="@+id/btnInsertar" |
| 90 | + android:layout_width="wrap_content" |
| 91 | + android:layout_height="wrap_content" |
| 92 | + android:text="@string/ins" /> |
| 93 | + |
| 94 | + <Button |
| 95 | + android:id="@+id/btnActualizar" |
| 96 | + android:layout_width="wrap_content" |
| 97 | + android:layout_height="wrap_content" |
| 98 | + android:text="@string/act" /> |
| 99 | + |
| 100 | + <Button |
| 101 | + android:id="@+id/btnEliminar" |
| 102 | + android:layout_width="wrap_content" |
| 103 | + android:layout_height="wrap_content" |
| 104 | + android:text="Eli" /> |
| 105 | + |
| 106 | + <Button |
| 107 | + android:id="@+id/btnObtener" |
| 108 | + android:layout_width="wrap_content" |
| 109 | + android:layout_height="wrap_content" |
| 110 | + android:text="@string/obt" /> |
| 111 | + |
| 112 | + <Button |
| 113 | + android:id="@+id/btnListar" |
| 114 | + android:layout_width="wrap_content" |
| 115 | + android:layout_height="wrap_content" |
| 116 | + android:text="@string/lis" /> |
| 117 | + |
| 118 | + </LinearLayout> |
| 119 | + |
| 120 | + <TextView |
| 121 | + android:id="@+id/lblResultado" |
| 122 | + android:layout_width="wrap_content" |
| 123 | + android:layout_height="wrap_content" |
| 124 | + android:text="" /> |
| 125 | + |
| 126 | + <ListView |
| 127 | + android:id="@+id/lstClientes" |
| 128 | + android:layout_width="match_parent" |
| 129 | + android:layout_height="wrap_content" > |
| 130 | + </ListView> |
| 131 | + |
| 132 | +</LinearLayout> |
0 commit comments