apkfuckery/com.discord/res/layout/widget_chat_list_adapter_it...

11 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@id/chat_list_adapter_item_failed" android:background="?selectableItemBackground" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_adapter_item_text_avatar" android:importantForAccessibility="no" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" style="@style/Avatar.Chat" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toEndOf="@id/chat_list_adapter_item_text_avatar">
<TextView android:textColor="?colorHeaderPrimary" android:id="@id/chat_list_adapter_item_text_name" android:layout_marginBottom="4.0dip" android:maxWidth="150.0dip" android:text="@string/sample_user_name" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Large.SingleLine" />
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="@color/status_red_500" android:textColorLink="?colorTextLink" android:id="@id/chat_list_adapter_item_text" android:layout_width="fill_parent" android:layout_marginBottom="4.0dip" style="@style/UiKit.TextView" />
<com.discord.views.FailedUploadList android:id="@id/chat_list_adapter_item_failed_upload_list" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="4.0dip" />
<TextView android:textSize="11.0sp" android:textColor="@color/status_red_500" android:id="@id/chat_list_adapter_item_alert_text" android:layout_width="fill_parent" android:layout_marginBottom="4.0dip" android:text="@string/send_message_failure" android:drawablePadding="4.0dip" app:drawableStartCompat="@drawable/ic_alert_circle_16dp" style="@style/UiKit.TextView" />
</LinearLayout>
</RelativeLayout>