Advertisement
Guest User

pantalla 6 layout

a guest
Dec 18th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 9.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:app="http://schemas.android.com/apk/res-auto"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     android:background="@mipmap/fondo1"
  8.     tools:context="com.scorm.redfi.miconsulta.Siguiente">
  9.  
  10.     <Button
  11.         android:id="@+id/button16"
  12.         android:layout_width="wrap_content"
  13.         android:layout_height="wrap_content"
  14.         android:layout_marginBottom="8dp"
  15.         android:layout_marginLeft="8dp"
  16.         android:layout_marginRight="8dp"
  17.         android:layout_marginTop="8dp"
  18.         android:layout_weight="0.04"
  19.         android:onClick="onClickRegitrar"
  20.         android:text="Registrarte"
  21.         app:layout_constraintBottom_toBottomOf="parent"
  22.         app:layout_constraintLeft_toLeftOf="parent"
  23.         app:layout_constraintRight_toRightOf="parent"
  24.         app:layout_constraintTop_toBottomOf="@+id/linearLayout" />
  25.  
  26.     <LinearLayout
  27.         android:id="@+id/linearLayout"
  28.         android:layout_width="344dp"
  29.         android:layout_height="420dp"
  30.         android:orientation="vertical"
  31.         android:weightSum="1"
  32.         tools:layout_editor_absoluteX="8dp"
  33.         tools:layout_editor_absoluteY="8dp">
  34.  
  35.         <LinearLayout
  36.             android:layout_width="match_parent"
  37.             android:layout_height="49dp"
  38.             android:layout_weight="0.04"
  39.             android:orientation="horizontal">
  40.  
  41.             <TextView
  42.                 android:id="@+id/textView34"
  43.                 android:layout_width="wrap_content"
  44.                 android:layout_height="wrap_content"
  45.                 android:layout_weight="1"
  46.                 android:text="Registro"
  47.                 android:textAlignment="center"
  48.                 android:textAppearance="@style/TextAppearance.AppCompat.Light.SearchResult.Title" />
  49.         </LinearLayout>
  50.  
  51.         <LinearLayout
  52.             android:layout_width="match_parent"
  53.             android:layout_height="49dp"
  54.             android:layout_weight="0.04"
  55.             android:orientation="horizontal"
  56.             tools:layout_editor_absoluteX="17dp"
  57.             tools:layout_editor_absoluteY="8dp">
  58.  
  59.             <TextView
  60.                 android:id="@+id/textView24"
  61.                 android:layout_width="20dp"
  62.                 android:layout_height="wrap_content"
  63.                 android:layout_weight="0.23"
  64.                 android:text="Calle:"
  65.                 android:textAlignment="textEnd" />
  66.  
  67.             <EditText
  68.                 android:id="@+id/etCalle"
  69.                 android:layout_width="110dp"
  70.                 android:layout_height="wrap_content"
  71.                 android:layout_weight="0.30"
  72.                 android:ems="10"
  73.                 android:inputType="textCapWords|textPersonName" />
  74.  
  75.             <TextView
  76.                 android:id="@+id/textView23"
  77.                 android:layout_width="wrap_content"
  78.                 android:layout_height="wrap_content"
  79.                 android:layout_weight="0.07"
  80.                 android:text="N°:"
  81.                 android:textAlignment="textEnd" />
  82.  
  83.             <EditText
  84.                 android:id="@+id/etNum"
  85.                 android:layout_width="77dp"
  86.                 android:layout_height="wrap_content"
  87.                 android:layout_weight="0.06"
  88.                 android:ems="10"
  89.                 android:inputType="number" />
  90.  
  91.         </LinearLayout>
  92.  
  93.         <LinearLayout
  94.             android:layout_width="match_parent"
  95.             android:layout_height="49dp"
  96.             android:layout_weight="0.05"
  97.             android:orientation="horizontal">
  98.  
  99.             <TextView
  100.                 android:id="@+id/textView26"
  101.                 android:layout_width="wrap_content"
  102.                 android:layout_height="wrap_content"
  103.                 android:layout_weight="0.06"
  104.                 android:text="Colonia:"
  105.                 android:textAlignment="textEnd" />
  106.  
  107.             <EditText
  108.                 android:id="@+id/etColonia"
  109.                 android:layout_width="125dp"
  110.                 android:layout_height="wrap_content"
  111.                 android:layout_weight="0.21"
  112.                 android:ems="10"
  113.                 android:inputType="textCapWords|textPersonName" />
  114.  
  115.             <TextView
  116.                 android:id="@+id/textView25"
  117.                 android:layout_width="wrap_content"
  118.                 android:layout_height="wrap_content"
  119.                 android:layout_weight="0.03"
  120.                 android:text="C.P.:"
  121.                 android:textAlignment="textEnd" />
  122.  
  123.             <EditText
  124.                 android:id="@+id/etCP"
  125.                 android:layout_width="86dp"
  126.                 android:layout_height="wrap_content"
  127.                 android:ems="10"
  128.                 android:inputType="number" />
  129.  
  130.         </LinearLayout>
  131.  
  132.         <LinearLayout
  133.             android:layout_width="match_parent"
  134.             android:layout_height="49dp"
  135.             android:layout_weight="0.03"
  136.             android:orientation="horizontal">
  137.  
  138.             <TextView
  139.                 android:id="@+id/textView27"
  140.                 android:layout_width="wrap_content"
  141.                 android:layout_height="wrap_content"
  142.                 android:layout_weight="0.37"
  143.                 android:text="Estado:"
  144.                 android:textAlignment="textEnd" />
  145.  
  146.             <EditText
  147.                 android:id="@+id/etEstado"
  148.                 android:layout_width="wrap_content"
  149.                 android:layout_height="wrap_content"
  150.                 android:layout_weight="1.71"
  151.                 android:ems="10"
  152.                 android:inputType="textCapWords|textPersonName" />
  153.  
  154.         </LinearLayout>
  155.  
  156.         <LinearLayout
  157.             android:layout_width="match_parent"
  158.             android:layout_height="49dp"
  159.             android:layout_weight="0.04"
  160.             android:orientation="horizontal">
  161.  
  162.             <TextView
  163.                 android:id="@+id/textView28"
  164.                 android:layout_width="wrap_content"
  165.                 android:layout_height="wrap_content"
  166.                 android:layout_weight="0.23"
  167.                 android:text="Telefono:"
  168.                 android:textAlignment="textEnd" />
  169.  
  170.             <EditText
  171.                 android:id="@+id/etTelefono"
  172.                 android:layout_width="wrap_content"
  173.                 android:layout_height="wrap_content"
  174.                 android:layout_weight="2.21"
  175.                 android:ems="10"
  176.                 android:inputType="phone" />
  177.         </LinearLayout>
  178.  
  179.         <LinearLayout
  180.             android:layout_width="match_parent"
  181.             android:layout_height="49dp"
  182.             android:orientation="horizontal">
  183.  
  184.             <TextView
  185.                 android:id="@+id/textView29"
  186.                 android:layout_width="wrap_content"
  187.                 android:layout_height="wrap_content"
  188.                 android:layout_weight="1"
  189.                 android:text="Genero:"
  190.                 android:textAlignment="center" />
  191.  
  192.             <RadioGroup
  193.                 android:layout_width="wrap_content"
  194.                 android:layout_height="match_parent"
  195.                 android:layout_weight="1"
  196.                 android:orientation="horizontal">
  197.  
  198.  
  199.                 <RadioButton
  200.                     android:id="@+id/rbMasculino"
  201.                     android:layout_width="wrap_content"
  202.                     android:layout_height="wrap_content"
  203.                     android:layout_weight="1"
  204.                     android:text="Masculino." />
  205.  
  206.                 <RadioButton
  207.                     android:id="@+id/rbFemenino"
  208.                     android:layout_width="wrap_content"
  209.                     android:layout_height="wrap_content"
  210.                     android:layout_weight="1"
  211.                     android:text="Femenino." />
  212.             </RadioGroup>
  213.  
  214.         </LinearLayout>
  215.  
  216.         <LinearLayout
  217.             android:layout_width="match_parent"
  218.             android:layout_height="wrap_content"
  219.             android:layout_weight="0.04"
  220.             android:orientation="horizontal">
  221.  
  222.             <TextView
  223.                 android:id="@+id/textView30"
  224.                 android:layout_width="wrap_content"
  225.                 android:layout_height="wrap_content"
  226.                 android:layout_weight="1"
  227.                 android:text="Fecha de nacimiento"
  228.                 android:textAlignment="center" />
  229.         </LinearLayout>
  230.  
  231.         <LinearLayout
  232.             android:layout_width="wrap_content"
  233.             android:layout_height="49dp"
  234.             android:orientation="horizontal">
  235.  
  236.             <TextView
  237.                 android:id="@+id/textView31"
  238.                 android:layout_width="35dp"
  239.                 android:layout_height="wrap_content"
  240.                 android:text="Año:" />
  241.  
  242.             <Spinner
  243.                 android:id="@+id/spAno"
  244.                 android:layout_width="81dp"
  245.                 android:layout_height="wrap_content" />
  246.  
  247.             <TextView
  248.                 android:id="@+id/tv"
  249.                 android:layout_width="wrap_content"
  250.                 android:layout_height="wrap_content"
  251.                 android:layout_weight="1"
  252.                 android:text="Mes:" />
  253.  
  254.             <Spinner
  255.                 android:id="@+id/spMes"
  256.                 android:layout_width="103dp"
  257.                 android:layout_height="wrap_content" />
  258.  
  259.             <TextView
  260.                 android:id="@+id/textView33"
  261.                 android:layout_width="32dp"
  262.                 android:layout_height="wrap_content"
  263.                 android:text="Día:" />
  264.  
  265.             <Spinner
  266.                 android:id="@+id/spDia"
  267.                 android:layout_width="62dp"
  268.                 android:layout_height="wrap_content" />
  269.  
  270.         </LinearLayout>
  271.  
  272.     </LinearLayout>
  273.  
  274. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement