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

10 lines
3.2 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">
2019-11-20 22:09:14 +00:00
<com.google.android.material.chip.Chip android:textAppearance="@style/UiKit.TextView" android:textColor="@color/white" android:gravity="start" android:layout_gravity="center_horizontal" android:id="@id/chat_overlay_old_messages_chip" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_medium" android:text="@string/youre_viewing_older_messages" android:textAlignment="textStart" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" app:chipBackgroundColor="@color/status_grey_500" app:chipIcon="@drawable/ic_message_white_18dp" app:chipIconEnabled="true" app:chipIconSize="18.0dip" app:chipIconVisible="true" app:closeIcon="@drawable/ic_arrow_drop_down_white_18dp" app:closeIconEnabled="true" app:closeIconEndPadding="@dimen/uikit_spacing_medium" app:closeIconSize="18.0dip" app:closeIconTint="@color/white" app:closeIconVisible="true" app:iconStartPadding="@dimen/uikit_spacing_medium" app:layout_constraintBottom_toTopOf="@id/chat_overlay_typing" style="@style/Widget.MaterialComponents.Chip.Action" />
<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>