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

41 lines
6.9 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="16.0dip" android:paddingEnd="16.0dip" 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="8.0dip" 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="24.0dip" 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="24.0dip" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_create" app:drawableEndCompat="@drawable/icon_carrot" app:drawableStartCompat="@drawable/drawable_guild_template_create" 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="8.0dip" 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="8.0dip" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_gaming" app:drawableEndCompat="@drawable/icon_carrot" app:drawableStartCompat="@drawable/drawable_guild_template_gaming" 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="8.0dip" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_friend" app:drawableEndCompat="@drawable/icon_carrot" app:drawableStartCompat="@drawable/drawable_guild_template_friend" 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="8.0dip" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_study" app:drawableEndCompat="@drawable/icon_carrot" app:drawableStartCompat="@drawable/drawable_guild_template_study" 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="8.0dip" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_creator" app:drawableEndCompat="@drawable/icon_carrot" app:drawableStartCompat="@drawable/drawable_guild_template_creator" 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="8.0dip" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_clubs" app:drawableEndCompat="@drawable/icon_carrot" app:drawableStartCompat="@drawable/drawable_guild_template_club" 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="8.0dip" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_community" app:drawableEndCompat="@drawable/icon_carrot" app:drawableStartCompat="@drawable/drawable_guild_template_community" 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="16.0dip" android:layout_marginBottom="16.0dip" 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="16.0dip" 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>