2019-05-14 12:07:53 +03:00
|
|
|
<?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:layout_width="44dp"
|
2019-05-20 10:53:12 +03:00
|
|
|
android:layout_height="26dp"
|
|
|
|
android:clipChildren="false">
|
2019-05-14 12:07:53 +03:00
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/reactionSelector"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@drawable/rounded_rect_shape" />
|
|
|
|
|
|
|
|
<im.vector.riotredesign.features.reactions.widget.DotsView
|
|
|
|
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
|
|
|
|
|
|
|
<im.vector.riotredesign.features.reactions.widget.CircleView
|
|
|
|
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"
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginLeft="6dp"
|
|
|
|
android:gravity="center"
|
2019-05-20 10:53:12 +03:00
|
|
|
android:textColor="@color/black"
|
2019-05-14 12:07:53 +03:00
|
|
|
android:textSize="13sp"
|
2019-05-20 10:53:12 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2019-05-14 12:07:53 +03:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-05-20 10:53:12 +03:00
|
|
|
tools:text="👍" />
|
2019-05-14 12:07:53 +03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/reactionCount"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:layout_marginRight="6dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:autoSizeMaxTextSize="14sp"
|
|
|
|
app:autoSizeMinTextSize="8sp"
|
|
|
|
app:autoSizeTextType="uniform"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
tools:text="10" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|