2019-05-14 12:07:53 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-12-16 13:45:06 +03:00
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-05-14 12:07:53 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-06-05 20:23:57 +03:00
|
|
|
android:layout_width="wrap_content"
|
2019-05-20 10:53:12 +03:00
|
|
|
android:layout_height="26dp"
|
2020-10-29 16:44:08 +03:00
|
|
|
android:background="@drawable/reaction_rounded_rect_shape"
|
2020-08-13 19:49:19 +03:00
|
|
|
android:clipChildren="false"
|
2020-12-16 13:45:06 +03:00
|
|
|
android:minWidth="44dp"
|
|
|
|
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
|
2019-05-14 12:07:53 +03:00
|
|
|
|
2019-06-05 20:23:57 +03:00
|
|
|
<!--<View-->
|
2020-08-13 19:49:19 +03:00
|
|
|
<!--android:id="@+id/reactionSelector"-->
|
|
|
|
<!--android:layout_width="match_parent"-->
|
|
|
|
<!--android:layout_height="match_parent"-->
|
|
|
|
<!--android:background="@drawable/rounded_rect_shape" />-->
|
2019-05-14 12:07:53 +03:00
|
|
|
|
2020-08-03 19:23:05 +03:00
|
|
|
<im.vector.app.features.reactions.widget.DotsView
|
2019-05-14 12:07:53 +03:00
|
|
|
android:id="@+id/dots"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
2019-05-20 10:53:12 +03:00
|
|
|
android:clipChildren="false"
|
2019-05-14 12:07:53 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/reactionText"
|
2019-05-20 10:53:12 +03:00
|
|
|
app:layout_constraintEnd_toEndOf="@+id/reactionText"
|
2019-05-14 12:07:53 +03:00
|
|
|
app:layout_constraintStart_toStartOf="@+id/reactionText"
|
2019-05-20 10:53:12 +03:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/reactionText" />
|
2019-05-14 12:07:53 +03:00
|
|
|
|
2020-08-03 19:23:05 +03:00
|
|
|
<im.vector.app.features.reactions.widget.CircleView
|
2019-05-14 12:07:53 +03:00
|
|
|
android:id="@+id/circle"
|
|
|
|
android:layout_width="14dp"
|
|
|
|
android:layout_height="14dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/reactionText"
|
2019-05-20 10:53:12 +03:00
|
|
|
app:layout_constraintEnd_toEndOf="@+id/reactionText"
|
2019-05-14 12:07:53 +03:00
|
|
|
app:layout_constraintStart_toStartOf="@+id/reactionText"
|
2019-05-20 10:53:12 +03:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/reactionText" />
|
2019-05-14 12:07:53 +03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/reactionText"
|
2019-07-09 11:13:56 +03:00
|
|
|
android:layout_width="wrap_content"
|
2019-05-14 12:07:53 +03:00
|
|
|
android:layout_height="20dp"
|
|
|
|
android:layout_marginStart="6dp"
|
2020-08-13 19:49:19 +03:00
|
|
|
android:ellipsize="middle"
|
2019-05-14 12:07:53 +03:00
|
|
|
android:gravity="center"
|
2019-08-18 21:26:53 +03:00
|
|
|
android:maxEms="10"
|
2020-08-13 19:49:19 +03:00
|
|
|
android:minWidth="20dp"
|
2019-08-18 21:26:53 +03:00
|
|
|
android:singleLine="true"
|
2020-08-13 19:49:19 +03:00
|
|
|
android:textColor="@color/black"
|
|
|
|
android:textSize="13sp"
|
2019-05-20 10:53:12 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-08-13 19:49:19 +03:00
|
|
|
app:layout_constraintEnd_toStartOf="@id/reactionCount"
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
2019-05-14 12:07:53 +03:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-08-18 21:26:53 +03:00
|
|
|
tools:text="* Party Parrot Again * 👀" />
|
2019-05-14 12:07:53 +03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/reactionCount"
|
2019-06-05 20:23:57 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-08-18 21:26:53 +03:00
|
|
|
android:layout_marginStart="2dp"
|
2019-06-05 20:23:57 +03:00
|
|
|
android:layout_marginEnd="8dp"
|
2019-05-14 12:07:53 +03:00
|
|
|
android:gravity="center"
|
|
|
|
android:maxLines="1"
|
2019-06-06 16:16:56 +03:00
|
|
|
android:textColor="?riotx_text_secondary"
|
2019-05-14 12:07:53 +03:00
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:autoSizeMaxTextSize="14sp"
|
|
|
|
app:autoSizeMinTextSize="8sp"
|
|
|
|
app:autoSizeTextType="uniform"
|
2020-08-13 19:49:19 +03:00
|
|
|
app:layout_constraintBaseline_toBaselineOf="@id/reactionText"
|
2019-05-14 12:07:53 +03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-08-13 19:49:19 +03:00
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/reactionText"
|
2019-06-05 20:23:57 +03:00
|
|
|
tools:text="13450" />
|
2019-05-14 12:07:53 +03:00
|
|
|
|
2020-12-16 13:45:06 +03:00
|
|
|
</merge>
|