discord-jadx/app/src/main/res/layout/widget_guild_clone.xml

48 lines
7.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" style="@style/res_2131952600_uikit_viewgroup_page">
<com.google.android.material.appbar.AppBarLayout style="@style/res_2131951638_apptheme_appbarlayout_flat">
<androidx.appcompat.widget.Toolbar app:navigationContentDescription="@string/close" app:navigationIcon="?attr/ic_action_bar_close" style="@style/res_2131951670_apptheme_toolbar_transparent"/>
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView style="@style/res_2131952598_uikit_viewgroup_nestedscrollview_appbarscrollingviewbehavior">
<com.discord.app.AppViewFlipper android:id="@+id/guild_create_flipper" android:layout_height="match_parent" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<LinearLayout android:gravity="center_horizontal" android:visibility="gone" android:layout_height="match_parent" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:layout_marginBottom="8dp" android:text="@string/guild_template_resolving_title" style="@style/res_2131952565_uikit_textview_h2"/>
<ProgressBar android:id="@+id/loading_button_progress" android:layout_width="30dp" android:layout_height="30dp"/>
</LinearLayout>
<LinearLayout android:gravity="center_horizontal" android:visibility="gone" android:layout_height="match_parent" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:layout_marginBottom="8dp" android:text="@string/guild_template_invalid_title" style="@style/res_2131952565_uikit_textview_h2"/>
<TextView android:layout_marginBottom="8dp" android:text="@string/guild_template_invalid_subtitle" style="@style/res_2131952579_uikit_textview_subtext"/>
</LinearLayout>
<LinearLayout style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:gravity="center" android:layout_width="match_parent" android:layout_marginBottom="8dp" android:text="@string/guild_template_modal_title" style="@style/res_2131952564_uikit_textview_h1_bold"/>
<TextView android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="?attr/colorHeaderSecondary" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@+id/guild_template_name" android:layout_width="wrap_content" android:text="@string/sample_server_name" android:drawablePadding="8dp" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" app:drawableStartCompat="@drawable/ic_template_32dp" style="@style/res_2131952569_uikit_textview_large_singleline"/>
<include android:layout_gravity="center" android:id="@+id/guild_create_icon_uploader" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="24dp" layout="@layout/layout_icon_uploader"/>
<LinearLayout android:padding="16dp" style="@style/res_2131952408_uikit_copy">
<TextView android:paddingLeft="0dp" android:paddingRight="0dp" android:layout_marginBottom="8dp" android:text="@string/form_label_server_name" style="@style/res_2131952567_uikit_textview_h6"/>
<com.google.android.material.textfield.TextInputLayout android:id="@+id/guild_create_name" android:hint="@string/form_placeholder_server_name" style="@style/res_2131952543_uikit_textinputlayout">
<com.google.android.material.textfield.TextInputEditText android:layout_marginBottom="8dp" style="@style/res_2131952548_uikit_textinputlayout_edittext_singleline"/>
</com.google.android.material.textfield.TextInputLayout>
<com.discord.utilities.view.text.LinkifiedTextView android:layout_gravity="start" android:id="@+id/guild_create_guidelines" android:layout_marginLeft="0dp" android:layout_marginRight="0dp" android:layout_marginBottom="8dp" style="@style/res_2131952579_uikit_textview_subtext"/>
<com.discord.views.LoadingButton android:id="@+id/guild_create_button" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="8dp" app:lb_background_color="@color/uikit_btn_bg_color_selector_green" app:lb_progress_color="@color/white" app:lb_text="@string/create" app:lb_text_color="@drawable/button_text_color_primary_100"/>
<TextView android:textSize="12sp" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_create_protip" style="@style/res_2131952561_uikit_textview"/>
</LinearLayout>
<LinearLayout android:layout_marginStart="16dp" android:layout_marginEnd="16dp" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<View android:background="?attr/colorBackgroundModifierAccent" android:layout_marginTop="16dp" android:layout_marginBottom="@dimen/uikit_textsize_xxlarge" style="@style/res_2131952422_uikit_divider"/>
<TextView android:text="@string/channels" style="@style/res_2131952564_uikit_textview_h1_bold"/>
<TextView android:textColor="?attr/colorTextNormal" android:text="@string/guild_template_modal_channels_descriptions" style="@style/res_2131952579_uikit_textview_subtext"/>
<LinearLayout android:background="@drawable/drawable_rect_rounded_white_corner_radius_8dp" android:paddingBottom="8dp" android:layout_marginTop="8dp" android:paddingStart="8dp" android:paddingEnd="8dp" android:backgroundTint="?attr/colorBackgroundSecondary" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<com.discord.widgets.guilds.create.GuildTemplateChannelsView android:id="@+id/guild_template_preview_channels" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="8dp"/>
</LinearLayout>
</LinearLayout>
<LinearLayout android:id="@+id/guild_template_preview_roles_layout" android:layout_marginTop="16dp" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:text="@string/guild_template_modal_roles_header" style="@style/res_2131952564_uikit_textview_h1_bold"/>
<TextView android:textColor="?attr/colorTextNormal" android:text="@string/guild_template_modal_roles_description" style="@style/res_2131952579_uikit_textview_subtext"/>
<LinearLayout android:background="@drawable/drawable_rect_rounded_white_corner_radius_8dp" android:paddingBottom="8dp" android:layout_marginTop="8dp" android:paddingStart="8dp" android:paddingEnd="8dp" android:backgroundTint="?attr/colorBackgroundSecondary" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<com.discord.widgets.roles.RolesListView android:id="@+id/guild_template_preview_roles" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="8dp"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</com.discord.app.AppViewFlipper>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>