Advertisement
Guest User

asdasd

a guest
Nov 27th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 6.39 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView 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:orientation="vertical"
  6.     android:layout_width="match_parent"
  7.     android:layout_height="match_parent"
  8.     android:fitsSystemWindows="true">
  9.  
  10.     <android.support.constraint.ConstraintLayout
  11.         android:layout_width="match_parent"
  12.         android:layout_height="match_parent">
  13.  
  14.         <TextView
  15.             android:id="@+id/title"
  16.             style="@style/Text.Title"
  17.             android:layout_width="match_parent"
  18.             android:layout_height="wrap_content"
  19.             android:layout_alignParentTop="true"
  20.             android:gravity="center_horizontal"
  21.             android:text="Podsumowanie" />
  22.  
  23.         <android.support.v7.widget.CardView
  24.             android:id="@+id/cardView3"
  25.             android:layout_width="match_parent"
  26.             android:layout_height="0dp"
  27.             android:layout_margin="8dp"
  28.             android:layout_marginTop="8dp"
  29.             app:layout_constraintTop_toBottomOf="@+id/title"
  30.             tools:layout_editor_absoluteX="8dp">
  31.  
  32.             <LinearLayout
  33.                 android:layout_width="match_parent"
  34.                 android:layout_height="wrap_content"
  35.                 android:orientation="vertical"
  36.                 android:padding="8dp">
  37.  
  38.  
  39.                 <TextView
  40.                     android:id="@+id/country_label"
  41.                     style="@style/Text.CarDetailsLabel"
  42.                     android:layout_width="wrap_content"
  43.                     android:layout_height="19dp"
  44.  
  45.                     android:text="Kraj" />
  46.  
  47.                 <TextView
  48.                     android:id="@+id/country_value"
  49.                     style="@style/Text.CarDetailsValue"
  50.                     android:layout_width="wrap_content"
  51.                     android:layout_height="wrap_content"
  52.                     android:layout_marginTop="4dp"
  53.  
  54.                     tools:text="Hiszpania" />
  55.  
  56.                 <TextView
  57.                     android:id="@+id/person_data"
  58.                     style="@style/Text.CarDetailsValue"
  59.                     android:layout_width="wrap_content"
  60.                     android:layout_height="wrap_content"
  61.                     android:text="Dane użytkownika"
  62.                     android:layout_marginTop="8dp"/>
  63.  
  64.                 <TextView
  65.                     android:id="@+id/person_data_label"
  66.                     style="@style/Text.CarDetailsLabel"
  67.                     android:layout_width="wrap_content"
  68.                     android:layout_height="wrap_content"
  69.                     android:layout_marginTop="8dp"
  70.                     android:text="Imię i nazwisko" />
  71.  
  72.                 <TextView
  73.                     android:id="@+id/person_value"
  74.                     style="@style/Text.CarDetailsValue"
  75.                     android:layout_width="wrap_content"
  76.                     android:layout_height="wrap_content"
  77.                     android:layout_marginTop="4dp"
  78.  
  79.                     tools:text="Jan Kowalski" />
  80.  
  81.                 <TextView
  82.                     android:id="@+id/document_type_label"
  83.                     style="@style/Text.CarDetailsLabel"
  84.                     android:layout_width="wrap_content"
  85.                     android:layout_height="wrap_content"
  86.                     android:layout_marginTop="8dp"
  87.                     android:text="Rodzaj dokumentu" />
  88.  
  89.                 <TextView
  90.                     android:id="@+id/document_type_value"
  91.                     style="@style/Text.CarDetailsValue"
  92.                     android:layout_width="wrap_content"
  93.                     android:layout_height="wrap_content"
  94.                     android:layout_marginTop="8dp"
  95.                     tools:text="Dowód osobisty" />
  96.  
  97.             </LinearLayout>
  98.         </android.support.v7.widget.CardView>
  99.  
  100.         <TextView
  101.             android:id="@+id/additional_driver"
  102.             style="@style/Text.CarDetailsValue"
  103.             android:layout_width="match_parent"
  104.             android:layout_height="wrap_content"
  105.             android:layout_marginTop="8dp"
  106.             android:layout_marginLeft="16dp"
  107.             android:layout_marginRight="16dp"
  108.             android:text="Dane dodatkowych kierowców"
  109.             app:layout_constraintTop_toBottomOf="@+id/cardView3" />
  110.  
  111.         <android.support.v7.widget.RecyclerView
  112.             android:id="@+id/recycler_view"
  113.             android:layout_width="match_parent"
  114.             android:layout_height="wrap_content"
  115.             android:layout_alignParentLeft="true"
  116.             android:layout_alignParentStart="true"
  117.             android:layout_marginTop="8dp"
  118.             app:layoutManager="android.support.v7.widget.LinearLayoutManager"
  119.             app:layout_constraintTop_toBottomOf="@+id/additional_driver" />
  120.  
  121.  
  122.         <Button
  123.             android:id="@+id/cancel"
  124.             android:layout_width="0dp"
  125.             android:layout_height="wrap_content"
  126.             android:layout_marginStart="12dp"
  127.             android:layout_marginTop="8dp"
  128.             android:layout_weight="0.5"
  129.             android:enabled="true"
  130.             android:text="Anuluj"
  131.             android:theme="@style/Button.Default"
  132.             app:layout_constraintEnd_toStartOf="@+id/guideline2"
  133.             app:layout_constraintStart_toStartOf="parent"
  134.             app:layout_constraintTop_toBottomOf="@+id/recycler_view" />
  135.  
  136.         <Button
  137.             android:id="@+id/button"
  138.             android:layout_width="0dp"
  139.             android:layout_height="wrap_content"
  140.             android:layout_marginEnd="12dp"
  141.             android:layout_marginTop="8dp"
  142.             android:layout_weight="0.5"
  143.             android:enabled="true"
  144.             android:text="Dalej"
  145.             android:theme="@style/Button.Default"
  146.             app:layout_constraintEnd_toEndOf="parent"
  147.             app:layout_constraintStart_toStartOf="@+id/guideline2"
  148.             app:layout_constraintTop_toBottomOf="@+id/recycler_view" />
  149.  
  150.         <android.support.constraint.Guideline
  151.             android:id="@+id/guideline2"
  152.             android:layout_width="wrap_content"
  153.             android:layout_height="wrap_content"
  154.             android:orientation="vertical"
  155.             app:layout_constraintGuide_percent="0.5" />
  156.  
  157.     </android.support.constraint.ConstraintLayout>
  158.  
  159.  
  160. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement