apkfuckery/com.discord/res/layout/widget_nux_guild_template.xml

41 lines
7.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:background="?primary_600" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.appcompat.widget.Toolbar android:background="@color/transparent" app:navigationIcon="?ic_action_bar_close" style="@style/AppTheme.Toolbar" />
<androidx.constraintlayout.widget.ConstraintLayout android:layout_height="0.0dip" android:layout_weight="1.0" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.ConstraintLayout">
<LinearLayout android:id="@id/nux_guild_template_section_top" app:layout_constraintBottom_toTopOf="@id/nux_guild_template_section_custom_label" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.0" app:layout_constraintVertical_chainStyle="packed" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:layout_gravity="center" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/guild_template_selector_title" style="@style/UiKit.TextView.H1.Bold" />
</LinearLayout>
<TextView android:gravity="center" android:layout_gravity="center" android:id="@id/nux_guild_template_section_custom_label" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_xlarge" android:text="@string/guild_template_selector_description" app:layout_constraintBottom_toTopOf="@id/nux_guild_template_section_custom" app:layout_constraintTop_toBottomOf="@id/nux_guild_template_section_top" style="@style/UiKit.TextView" />
<androidx.core.widget.NestedScrollView android:id="@id/nux_guild_template_section_custom" android:layout_height="wrap_content" app:layout_constrainedHeight="true" app:layout_constraintBottom_toTopOf="@id/nux_guild_template_section_bottom" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/nux_guild_template_section_custom_label" style="@style/UiKit.ViewGroup.NestedScrollView">
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
<com.google.android.material.card.MaterialCardView android:id="@id/nux_guild_template_action_create" android:layout_marginBottom="@dimen/uikit_spacing_xlarge" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_create" android:drawableStart="@drawable/drawable_guild_template_create" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />
</com.google.android.material.card.MaterialCardView>
<TextView android:textAppearance="@style/UiKit.TextAppearance.ListItem.Label" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/guild_template_selector_option_header" />
<com.google.android.material.card.MaterialCardView android:id="@id/nux_guild_template_action_gaming" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_gaming" android:drawableStart="@drawable/drawable_guild_template_gaming" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView android:id="@id/nux_guild_template_action_friend" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_friend" android:drawableStart="@drawable/drawable_guild_template_friend" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView android:id="@id/nux_guild_template_action_study" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_study" android:drawableStart="@drawable/drawable_guild_template_study" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView android:id="@id/nux_guild_template_action_creator" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_creator" android:drawableStart="@drawable/drawable_guild_template_creator" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView android:id="@id/nux_guild_template_action_club" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_clubs" android:drawableStart="@drawable/drawable_guild_template_club" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView android:id="@id/nux_guild_template_action_community" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_community" android:drawableStart="@drawable/drawable_guild_template_community" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<LinearLayout android:id="@id/nux_guild_template_section_bottom" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/nux_guild_template_section_custom" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textSize="@dimen/uikit_textsize_xlarge" android:layout_gravity="center_horizontal" android:layout_marginBottom="@dimen/uikit_spacing_large" android:text="@string/nuf_have_an_invite_already" style="@style/UiKit.TextView.Semibold" />
<com.google.android.material.button.MaterialButton android:id="@id/nux_guild_template_action_join" android:text="@string/nuf_join_a_friend" style="@style/UiKit.Material.Button.Secondary" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>