discord-jadx/app/src/main/res/layout/widget_chat_list_adapter_item_private_channel_start.xml
2021-09-11 08:38:47 +02:00

10 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" 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="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin">
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/private_channel_start_image" android:layout_width="@dimen/avatar_size_xxlarge" android:layout_height="@dimen/avatar_size_xxlarge" android:layout_marginTop="10dp" style="@style/Avatar_Standard"/>
<TextView android:textAppearance="@style/Markdown_Header1" android:textColor="?attr/colorHeaderPrimary" android:id="@+id/chat_list_adapter_item_private_channel_start_header" android:layout_width="match_parent" android:layout_marginTop="16dp" android:text="@string/unknown_user" style="@style/UiKit_TextView_H1_Bold"/>
<TextView android:textColor="?attr/colorTextMuted" android:id="@+id/private_channel_start_text" android:paddingTop="8dp" android:paddingBottom="8dp" android:layout_width="match_parent" android:text="@string/system_dm_empty_message" style="@style/UiKit_TextView"/>
<LinearLayout android:orientation="horizontal" android:id="@+id/mutual_guilds" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp">
<com.discord.views.PileView android:id="@+id/mutual_guild_pile" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="8dp" app:pile_itemBackgroundColor="?attr/color_brand" app:pile_itemCutoutThickness="2dp" app:pile_itemOverlap="4dp" app:pile_itemSize="24dp" app:pile_itemTextColor="@color/white" app:pile_maxItems="5" app:pile_overflowBackgroundColor="?attr/colorBackgroundTertiary"/>
<TextView android:textColor="?attr/colorTextMuted" android:gravity="center_vertical" android:id="@+id/mutual_guilds_text" android:layout_width="wrap_content" android:layout_height="match_parent" android:text="@string/user_profile_mutual_guilds_placeholder" style="@style/UiKit_TextView"/>
</LinearLayout>
</LinearLayout>