Changes of com.discord v1041
This commit is contained in:
parent
13003bdbb2
commit
1ac2ce4e76
885 changed files with 22682 additions and 17120 deletions
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_vertical" android:layout_height="40.0sp" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:id="@id/guild_template_channels_item_image" android:layout_width="20.0dip" android:layout_height="20.0dip" android:src="@drawable/ic_chevron_down_grey_12dp" android:tint="?colorChannelDefault" android:contentDescription="@string/sample_empty_string" android:layout_marginEnd="@dimen/uikit_spacing_medium" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textColor="?colorChannelDefault" android:gravity="center" android:id="@id/guild_template_channels_item_name" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
5
com.discord/res/layout/guild_template_channels_view.xml
Normal file
5
com.discord/res/layout/guild_template_channels_view.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/guild_template_channels_recycler_view" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
</LinearLayout>
|
50
com.discord/res/layout/widget_guild_clone.xml
Normal file
50
com.discord/res/layout/widget_guild_clone.xml
Normal file
|
@ -0,0 +1,50 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<androidx.appcompat.widget.Toolbar app:navigationContentDescription="@string/close" app:navigationIcon="?ic_action_bar_close" app:title="@string/clone_server_button_cta" style="@style/AppTheme.Toolbar.Transparent" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
|
||||
<com.discord.app.AppViewFlipper android:id="@id/guild_create_flipper" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<LinearLayout android:gravity="center_horizontal" android:visibility="gone" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/guild_template_resolving_title" style="@style/UiKit.TextView.H2" />
|
||||
<ProgressBar android:id="@id/loading_button_progress" android:layout_width="30.0dip" android:layout_height="30.0dip" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:gravity="center_horizontal" android:visibility="gone" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/guild_template_invalid_title" style="@style/UiKit.TextView.H2" />
|
||||
<TextView android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/guild_template_invalid_subtitle" style="@style/UiKit.TextView.Subtext" />
|
||||
</LinearLayout>
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorHeaderSecondary" android:gravity="center" android:layout_width="fill_parent" android:text="@string/guild_template_modal_title" style="@style/UiKit.TextView.Subtext.SingleLine" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:gravity="center" android:id="@id/guild_template_name" android:layout_width="fill_parent" android:text="@string/sample_server_name" android:fontFamily="@font/whitney_bold" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<RelativeLayout android:layout_gravity="center" android:id="@id/guild_create_icon_wrap" android:layout_width="@dimen/avatar_size_hero" android:layout_height="@dimen/avatar_size_hero" android:layout_marginTop="36.0dip" style="@style/UiKit.ViewGroup.RelativeLayout">
|
||||
<TextView android:textColor="?primary_500" android:gravity="center" android:padding="@dimen/uikit_spacing_large" android:text="@string/upload_image" android:layout_centerInParent="true" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/guild_create_icon" app:placeholderImage="@drawable/drawable_bg_dashed" style="@style/Avatar.Hero" />
|
||||
<ImageView android:id="@id/guild_create_icon_placeholder" android:background="@drawable/drawable_uikit_white_circle" android:src="@drawable/ic_upload_image_40dp" android:contentDescription="@string/sample_empty_string" android:layout_alignParentEnd="true" android:elevation="@dimen/app_elevation" style="@style/UiKit.ImageView" />
|
||||
</RelativeLayout>
|
||||
<LinearLayout android:padding="@dimen/uikit_spacing_large" style="@style/UiKit.Copy">
|
||||
<TextView android:textSize="12.0sp" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/form_label_server_name" android:textAllCaps="true" android:fontFamily="@font/whitney_bold" style="@style/UiKit.Form.Label" />
|
||||
<EditText android:textColor="?colorTextNormal" android:id="@id/guild_create_name" android:background="@drawable/drawable_rect_rounded_white" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:hint="@string/form_placeholder_server_name" app:backgroundTint="?colorBackgroundTertiary" style="@style/UiKit.Form.Field.EditText.SingleLine" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:layout_gravity="start" android:id="@id/guild_create_guidelines" android:layout_marginLeft="0.0dip" android:layout_marginRight="0.0dip" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView.Subtext" />
|
||||
<com.discord.views.LoadingButton android:id="@id/guild_create_button" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_medium" app:lb_progress_color="@color/white" app:lb_text="@string/nuf_create_server_button" app:lb_text_color="@drawable/button_text_color_primary_100" />
|
||||
<TextView android:textSize="12.0sp" android:textColor="?colorHeaderSecondary" android:id="@id/guild_create_protip" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<View android:background="?colorBackgroundModifierAccent" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_textsize_xxlarge" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/channels" style="@style/UiKit.TextView.H1.Bold" />
|
||||
<TextView android:textColor="?colorTextNormal" android:text="@string/guild_template_modal_channels_descriptions" style="@style/UiKit.TextView.Subtext" />
|
||||
<LinearLayout android:background="@drawable/drawable_rect_rounded_white" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:paddingStart="@dimen/uikit_spacing_medium" android:paddingEnd="@dimen/uikit_spacing_medium" android:backgroundTint="?colorBackgroundSecondary" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<com.discord.widgets.guilds.create.GuildTemplateChannelsView android:id="@id/guild_template_preview_channels" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_medium" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/guild_template_preview_roles_layout" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:text="@string/guild_template_modal_roles_header" style="@style/UiKit.TextView.H1.Bold" />
|
||||
<TextView android:textColor="?colorTextNormal" android:text="@string/guild_template_modal_roles_description" style="@style/UiKit.TextView.Subtext" />
|
||||
<LinearLayout android:background="@drawable/drawable_rect_rounded_white" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:paddingStart="@dimen/uikit_spacing_medium" android:paddingEnd="@dimen/uikit_spacing_medium" android:backgroundTint="?colorBackgroundSecondary" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<com.discord.widgets.roles.RolesListView android:id="@id/guild_template_preview_roles" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_medium" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</com.discord.app.AppViewFlipper>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
@ -2,7 +2,7 @@
|
|||
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<androidx.appcompat.widget.Toolbar app:navigationIcon="?ic_action_bar_close" style="@style/AppTheme.Toolbar.Transparent" />
|
||||
<androidx.appcompat.widget.Toolbar app:navigationContentDescription="@string/close" app:navigationIcon="?ic_action_bar_close" app:title="@string/create_server_button_cta" style="@style/AppTheme.Toolbar.Transparent" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
|
||||
<LinearLayout android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue