14 lines
3.3 KiB
XML
14 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:gravity="center_horizontal" android:id="@+id/guild_welcome_channel" android:layout_marginTop="8dp" app:cardBackgroundColor="?attr/colorBackgroundSecondary" app:cardCornerRadius="8dp" app:cardElevation="0dp" style="@style/UiKit_ViewGroup">
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/guild_welcome_channel_details" android:padding="16dp" style="@style/UiKit_ViewGroup">
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/guild_welcome_channel_icon" android:layout_width="wrap_content" android:layout_height="match_parent" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toStartOf="@+id/guild_welcome_channel_text" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0">
|
|
<TextView android:id="@+id/guild_welcome_channel_unicode_emoji" android:visibility="gone" android:layout_width="@dimen/avatar_size_medium" android:layout_height="@dimen/avatar_size_medium" android:layout_marginTop="4dp" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/guild_welcome_channel_emoji" android:layout_width="@dimen/avatar_size_medium" android:layout_height="@dimen/avatar_size_medium" android:baselineAlignBottom="false" app:actualImageScaleType="2" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:placeholderImage="@drawable/ic_channel_text" app:roundedCornerRadius="4dp"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/guild_welcome_channel_text" android:layout_width="0dp" android:layout_height="match_parent" android:layout_marginStart="8dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toEndOf="@+id/guild_welcome_channel_icon" app:layout_constraintTop_toTopOf="0">
|
|
<TextView android:id="@+id/guild_welcome_channel_description" android:layout_marginTop="8dp" android:lineSpacingMultiplier="1" app:layout_constraintBottom_toTopOf="@+id/guild_welcome_channel_name" app:layout_constraintStart_toStartOf="0" style="@style/UiKit_TextView_Bold"/>
|
|
<ImageView android:id="@+id/guild_welcome_channel_hash" android:layout_width="16dp" android:layout_height="16dp" android:layout_marginTop="2dp" android:src="@drawable/ic_channel_text" android:importantForAccessibility="no" android:layout_marginEnd="2dp" app:layout_constraintEnd_toStartOf="@+id/guild_welcome_channel_name" app:layout_constraintTop_toBottomOf="@+id/guild_welcome_channel_description" style="@style/UiKit_ImageView"/>
|
|
<TextView android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_welcome_channel_name" android:layout_width="wrap_content" android:layout_marginStart="2dp" app:layout_constraintStart_toEndOf="@+id/guild_welcome_channel_hash" app:layout_constraintTop_toBottomOf="@+id/guild_welcome_channel_description" style="@style/UiKit_TextView_SingleLine"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.cardview.widget.CardView>
|