Guest User

activity_editar_cliente.xml

a guest
Oct 26th, 2014
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.55 KB | None | 0 0
  1. <RelativeLayout 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.  
  6.  
  7.     <TableLayout
  8.        android:layout_width="wrap_content"
  9.        android:layout_height="wrap_content"
  10.        android:layout_above="@+id/button1"
  11.        android:layout_alignParentLeft="true"
  12.        android:layout_alignParentRight="true"
  13.        android:layout_alignParentTop="true" >
  14.  
  15.  
  16.         <TableRow
  17.            android:id="@+id/tableRow1"
  18.            android:layout_width="wrap_content"
  19.            android:layout_height="wrap_content"
  20.            android:gravity="center_vertical|center_horizontal" >
  21.  
  22.  
  23.  
  24.             <TextView
  25.                android:id="@+id/textView1"
  26.                android:layout_width="wrap_content"
  27.                android:layout_height="wrap_content"
  28.                android:layout_marginRight="20dp"
  29.                android:text="Nombre" />
  30.  
  31.  
  32.             <EditText
  33.                android:id="@+id/editText1"
  34.                android:layout_width="wrap_content"
  35.                android:layout_height="wrap_content"
  36.                android:hint="Nombre" >
  37.  
  38.                 <requestFocus />
  39.             </EditText>
  40.  
  41.         </TableRow>
  42.  
  43.  
  44.  
  45.         <TableRow
  46.            android:id="@+id/tableRow2"
  47.            android:layout_width="wrap_content"
  48.            android:layout_height="wrap_content"
  49.            android:layout_marginTop="20dp"
  50.            android:gravity="center_vertical|center_horizontal" >
  51.  
  52.  
  53.             <TextView
  54.                android:id="@+id/textView2"
  55.                android:layout_width="wrap_content"
  56.                android:layout_height="wrap_content"
  57.                android:text="Apellidos" />
  58.  
  59.  
  60.             <EditText
  61.                android:id="@+id/editText2"
  62.                android:layout_width="wrap_content"
  63.                android:layout_height="wrap_content"
  64.                android:hint="Apellido" />
  65.  
  66.         </TableRow>
  67.  
  68.  
  69.  
  70.         <TableRow
  71.            android:id="@+id/tableRow3"
  72.            android:layout_width="wrap_content"
  73.            android:layout_height="wrap_content"
  74.            android:layout_marginTop="20dp"
  75.            android:gravity="center_vertical|center_horizontal" >
  76.  
  77.  
  78.  
  79.  
  80.             <TextView
  81.                android:id="@+id/textView3"
  82.                android:layout_width="wrap_content"
  83.                android:layout_height="wrap_content"
  84.                android:layout_gravity="center"
  85.                android:text="ID" />
  86.  
  87.             <EditText
  88.                android:id="@+id/editText3"
  89.                android:enabled="false"
  90.                android:layout_width="wrap_content"
  91.                android:layout_height="wrap_content" />
  92.  
  93.         </TableRow>
  94.  
  95.     </TableLayout>
  96.  
  97.     <Button
  98.        android:id="@+id/button2"
  99.        android:layout_width="wrap_content"
  100.        android:layout_height="wrap_content"
  101.        android:layout_alignBaseline="@+id/button1"
  102.        android:layout_alignBottom="@+id/button1"
  103.        android:layout_marginLeft="38dp"
  104.        android:layout_toRightOf="@+id/button1"
  105.        android:text="Cancelar" />
  106.  
  107.     <Button
  108.        android:id="@+id/button1"
  109.        android:layout_width="wrap_content"
  110.        android:layout_height="wrap_content"
  111.        android:layout_alignParentBottom="true"
  112.        android:layout_alignParentLeft="true"
  113.        android:layout_marginBottom="125dp"
  114.        android:layout_marginLeft="54dp"
  115.        android:text="Guardar" />
  116.  
  117. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment