Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/commentItem"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <ImageView
- android:id="@+id/avatarIV"
- style="@style/CellLogoStyle"
- android:layout_marginTop="@dimen/margin_16dp"
- android:layout_marginEnd="@dimen/margin_8dp"
- android:contentDescription="@null"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/ic_contact_max" />
- <TextView
- android:id="@+id/nameTV"
- style="@style/CellTextStyle"
- android:layout_marginStart="@dimen/margin_16dp"
- android:layout_marginEnd="@dimen/margin_24dp"
- android:text="@color/textSubTitle"
- android:textSize="@dimen/size16"
- android:textStyle="bold"
- app:layout_constraintEnd_toEndOf="@id/rightArrow"
- app:layout_constraintStart_toEndOf="@+id/avatarIV"
- app:layout_constraintTop_toTopOf="@+id/avatarIV"
- tools:text="Василий Алибабаевич" />
- <TextView
- android:id="@+id/dateTV"
- style="@style/CellTextStyle"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:contentDescription="@null"
- app:layout_constraintBottom_toBottomOf="@id/typeTV"
- app:layout_constraintStart_toStartOf="@+id/nameTV"
- tools:text="Сегодня 14:00" />
- <TextView
- android:id="@+id/typeTV"
- style="@style/CellTextStyle"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/margin_4dp"
- app:layout_constraintBottom_toBottomOf="@+id/avatarIV"
- app:layout_constraintEnd_toEndOf="@+id/nameTV"
- app:layout_constraintStart_toEndOf="@+id/dateTV"
- app:layout_constraintTop_toBottomOf="@+id/nameTV"
- tools:text="Входящий" />
- <ImageView
- android:id="@+id/rightArrow"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/margin_16dp"
- android:contentDescription="@null"
- app:layout_constraintBottom_toBottomOf="@+id/typeTV"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="@+id/nameTV"
- app:srcCompat="@drawable/ic_right_arrow" />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment