apkfuckery/com.discord/res/layout-v17/widget_channel_members_list...

16 lines
6.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" 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" />
<androidx.legacy.widget.Space android:id="@id/image_bottom_guideline" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_image_border_size_small" android:layout_marginTop="@dimen/uikit_image_border_size_small" android:layout_marginStart="@dimen/uikit_image_border_size_small" app:layout_constraintLeft_toRightOf="@id/channel_members_list_item_avatar" app:layout_constraintStart_toEndOf="@id/channel_members_list_item_avatar" app:layout_constraintTop_toBottomOf="@id/channel_members_list_item_avatar" />
<FrameLayout android:background="?primary_630_circle" android:padding="@dimen/uikit_image_border_size_small" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="@id/image_bottom_guideline" app:layout_constraintEnd_toEndOf="@id/image_bottom_guideline" app:layout_constraintRight_toRightOf="@id/image_bottom_guideline">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channel_members_list_item_presence" android:layout_width="8.0dip" android:layout_height="8.0dip" app:placeholderImage="@drawable/ic_status_idle_16dp" />
</FrameLayout>
<TextView android:id="@id/channel_members_list_item_name" android:layout_marginLeft="@dimen/uikit_spacing_large" android:singleLine="true" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/channel_members_list_item_game" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_bot" 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_bot" app:layout_constraintStart_toEndOf="@id/channel_members_list_item_avatar" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" style="@style/UiKit.TextView" />
<TextView android:textSize="9.5sp" android:textColor="@color/white" android:id="@id/channel_members_list_item_bot" android:background="@drawable/drawable_button_purple_neutral" android:paddingLeft="3.0dip" android:paddingTop="0.5dip" android:paddingRight="3.0dip" android:paddingBottom="0.5dip" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:text="@string/bot_tag" android:singleLine="true" android:layout_marginStart="@dimen/uikit_spacing_small" android:layout_marginEnd="@dimen/uikit_spacing_small" app:layout_constraintBaseline_toBaselineOf="@id/channel_members_list_item_name" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_group_owner_indicator" 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_name" style="@style/UiKit.TextView" />
<TextView android:textColor="@color/white_alpha_40" android:id="@id/channel_members_list_item_game" android:layout_marginLeft="@dimen/uikit_spacing_large" 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" />
<View android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="@id/channel_members_list_item_name" app:layout_constraintStart_toStartOf="@id/channel_members_list_item_name" style="@style/UiKit.Settings.Divider" />
</androidx.constraintlayout.widget.ConstraintLayout>