11 lines
3.4 KiB
XML
11 lines
3.4 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:layout_width="match_parent" android:layout_height="wrap_content" app:cardBackgroundColor="?attr/colorBackgroundSecondaryAlt" app:cardCornerRadius="4dp" app:cardElevation="0dp">
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout android:paddingLeft="12dp" android:paddingRight="12dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingHorizontal="12dp">
|
||
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/widget_connection_integration_guild_icon" android:layout_width="32dp" android:layout_height="32dp" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="@+id/widget_connection_integration_join_guild" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="@+id/widget_connection_integration_join_guild" app:roundAsCircle="true"/>
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorHeaderPrimary" android:id="@+id/widget_connection_integration_guild_name" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" android:lineSpacingMultiplier="1" android:layout_marginHorizontal="8dp" app:layout_constraintBottom_toTopOf="@+id/widget_connection_integration_guild_handle" app:layout_constraintStart_toEndOf="@+id/widget_connection_integration_guild_icon" app:layout_constraintTop_toTopOf="@+id/widget_connection_integration_join_guild" app:layout_constraintVertical_chainStyle="2" style="@style/UiKit_TextView"/>
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorTextMuted" android:id="@+id/widget_connection_integration_guild_handle" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" android:lineSpacingMultiplier="1" android:layout_marginHorizontal="8dp" app:layout_constraintBottom_toBottomOf="@+id/widget_connection_integration_join_guild" app:layout_constraintStart_toEndOf="@+id/widget_connection_integration_guild_icon" app:layout_constraintTop_toBottomOf="@+id/widget_connection_integration_guild_name" style="@style/UiKit_TextView"/>
|
||
|
<com.google.android.material.button.MaterialButton android:id="@+id/widget_connection_integration_join_guild" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4dp" android:layout_marginBottom="4dp" android:text="@string/join" android:layout_marginVertical="4dp" app:layout_constraintBottom_toTopOf="@+id/widget_connection_integration_guild_join_error" app:layout_constraintEnd_toEndOf="0" app:layout_constraintTop_toTopOf="0" style="@style/UiKit_Material_Button_Secondary"/>
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?attr/colorError" android:id="@+id/widget_connection_integration_guild_join_error" android:visibility="visible" android:layout_marginBottom="8dp" android:text="@string/error_occurred_try_again" android:lineSpacingMultiplier="1" android:layout_marginEnd="8dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintStart_toStartOf="@+id/widget_connection_integration_guild_name" app:layout_constraintTop_toBottomOf="@+id/widget_connection_integration_join_guild" style="@style/UiKit_TextView"/>
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
</androidx.cardview.widget.CardView>
|