apkfuckery/com.discord/res/layout/widget_chat_overlay.xml
2020-03-27 23:23:51 +01:00

10 lines
No EOL
2.5 KiB
XML

<?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">
<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="@dimen/uikit_spacing_medium" 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" />
<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" />
</RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>