apkfuckery/com.discord/res/layout/widget_chat_overlay.xml

10 lines
2.5 KiB
XML
Raw Normal View History

2019-11-15 02:21:15 +00:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
2020-04-08 16:24:01 +00:00
<com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@id/chat_overlay_old_messages_fab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="12.0dip" android:src="@drawable/ic_arrow_down" android:tint="?colorInteractiveNormal" android:backgroundTint="?colorBackgroundTertiary" app:borderWidth="0.0dip" app:fabSize="mini" app:layout_constraintBottom_toTopOf="@id/chat_overlay_typing" app:layout_constraintRight_toRightOf="parent" />
2019-11-20 22:09:14 +00:00
<RelativeLayout android:gravity="center_vertical" android:id="@id/chat_overlay_typing" android:background="?chat_typing_bg" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/uikit_typing_indicator_height" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:elevation="8.0dip" app:layout_constraintBottom_toBottomOf="parent" style="@style/UiKit.ViewGroup">
<TextView android:textSize="@dimen/uikit_textsize_small" android:ellipsize="end" android:gravity="center_vertical" android:id="@id/chat_typing_users_typing" android:layout_width="wrap_content" android:layout_height="@dimen/uikit_typing_indicator_height" android:maxLines="1" android:layout_alignParentStart="true" style="@style/UiKit.TextView" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:ellipsize="end" android:gravity="end|center" android:id="@id/chat_typing_users_slowmode" android:layout_width="wrap_content" android:layout_height="@dimen/uikit_typing_indicator_height" android:maxLines="1" android:layout_toStartOf="@id/chat_typing_users_slowmode_icon" android:layout_toEndOf="@id/chat_typing_users_typing" style="@style/UiKit.TextView" />
<ImageView android:id="@id/chat_typing_users_slowmode_icon" android:src="?ic_slowmode_timer" android:layout_centerVertical="true" android:contentDescription="@string/channel_slowmode_desc" android:layout_marginStart="@dimen/uikit_spacing_small" android:layout_alignParentEnd="true" style="@style/UiKit.ImageView" />
2019-11-15 02:21:15 +00:00
</RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>