Guest User

Untitled

a guest
Sep 2nd, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.82 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.coordinatorlayout.widget.CoordinatorLayout 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.  
  8.     <com.google.android.material.appbar.AppBarLayout
  9.        android:id="@+id/appBarLayout"
  10.        android:layout_width="match_parent"
  11.        android:layout_height="wrap_content"
  12.        app:layout_constraintEnd_toEndOf="parent"
  13.        app:layout_constraintStart_toStartOf="parent"
  14.        app:layout_constraintTop_toTopOf="parent">
  15.  
  16.         <androidx.appcompat.widget.Toolbar
  17.            android:id="@+id/task_info_toolbar"
  18.            android:layout_width="match_parent"
  19.            android:layout_height="?attr/actionBarSize"
  20.            android:background="@color/colorPrimary" />
  21.     </com.google.android.material.appbar.AppBarLayout>
  22.  
  23.  
  24.     <LinearLayout
  25.        android:orientation="vertical"
  26.        android:layout_width="match_parent"
  27.        android:layout_height="wrap_content">
  28.         <com.google.android.material.card.MaterialCardView
  29.            android:id="@+id/materialCardView"
  30.            android:layout_width="match_parent"
  31.            android:layout_height="50dp"
  32.            android:visibility="visible"
  33.            android:layout_marginStart="8dp"
  34.            android:layout_marginTop="60dp"
  35.            android:layout_marginEnd="8dp"
  36.            app:cardBackgroundColor="@color/colorWhite"
  37.            app:layout_constraintEnd_toEndOf="parent"
  38.            app:layout_constraintStart_toStartOf="parent"
  39.            app:layout_constraintTop_toBottomOf="@+id/appBarLayout">
  40.  
  41.             <androidx.constraintlayout.widget.ConstraintLayout
  42.                android:layout_width="match_parent"
  43.                android:layout_height="match_parent">
  44.  
  45.                 <androidx.constraintlayout.widget.Guideline
  46.                    android:id="@+id/guideline5"
  47.                    android:layout_width="wrap_content"
  48.                    android:layout_height="wrap_content"
  49.                    android:orientation="vertical"
  50.                    app:layout_constraintGuide_begin="212dp" />
  51.  
  52.                 <ImageView
  53.                    android:id="@+id/imageView5"
  54.                    android:layout_width="wrap_content"
  55.                    android:layout_height="wrap_content"
  56.                    android:layout_marginStart="8dp"
  57.                    app:layout_constraintBottom_toBottomOf="parent"
  58.                    app:layout_constraintStart_toStartOf="parent"
  59.                    app:layout_constraintTop_toTopOf="parent"
  60.                    app:srcCompat="@drawable/ic_objects" />
  61.  
  62.                 <TextView
  63.                    android:id="@+id/textView2"
  64.                    android:layout_width="wrap_content"
  65.                    android:layout_height="wrap_content"
  66.                    android:layout_marginStart="8dp"
  67.                    android:text="Москва, ул. Котельная 18, второй этаж "
  68.                    android:textColor="@color/colorEnterButton"
  69.                    app:layout_constraintBottom_toBottomOf="@+id/imageView5"
  70.                    app:layout_constraintStart_toEndOf="@+id/imageView5"
  71.                    app:layout_constraintTop_toTopOf="@+id/imageView5" />
  72.  
  73.                 <ImageButton
  74.                    android:id="@+id/imageButton"
  75.                    android:layout_width="24dp"
  76.                    android:layout_height="24dp"
  77.                    android:layout_marginTop="8dp"
  78.                    android:layout_marginEnd="8dp"
  79.                    android:layout_marginBottom="7dp"
  80.                    android:backgroundTint="@color/colorWhite"
  81.                    app:layout_constraintBottom_toBottomOf="parent"
  82.                    app:layout_constraintEnd_toEndOf="parent"
  83.                    app:layout_constraintTop_toTopOf="parent"
  84.                    app:srcCompat="@drawable/ic_arrow_forward" />
  85.             </androidx.constraintlayout.widget.ConstraintLayout>
  86.         </com.google.android.material.card.MaterialCardView>
  87.         <androidx.recyclerview.widget.RecyclerView
  88.            android:id="@+id/recycler_view_photos"
  89.            android:layout_width="match_parent"
  90.            android:layout_height="wrap_content"
  91.            app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  92.            app:layout_constraintEnd_toEndOf="parent"
  93.            app:layout_constraintStart_toStartOf="parent"
  94.            app:layout_constraintTop_toBottomOf="@+id/materialCardView"
  95.            app:layout_constraintVertical_bias="0.06999999"
  96.            tools:listitem="@layout/item_add_photo"
  97.            tools:orientation="horizontal" />
  98.     </LinearLayout>
  99.  
  100.  
  101.  
  102.     <androidx.coordinatorlayout.widget.CoordinatorLayout
  103.        app:layout_constraintBottom_toBottomOf="parent"
  104.        app:layout_constraintEnd_toEndOf="parent"
  105.        app:layout_constraintHorizontal_bias="1.0"
  106.        app:layout_constraintStart_toStartOf="parent"
  107.        android:layout_marginTop="?attr/actionBarSize"
  108.        app:layout_constraintTop_toBottomOf="@+id/recycler_view_photos"
  109.        android:layout_width="match_parent"
  110.        android:layout_height="match_parent">
  111.         <androidx.recyclerview.widget.RecyclerView
  112.            android:id="@+id/task_recycler"
  113.            app:layout_behavior="@string/bottom_sheet_behavior"
  114.            app:behavior_peekHeight="350dp"
  115.            app:behavior_hideable="false"
  116.            android:background="@color/colorWhite"
  117.            android:layout_width="match_parent"
  118.            android:layout_height="match_parent"
  119.            tools:listitem="@layout/item_task" />
  120.     </androidx.coordinatorlayout.widget.CoordinatorLayout>
  121.  
  122. </androidx.coordinatorlayout.widget.CoordinatorLayout>
Add Comment
Please, Sign In to add comment