Facebook
From Sexy Sloth, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 213
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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.     tools:context="tim.lab12.MainActivity">
  8.  
  9.  
  10.     <ViewFlipper
  11.         android:id="@+id/view_flipper"
  12.         android:layout_width="match_parent"
  13.         android:layout_height="match_parent"
  14.         app:layout_constraintBottom_toBottomOf="parent"
  15.         app:layout_constraintLeft_toLeftOf="parent"
  16.         app:layout_constraintRight_toRightOf="parent"
  17.         app:layout_constraintTop_toTopOf="parent"
  18.         tools:layout_editor_absoluteX="8dp"
  19.         tools:layout_editor_absoluteY="8dp"
  20.         android:layout_alignParentTop="true"
  21.         android:layout_alignParentStart="true">
  22.  
  23.         <RelativeLayout
  24.             android:layout_width="match_parent"
  25.             android:layout_height="match_parent">
  26.  
  27.             <TextView
  28.  
  29.                 android:id="@+id/ekran1InsuranceEndDateText"
  30.                 android:layout_width="wrap_content"
  31.                 android:layout_height="wrap_content"
  32.                 android:layout_below="@+id/ekran1DateSigningField"
  33.                 android:layout_centerHorizontal="true"
  34.                 android:text="Insurance end Date(MM/dd/yyyy)" />
  35.  
  36.             <TextView
  37.  
  38.                 android:id="@+id/ekran1DateSigningText"
  39.                 android:layout_width="wrap_content"
  40.                 android:layout_height="wrap_content"
  41.                 android:text="Date of signing(MM/dd/yyyy)"
  42.                 android:layout_below="@+id/ektran1InsuranceNumberField"
  43.                 android:layout_centerHorizontal="true" />
  44.  
  45.             <TextView
  46.                 android:id="@+id/ekran1Text"
  47.                 android:layout_width="wrap_content"
  48.                 android:layout_height="wrap_content"
  49.                 android:text="Ekran 1"
  50.                 app:layout_constraintBottom_toBottomOf="parent"
  51.                 app:layout_constraintLeft_toLeftOf="parent"
  52.                 app:layout_constraintRight_toRightOf="parent"
  53.                 app:layout_constraintTop_toTopOf="parent" />
  54.  
  55.             <Button
  56.                 android:id="@+id/taskBtn"
  57.                 android:layout_width="wrap_content"
  58.                 android:layout_height="wrap_content"
  59.                 android:layout_alignParentStart="true"
  60.                 android:layout_alignParentTop="true"
  61.                 android:layout_marginStart="30dp"
  62.                 android:layout_marginTop="30dp"
  63.                 android:text="Async task" />
  64.  
  65.             <TextView
  66.  
  67.                 android:id="@+id/ekran1InsuranceNumberText"
  68.                 android:layout_width="wrap_content"
  69.                 android:layout_height="wrap_content"
  70.                 android:text="InsurtenceNumber"
  71.                 android:layout_below="@+id/taskBtn"
  72.                 android:layout_toEndOf="@+id/taskBtn" />
  73.  
  74.             <EditText
  75.                 android:id="@+id/ektran1InsuranceNumberField"
  76.                 android:layout_width="wrap_content"
  77.                 android:layout_height="wrap_content"
  78.                 android:ems="10"
  79.                 android:inputType="textPersonName"
  80.                 android:text=" InsuranceNumber"
  81.                 android:layout_below="@+id/ekran1InsuranceNumberText"
  82.                 android:layout_alignStart="@+id/ekran1DateSigningField" />
  83.  
  84.             <EditText
  85.                 android:id="@+id/ekran1DateSigningField"
  86.                 android:layout_width="wrap_content"
  87.                 android:layout_height="wrap_content"
  88.                 android:ems="10"
  89.                 android:inputType="textPersonName"
  90.                 android:text="10/05/2018"
  91.                 android:layout_below="@+id/ekran1DateSigningText"
  92.                 android:layout_alignStart="@+id/ekran1InsuranceEndDateText" />
  93.  
  94.             <EditText
  95.                 android:id="@+id/ekran1InsuranceEndDateField"
  96.                 android:layout_width="wrap_content"
  97.                 android:layout_height="wrap_content"
  98.                 android:ems="10"
  99.                 android:inputType="textPersonName"
  100.                 android:text="11/20/2018"
  101.                 android:layout_below="@+id/ekran1InsuranceEndDateText"
  102.                 android:layout_alignStart="@+id/ekran1InsuranceEndDateText" />
  103.  
  104.             <TextView
  105.  
  106.                 android:id="@+id/ekran1TablePlateText"
  107.                 android:layout_width="wrap_content"
  108.                 android:layout_height="wrap_content"
  109.                 android:layout_alignStart="@+id/ekran1InsuranceNumberText"
  110.                 android:layout_alignTop="@+id/ekran1InsuranceEndDateField"
  111.                 android:layout_marginTop="45dp"
  112.                 android:text="Car plate number" />
  113.  
  114.             <EditText
  115.                 android:id="@+id/ekran1TablePlateField"
  116.                 android:layout_width="wrap_content"
  117.                 android:layout_height="wrap_content"
  118.                 android:layout_alignStart="@+id/ekran1InsuranceEndDateField"
  119.                 android:layout_below="@+id/ekran1TablePlateText"
  120.                 android:ems="10"
  121.                 android:inputType="textPersonName"
  122.                 android:text="CBRT731" />
  123.  
  124.             <TextView
  125.  
  126.                 android:id="@+id/ekran1ManufacturerText"
  127.                 android:layout_width="wrap_content"
  128.                 android:layout_height="wrap_content"
  129.                 android:layout_alignStart="@+id/ekran1TablePlateText"
  130.                 android:layout_below="@+id/ekran1TablePlateField"
  131.                 android:text="Car manufacturer" />
  132.  
  133.             <EditText
  134.                 android:id="@+id/ekran1ManufacturerField"
  135.                 android:layout_width="wrap_content"
  136.                 android:layout_height="wrap_content"
  137.                 android:layout_alignStart="@+id/ekran1TablePlateField"
  138.                 android:layout_below="@+id/ekran1ManufacturerText"
  139.                 android:ems="10"
  140.                 android:inputType="textPersonName"
  141.                 android:text="Renault" />
  142.  
  143.             <TextView
  144.  
  145.                 android:id="@+id/ekran1ModelText"
  146.                 android:layout_width="wrap_content"
  147.                 android:layout_height="wrap_content"
  148.                 android:layout_below="@+id/ekran1ManufacturerField"
  149.                 android:layout_centerHorizontal="true"
  150.                 android:text="Car model" />
  151.  
  152.             <EditText
  153.                 android:id="@+id/ekran1CarModelField"
  154.                 android:layout_width="wrap_content"
  155.                 android:layout_height="wrap_content"
  156.                 android:layout_alignStart="@+id/ekran1ManufacturerField"
  157.                 android:layout_below="@+id/ekran1ModelText"
  158.                 android:ems="10"
  159.                 android:inputType="textPersonName"
  160.                 android:text="Megane" />
  161.            
  162.             <Button
  163.                 android:id="@+id/ekran1SendButton"
  164.                 android:layout_width="wrap_content"
  165.                 android:layout_height="wrap_content"
  166.                 android:text="Send"
  167.                 android:layout_alignParentBottom="true"
  168.                 android:layout_centerHorizontal="true"
  169.                 android:layout_marginBottom="25dp" />
  170.  
  171.         </RelativeLayout>
  172.  
  173.         <RelativeLayout
  174.             android:layout_width="match_parent"
  175.             android:layout_height="match_parent">
  176.  
  177.             <TextView
  178.                 android:id="@+id/ekran2Text"
  179.                 android:layout_width="wrap_content"
  180.                 android:layout_height="wrap_content"
  181.                 android:text="Ekran 2"
  182.                 app:layout_constraintBottom_toBottomOf="parent"
  183.                 app:layout_constraintLeft_toLeftOf="parent"
  184.                 app:layout_constraintRight_toRightOf="parent"
  185.                 app:layout_constraintTop_toTopOf="parent" />
  186.  
  187.         </RelativeLayout>
  188.  
  189.         <RelativeLayout
  190.             android:layout_width="match_parent"
  191.             android:layout_height="match_parent">
  192.  
  193.             <TextView
  194.                 android:id="@+id/ekran3Text"
  195.                 android:layout_width="wrap_content"
  196.                 android:layout_height="wrap_content"
  197.                 android:text="Ekran 3"
  198.                 app:layout_constraintBottom_toBottomOf="parent"
  199.                 app:layout_constraintLeft_toLeftOf="parent"
  200.                 app:layout_constraintRight_toRightOf="parent"
  201.                 app:layout_constraintTop_toTopOf="parent" />
  202.  
  203.         </RelativeLayout>
  204.  
  205.  
  206.     </ViewFlipper>
  207.  
  208.    
  209.  
  210.  
  211. </RelativeLayout>
  212.