2019-12-05 16:51:12 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-12-05 22:28:07 +03:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-12-05 16:51:12 +03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/breadcrumbsRoot"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:background="?android:colorBackground"
|
2019-12-05 16:51:12 +03:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:foreground="?attr/selectableItemBackground">
|
|
|
|
|
2019-12-05 22:28:07 +03:00
|
|
|
<View
|
|
|
|
android:id="@+id/breadcrumbsUnreadIndicator"
|
|
|
|
android:layout_width="4dp"
|
|
|
|
android:layout_height="0dp"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:background="?colorSecondary"
|
2019-12-05 22:28:07 +03:00
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2019-12-05 16:51:12 +03:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/breadcrumbsImageView"
|
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
2019-12-05 22:28:07 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2021-02-12 20:00:10 +03:00
|
|
|
tools:ignore="ContentDescription"
|
2021-05-10 23:34:13 +03:00
|
|
|
tools:src="@sample/room_round_avatars" />
|
2019-12-05 16:51:12 +03:00
|
|
|
|
2020-08-03 19:23:05 +03:00
|
|
|
<im.vector.app.features.home.room.list.UnreadCounterBadgeView
|
2019-12-05 22:28:07 +03:00
|
|
|
android:id="@+id/breadcrumbsUnreadCounterBadgeView"
|
2021-06-16 12:59:08 +03:00
|
|
|
style="@style/Widget.Vector.TextView.Micro"
|
2019-12-05 22:28:07 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
2019-12-16 12:20:38 +03:00
|
|
|
android:minWidth="18dp"
|
|
|
|
android:minHeight="18dp"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:textColor="?colorOnError"
|
2019-12-05 22:28:07 +03:00
|
|
|
android:visibility="gone"
|
2021-12-02 00:19:33 +03:00
|
|
|
app:layout_constraintCircle="@id/breadcrumbsImageView"
|
2019-12-05 22:28:07 +03:00
|
|
|
app:layout_constraintCircleAngle="45"
|
|
|
|
app:layout_constraintCircleRadius="28dp"
|
|
|
|
tools:background="@drawable/bg_unread_highlight"
|
2019-12-07 00:00:49 +03:00
|
|
|
tools:ignore="MissingConstraints"
|
2019-12-05 22:28:07 +03:00
|
|
|
tools:text="24"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2020-01-11 22:43:47 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/breadcrumbsTypingView"
|
2021-06-16 12:59:08 +03:00
|
|
|
style="@style/Widget.Vector.TextView.Micro"
|
2020-01-11 22:43:47 +03:00
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:background="@drawable/circle"
|
|
|
|
android:backgroundTint="?colorPrimary"
|
2020-01-11 22:43:47 +03:00
|
|
|
android:gravity="center"
|
2020-01-12 00:12:56 +03:00
|
|
|
android:text="@string/ellipsis"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:textColor="?colorOnPrimary"
|
2020-01-11 22:43:47 +03:00
|
|
|
android:textStyle="bold"
|
|
|
|
android:visibility="gone"
|
2021-12-02 00:19:33 +03:00
|
|
|
app:layout_constraintCircle="@id/breadcrumbsImageView"
|
2020-01-11 22:43:47 +03:00
|
|
|
app:layout_constraintCircleAngle="135"
|
|
|
|
app:layout_constraintCircleRadius="28dp"
|
2020-01-12 00:12:56 +03:00
|
|
|
tools:ignore="MissingConstraints"
|
2020-01-11 22:43:47 +03:00
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2019-12-05 22:28:07 +03:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/breadcrumbsDraftBadge"
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
android:background="@drawable/circle"
|
2021-02-12 20:00:10 +03:00
|
|
|
android:contentDescription="@string/a11y_unsent_draft"
|
2019-12-05 22:28:07 +03:00
|
|
|
android:padding="3dp"
|
|
|
|
android:src="@drawable/ic_edit"
|
|
|
|
android:visibility="gone"
|
2021-12-02 00:19:33 +03:00
|
|
|
app:layout_constraintCircle="@id/breadcrumbsImageView"
|
2020-01-11 22:43:47 +03:00
|
|
|
app:layout_constraintCircleAngle="225"
|
2019-12-05 22:28:07 +03:00
|
|
|
app:layout_constraintCircleRadius="28dp"
|
2019-12-07 00:00:49 +03:00
|
|
|
tools:ignore="MissingConstraints"
|
2019-12-05 22:28:07 +03:00
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|