discord-jadx/app/src/main/res/layout/widget_channel_members_list...

11 lines
4.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="?attr/selectableItemBackground" android:layout_width="match_parent" android:layout_height="@dimen/channel_list_row_height" android:paddingStart="16dp" android:paddingEnd="16dp">
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/channel_members_list_item_avatar" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:placeholderImage="?attr/asset_default_avatar_32dp" style="@style/res_2131951681_avatar_standard"/>
<com.discord.views.StatusView android:id="@+id/channel_members_list_item_presence" android:layout_width="10dp" android:layout_height="wrap_content" android:translationX="1.5dp" android:translationY="1.5dp" app:layout_constraintBottom_toBottomOf="@+id/channel_members_list_item_avatar" app:layout_constraintRight_toRightOf="@+id/channel_members_list_item_avatar" app:sv_background_color="?attr/primary_600" app:sv_border_width="1.5dp" app:sv_corner_radius="2dp"/>
<com.discord.views.UsernameView android:id="@+id/channel_members_list_item_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="4dp" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@+id/channel_members_list_item_game" app:layout_constraintEnd_toStartOf="@+id/channel_members_list_item_group_owner_indicator" app:layout_constraintHorizontal_bias="0" app:layout_constraintHorizontal_chainStyle="2" app:layout_constraintHorizontal_weight="1" app:layout_constraintRight_toRightOf="@+id/channel_members_list_item_group_owner_indicator" app:layout_constraintStart_toEndOf="@+id/channel_members_list_item_avatar" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2"/>
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:textColor="?attr/primary_400" android:id="@+id/channel_members_list_item_game" android:singleLine="true" android:layout_marginStart="16dp" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toStartOf="@+id/channel_members_list_item_rich_presence_iv" app:layout_constraintHorizontal_bias="0" app:layout_constraintHorizontal_chainStyle="2" app:layout_constraintLeft_toRightOf="@+id/channel_members_list_item_avatar" app:layout_constraintRight_toLeftOf="@+id/channel_members_list_item_rich_presence_iv" app:layout_constraintStart_toEndOf="@+id/channel_members_list_item_avatar" app:layout_constraintTop_toBottomOf="@+id/channel_members_list_item_name" style="@style/res_2131952579_uikit_textview_subtext"/>
<ImageView android:id="@+id/channel_members_list_item_rich_presence_iv" android:src="@drawable/ic_rich_presence_grey_16dp" android:contentDescription="@string/user_activity_header_playing" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="@+id/channel_members_list_item_game" app:layout_constraintEnd_toStartOf="@+id/channel_members_list_item_group_owner_indicator" app:layout_constraintLeft_toRightOf="@+id/channel_members_list_item_game" app:layout_constraintRight_toLeftOf="@+id/channel_members_list_item_group_owner_indicator" app:layout_constraintStart_toEndOf="@+id/channel_members_list_item_game" app:layout_constraintTop_toTopOf="@+id/channel_members_list_item_game" style="@style/res_2131952448_uikit_imageview"/>
<ImageView android:id="@+id/channel_members_list_item_group_owner_indicator" android:src="@drawable/ic_crown_24dp" android:contentDescription="@string/user_activity_header_playing" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toStartOf="@+id/channel_members_list_item_boosted_indicator" app:layout_constraintRight_toLeftOf="@+id/channel_members_list_item_boosted_indicator" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952448_uikit_imageview"/>
<ImageView android:id="@+id/channel_members_list_item_boosted_indicator" android:src="@drawable/ic_member_list_boosted_badge_24dp" android:contentDescription="@string/user_activity_header_playing" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952448_uikit_imageview"/>
</androidx.constraintlayout.widget.ConstraintLayout>