Guest User

Untitled

a guest
Nov 25th, 2021
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.75 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.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:id="@+id/commentItem"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="wrap_content">
  8.  
  9.     <ImageView
  10.        android:id="@+id/avatarIV"
  11.        style="@style/CellLogoStyle"
  12.        android:layout_marginTop="@dimen/margin_16dp"
  13.        android:layout_marginEnd="@dimen/margin_8dp"
  14.        android:contentDescription="@null"
  15.        app:layout_constraintBottom_toBottomOf="parent"
  16.        app:layout_constraintStart_toStartOf="parent"
  17.        app:layout_constraintTop_toTopOf="parent"
  18.        app:srcCompat="@drawable/ic_contact_max" />
  19.  
  20.     <TextView
  21.        android:id="@+id/nameTV"
  22.        style="@style/CellTextStyle"
  23.        android:layout_marginStart="@dimen/margin_16dp"
  24.        android:layout_marginEnd="@dimen/margin_24dp"
  25.        android:text="@color/textSubTitle"
  26.        android:textSize="@dimen/size16"
  27.        android:textStyle="bold"
  28.        app:layout_constraintEnd_toEndOf="@id/rightArrow"
  29.        app:layout_constraintStart_toEndOf="@+id/avatarIV"
  30.        app:layout_constraintTop_toTopOf="@+id/avatarIV"
  31.        tools:text="Василий Алибабаевич" />
  32.  
  33.     <TextView
  34.        android:id="@+id/dateTV"
  35.        style="@style/CellTextStyle"
  36.        android:layout_width="0dp"
  37.        android:layout_height="wrap_content"
  38.        android:contentDescription="@null"
  39.        app:layout_constraintBottom_toBottomOf="@id/typeTV"
  40.        app:layout_constraintStart_toStartOf="@+id/nameTV"
  41.        tools:text="Сегодня 14:00" />
  42.  
  43.     <TextView
  44.        android:id="@+id/typeTV"
  45.        style="@style/CellTextStyle"
  46.        android:layout_width="0dp"
  47.        android:layout_height="wrap_content"
  48.        android:layout_marginStart="@dimen/margin_4dp"
  49.        app:layout_constraintBottom_toBottomOf="@+id/avatarIV"
  50.        app:layout_constraintEnd_toEndOf="@+id/nameTV"
  51.        app:layout_constraintStart_toEndOf="@+id/dateTV"
  52.        app:layout_constraintTop_toBottomOf="@+id/nameTV"
  53.        tools:text="Входящий" />
  54.  
  55.     <ImageView
  56.        android:id="@+id/rightArrow"
  57.        android:layout_width="wrap_content"
  58.        android:layout_height="wrap_content"
  59.        android:layout_marginEnd="@dimen/margin_16dp"
  60.        android:contentDescription="@null"
  61.        app:layout_constraintBottom_toBottomOf="@+id/typeTV"
  62.        app:layout_constraintEnd_toEndOf="parent"
  63.        app:layout_constraintTop_toTopOf="@+id/nameTV"
  64.        app:srcCompat="@drawable/ic_right_arrow" />
  65.  
  66. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment