15 lines
No EOL
3.5 KiB
XML
15 lines
No EOL
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView android:gravity="center_horizontal" android:id="@id/guild_welcome_channel" android:layout_marginTop="@dimen/uikit_spacing_medium" app:cardBackgroundColor="?colorBackgroundSecondary" app:cardCornerRadius="@dimen/uikit_spacing_medium" app:cardElevation="0.0dip" style="@style/UiKit.ViewGroup"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/guild_welcome_channel_details" android:padding="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup">
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/guild_welcome_channel_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/guild_welcome_channel_text" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent">
|
|
<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="@dimen/uikit_spacing_small" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
|
<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="fitCenter" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="@drawable/ic_channel_text" app:roundedCornerRadius="@dimen/uikit_spacing_small" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/guild_welcome_channel_text" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_marginStart="@dimen/uikit_spacing_medium" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/guild_welcome_channel_icon" app:layout_constraintTop_toTopOf="parent">
|
|
<TextView android:id="@id/guild_welcome_channel_description" android:layout_marginTop="@dimen/uikit_spacing_medium" android:lineSpacingMultiplier="1.0" app:layout_constraintBottom_toTopOf="@id/guild_welcome_channel_name" app:layout_constraintStart_toStartOf="parent" style="@style/UiKit.TextView.Bold" />
|
|
<ImageView android:id="@id/guild_welcome_channel_hash" android:layout_width="16.0dip" android:layout_height="16.0dip" android:layout_marginTop="2.0dip" android:src="@drawable/ic_channel_text" android:contentDescription="@string/sample_empty_string" android:layout_marginEnd="2.0dip" 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="?colorHeaderSecondary" android:id="@id/guild_welcome_channel_name" android:layout_width="wrap_content" android:layout_marginStart="2.0dip" 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> |