11 lines
No EOL
4.6 KiB
XML
11 lines
No EOL
4.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:layout_width="fill_parent" android:layout_height="@dimen/channel_list_row_height" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large"
|
|
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/channel_members_list_item_avatar" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="@drawable/asset_default_avatar_32dp" style="@style/Avatar.Standard" />
|
|
<com.discord.views.StatusView android:id="@id/channel_members_list_item_presence" android:layout_width="10.0dip" android:layout_height="wrap_content" android:translationX="1.5dip" android:translationY="1.5dip" app:layout_constraintBottom_toBottomOf="@id/channel_members_list_item_avatar" app:layout_constraintRight_toRightOf="@id/channel_members_list_item_avatar" app:sv_background_color="?primary_600" app:sv_border_width="1.5dip" app:sv_corner_radius="2.0dip" />
|
|
<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="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_small" 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.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintHorizontal_weight="1.0" 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="parent" app:layout_constraintVertical_chainStyle="packed" />
|
|
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:textColor="?primary_400" android:id="@id/channel_members_list_item_game" android:singleLine="true" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_rich_presence_iv" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" 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/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/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="parent" 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="parent" style="@style/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="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.ImageView" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |