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"
|
|
|
|
android:background="?riotx_background"
|
|
|
|
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"
|
|
|
|
android:background="?attr/colorAccent"
|
|
|
|
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"
|
2019-12-05 16:51:12 +03:00
|
|
|
tools:src="@tools:sample/avatars" />
|
|
|
|
|
2019-12-05 22:28:07 +03:00
|
|
|
<im.vector.riotx.features.home.room.list.UnreadCounterBadgeView
|
|
|
|
android:id="@+id/breadcrumbsUnreadCounterBadgeView"
|
|
|
|
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"
|
2019-12-05 22:28:07 +03:00
|
|
|
android:textColor="@android:color/white"
|
2019-12-16 12:20:38 +03:00
|
|
|
android:textSize="11sp"
|
2019-12-05 22:28:07 +03:00
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintCircle="@+id/breadcrumbsImageView"
|
|
|
|
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"
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
android:background="@drawable/bg_breadcrumbs_typing"
|
|
|
|
android:gravity="center"
|
2020-01-12 00:12:56 +03:00
|
|
|
android:text="@string/ellipsis"
|
2020-01-11 22:43:47 +03:00
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="11sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintCircle="@+id/breadcrumbsImageView"
|
|
|
|
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"
|
|
|
|
android:padding="3dp"
|
|
|
|
android:src="@drawable/ic_edit"
|
|
|
|
android:visibility="gone"
|
|
|
|
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>
|