- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="tim.lab12.MainActivity">
- <ViewFlipper
- android:id="@+id/view_flipper"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- tools:layout_editor_absoluteX="8dp"
- tools:layout_editor_absoluteY="8dp"
- android:layout_alignParentTop="true"
- android:layout_alignParentStart="true">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TextView
- android:id="@+id/ekran1InsuranceEndDateText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/ekran1DateSigningField"
- android:layout_centerHorizontal="true"
- android:text="Insurance end Date(MM/dd/yyyy)" />
- <TextView
- android:id="@+id/ekran1DateSigningText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Date of signing(MM/dd/yyyy)"
- android:layout_below="@+id/ektran1InsuranceNumberField"
- android:layout_centerHorizontal="true" />
- <TextView
- android:id="@+id/ekran1Text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Ekran 1"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <Button
- android:id="@+id/taskBtn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
- android:layout_alignParentTop="true"
- android:layout_marginStart="30dp"
- android:layout_marginTop="30dp"
- android:text="Async task" />
- <TextView
- android:id="@+id/ekran1InsuranceNumberText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="InsurtenceNumber"
- android:layout_below="@+id/taskBtn"
- android:layout_toEndOf="@+id/taskBtn" />
- <EditText
- android:id="@+id/ektran1InsuranceNumberField"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="textPersonName"
- android:text=" InsuranceNumber"
- android:layout_below="@+id/ekran1InsuranceNumberText"
- android:layout_alignStart="@+id/ekran1DateSigningField" />
- <EditText
- android:id="@+id/ekran1DateSigningField"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="textPersonName"
- android:text="10/05/2018"
- android:layout_below="@+id/ekran1DateSigningText"
- android:layout_alignStart="@+id/ekran1InsuranceEndDateText" />
- <EditText
- android:id="@+id/ekran1InsuranceEndDateField"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="textPersonName"
- android:text="11/20/2018"
- android:layout_below="@+id/ekran1InsuranceEndDateText"
- android:layout_alignStart="@+id/ekran1InsuranceEndDateText" />
- <TextView
- android:id="@+id/ekran1TablePlateText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignStart="@+id/ekran1InsuranceNumberText"
- android:layout_alignTop="@+id/ekran1InsuranceEndDateField"
- android:layout_marginTop="45dp"
- android:text="Car plate number" />
- <EditText
- android:id="@+id/ekran1TablePlateField"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignStart="@+id/ekran1InsuranceEndDateField"
- android:layout_below="@+id/ekran1TablePlateText"
- android:ems="10"
- android:inputType="textPersonName"
- android:text="CBRT731" />
- <TextView
- android:id="@+id/ekran1ManufacturerText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignStart="@+id/ekran1TablePlateText"
- android:layout_below="@+id/ekran1TablePlateField"
- android:text="Car manufacturer" />
- <EditText
- android:id="@+id/ekran1ManufacturerField"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignStart="@+id/ekran1TablePlateField"
- android:layout_below="@+id/ekran1ManufacturerText"
- android:ems="10"
- android:inputType="textPersonName"
- android:text="Renault" />
- <TextView
- android:id="@+id/ekran1ModelText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/ekran1ManufacturerField"
- android:layout_centerHorizontal="true"
- android:text="Car model" />
- <EditText
- android:id="@+id/ekran1CarModelField"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignStart="@+id/ekran1ManufacturerField"
- android:layout_below="@+id/ekran1ModelText"
- android:ems="10"
- android:inputType="textPersonName"
- android:text="Megane" />
- <Button
- android:id="@+id/ekran1SendButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Send"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:layout_marginBottom="25dp" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TextView
- android:id="@+id/ekran2Text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Ekran 2"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TextView
- android:id="@+id/ekran3Text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Ekran 3"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </RelativeLayout>
- </ViewFlipper>
- </RelativeLayout>