mirror of
https://github.com/element-hq/element-android
synced 2024-12-23 01:31:24 +03:00
45 lines
1.6 KiB
XML
45 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge 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="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/reaction_rounded_rect_shape"
|
|
android:clipChildren="false"
|
|
android:gravity="center"
|
|
tools:parentTag="android.widget.LinearLayout">
|
|
|
|
<!--<View-->
|
|
<!--android:id="@+id/reactionSelector"-->
|
|
<!--android:layout_width="match_parent"-->
|
|
<!--android:layout_height="match_parent"-->
|
|
<!--android:background="@drawable/rounded_rect_shape" />-->
|
|
|
|
<TextView
|
|
android:id="@+id/reactionText"
|
|
style="@style/Widget.Vector.TextView.Caption"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="middle"
|
|
android:gravity="center"
|
|
android:maxEms="10"
|
|
android:singleLine="true"
|
|
android:textColor="@color/emoji_color"
|
|
tools:text="* Party Parrot Again * 👀" />
|
|
|
|
<TextView
|
|
android:id="@+id/reactionCount"
|
|
style="@style/Widget.Vector.TextView.Micro"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="2dp"
|
|
android:gravity="center"
|
|
android:maxLines="1"
|
|
android:textColor="?vctr_content_secondary"
|
|
android:textStyle="bold"
|
|
app:autoSizeMaxTextSize="14sp"
|
|
app:autoSizeMinTextSize="8sp"
|
|
app:autoSizeTextType="uniform"
|
|
tools:text="13450" />
|
|
|
|
</merge>
|