Changes of com.discord v1344
This commit is contained in:
parent
00a03df92a
commit
ed7cf41cb9
18279 changed files with 989752 additions and 1013884 deletions
6
com.discord/res/layout/community_gating_avatar_view.xml
Normal file
6
com.discord/res/layout/community_gating_avatar_view.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/community_gating_avatar" android:layout_width="fill_parent" android:layout_height="fill_parent" app:placeholderImage="@drawable/drawable_squircle_brand_500" app:roundedCornerRadius="16.0dip" />
|
||||
<TextView android:textColor="?colorInteractiveActive" android:gravity="center" android:id="@id/community_gating_text" android:clickable="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" style="@style/UiKit.TextView" />
|
||||
</merge>
|
|
@ -13,7 +13,10 @@
|
|||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/flex_input_main_input_container" android:background="@drawable/drawable_bg_corners_20dp" android:paddingLeft="12.0dip" android:paddingRight="4.0dip" android:layout_marginTop="8.0dip" android:layout_marginBottom="8.0dip" android:layout_toLeftOf="@id/flex_input_send_btn_container" android:layout_toRightOf="@id/flex_input_left_btns_container" android:layout_centerVertical="true" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.lytefast.flexinput.widget.FlexEditText android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorTextNormal" android:textColorHint="?colorTextMuted" android:layout_gravity="center_vertical" android:id="@id/flex_input_text_input" android:background="@color/transparent" android:paddingTop="4.0dip" android:paddingBottom="4.0dip" android:focusableInTouchMode="true" android:scrollbars="vertical" android:layout_width="0.0dip" android:minHeight="40.0dip" android:maxLines="5" android:layout_weight="1.0" android:lineSpacingMultiplier="1.0" android:inputType="textCapSentences|textMultiLine" android:imeOptions="flagNoExtractUi" style="@style/UiKit.TextView" />
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:layout_gravity="center_vertical" android:id="@id/flex_input_emoji_btn" android:background="@null" android:padding="8.0dip" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:drawablePadding="0.0dip" android:contentDescription="@string/emoji" app:tint="?colorInteractiveNormal" style="@style/UiKit.ImageButton" />
|
||||
<FrameLayout android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
||||
<androidx.appcompat.widget.AppCompatImageButton android:id="@id/flex_input_expression_btn" android:background="@null" android:padding="8.0dip" android:visibility="gone" android:src="@drawable/ic_emoji_24dp" android:contentDescription="@string/emoji" app:tint="?colorInteractiveNormal" style="@style/UiKit.ImageButton" />
|
||||
<ImageView android:layout_gravity="bottom|center|right" android:id="@id/flex_input_expression_btn_badge" android:visibility="gone" android:layout_width="7.0dip" android:layout_height="7.0dip" android:layout_marginRight="10.0dip" android:layout_marginBottom="10.0dip" android:src="@drawable/drawable_circle_red" android:importantForAccessibility="no" app:tint="@color/status_red_500" />
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
<FrameLayout android:id="@id/flex_input_send_btn_container" android:background="@drawable/drawable_circle_black" android:clipToPadding="false" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="8.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="12.0dip" android:layout_marginBottom="8.0dip" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/send_message" android:animateLayoutChanges="true" android:backgroundTint="?chat_send_btn_bg">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/flex_input_send_btn_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_send_24dp" android:importantForAccessibility="no" app:tint="?chat_send_btn" />
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<LinearLayout android:paddingLeft="12.0dip" android:paddingTop="8.0dip" android:paddingRight="12.0dip" android:paddingBottom="12.0dip" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:layout_gravity="center_vertical" android:id="@id/sticker_store_header_item_expiring" android:visibility="gone" android:layout_width="16.0sp" android:layout_height="16.0sp" android:src="@drawable/ic_warning_circle_24dp" android:contentDescription="@string/sticker_picker_pack_expiring_soon" />
|
||||
<ImageView android:layout_gravity="center_vertical" android:id="@id/sticker_store_header_item_expiring" android:visibility="gone" android:layout_width="16.0sp" android:layout_height="16.0sp" android:src="@drawable/ic_warning_circle_24dp" android:contentDescription="@string/sticker_picker_pack_expiring_soon" android:layout_marginEnd="4.0dip" />
|
||||
<com.google.android.material.chip.Chip android:layout_gravity="center_vertical" android:id="@id/sticker_store_header_item_new" android:visibility="gone" android:text="@string/_new" android:layout_marginEnd="4.0dip" style="@style/UiKit.Chip.New" />
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderPrimary" android:id="@id/sticker_store_header_item_title" style="@style/UiKit.TextView" />
|
||||
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/sticker_store_header_item_container" android:paddingLeft="8.0dip" android:paddingTop="2.0dip" android:paddingRight="8.0dip" android:paddingBottom="2.0dip" android:layout_width="wrap_content" style="@style/UiKit.ViewGroup.RelativeLayout">
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge android:layout_width="fill_parent" android:layout_height="fill_parent" app:cardCornerRadius="4.0dip" app:cardElevation="0.0dip"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout android:background="?colorBackgroundSecondary" android:paddingLeft="8.0dip" android:paddingTop="4.0dip" android:paddingRight="8.0dip" android:paddingBottom="4.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:layout_gravity="center_vertical" android:id="@id/community_gating_verification_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="no" android:layout_marginEnd="8.0dip" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorHeaderPrimary" android:gravity="center_vertical" android:id="@id/community_gating_verification_text" android:layout_width="0.0dip" android:layout_height="fill_parent" android:drawablePadding="8.0dip" android:layout_weight="1.0" style="@style/UiKit.TextView.Large" />
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/community_gating_verification_button" android:padding="0.0dip" android:layout_width="wrap_content" android:text="@string/verify" style="@style/UiKit.Material.Button" />
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance" android:textSize="@dimen/uikit_textsize_medium" android:textColor="@color/status_green" android:gravity="center_vertical" android:id="@id/community_gating_verified_check" android:visibility="gone" android:layout_margin="8.0dip" android:text="@string/guild_verified" android:drawablePadding="8.0dip" app:drawableLeftCompat="@drawable/ic_checkmark_green_16dp" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</merge>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge android:gravity="center" android:id="@id/guilds_item_avatar_wrap" android:layout_width="@dimen/avatar_size_large" android:layout_height="@dimen/avatar_size_large" android:layout_centerInParent="true"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/guild_view_image" android:layout_width="fill_parent" android:layout_height="fill_parent" app:fadeDuration="50" app:placeholderImage="?colorBackgroundSecondary" app:roundAsCircle="true" />
|
||||
<TextView android:textSize="8.0dip" android:textColor="?colorInteractiveActive" android:gravity="center" android:id="@id/guild_view_text" android:clickable="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" style="@style/UiKit.TextView" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/community_gating_avatar" android:layout_width="fill_parent" android:layout_height="fill_parent" app:fadeDuration="50" app:placeholderImage="?colorBackgroundSecondary" app:roundAsCircle="true" />
|
||||
<TextView android:textSize="8.0dip" android:textColor="?colorInteractiveActive" android:gravity="center" android:id="@id/community_gating_text" android:clickable="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" style="@style/UiKit.TextView" />
|
||||
</merge>
|
|
@ -4,7 +4,7 @@
|
|||
<include layout="@layout/widget_auth_header" />
|
||||
<androidx.core.widget.NestedScrollView android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:paddingBottom="8.0dip" style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
|
||||
<LinearLayout android:orientation="vertical" android:id="@id/auth_login_container" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
<com.discord.views.ScreenTitleView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="24.0dip" app:stv_subtitle="@string/login_body" app:stv_title="@string/login_title" />
|
||||
<com.discord.views.ScreenTitleView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="24.0dip" app:stv_subtitle="@string/auth_login_body" app:stv_title="@string/login_title" />
|
||||
<LinearLayout android:layout_width="fill_parent" android:layout_marginBottom="12.0dip" android:baselineAligned="false" android:animateLayoutChanges="true" style="@style/UiKit.User.Phone.Manage.Number">
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_country_code_wrap" android:visibility="gone" android:layout_width="wrap_content" android:hint="@string/country_code" android:layout_marginEnd="8.0dip" style="@style/UiKit.TextInputLayout">
|
||||
<com.google.android.material.textfield.TextInputEditText android:layout_width="100.0dip" android:text="+1" style="@style/UiKit.TextInputLayout.EditText.SingleLine.CountryCode" />
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<LinearLayout android:id="@id/chat_input_container" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<include layout="@layout/widget_chat_input_guard" />
|
||||
<include layout="@layout/widget_chat_input_gating_guard" />
|
||||
<LinearLayout android:id="@id/chat_input_wrap" android:visibility="gone" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/chat_input_mentions_recycler" android:background="?theme_chat_input" android:scrollbars="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
<RelativeLayout android:id="@id/chat_input_context_bar" android:background="?colorBackgroundSecondary" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout android:id="@id/chat_gating_input_guard" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="12.0dip" android:layout_marginBottom="12.0dip" android:layout_marginStart="12.0dip" android:layout_marginEnd="12.0dip"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<androidx.cardview.widget.CardView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="12.0dip" android:layout_alignTop="@id/chat_gating_input_guard_icon" android:layout_alignBottom="@id/chat_gating_input_guard_icon" app:cardBackgroundColor="?colorBackgroundTertiary" app:cardCornerRadius="8.0dip" app:cardElevation="0.0dip" />
|
||||
<ImageView android:id="@id/chat_gating_input_guard_icon" android:paddingBottom="8.0dip" android:src="@drawable/ic_channel_following_lurker_mode_v2" android:layout_alignParentTop="true" android:importantForAccessibility="no" android:layout_marginStart="16.0dip" style="@style/UiKit.ImageView" />
|
||||
<TextView android:gravity="center_vertical" android:id="@id/chat_gating_input_guard_text" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginTop="12.0dip" android:text="@string/member_verification_chat_input_guard_message" android:layout_alignTop="@id/chat_gating_input_guard_icon" android:layout_alignBottom="@id/chat_gating_input_guard_icon" android:lineSpacingMultiplier="1.0" android:layout_marginStart="16.0dip" android:layout_toStartOf="@id/chat_gating_input_guard_action" android:layout_toEndOf="@id/chat_gating_input_guard_icon" style="@style/UiKit.TextView.Medium" />
|
||||
<ImageView android:layout_gravity="center_vertical" android:id="@id/chat_gating_input_guard_action" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="12.0dip" android:src="@drawable/ic_community_gating_chat_guard_cta" android:layout_alignTop="@id/chat_gating_input_guard_icon" android:layout_alignBottom="@id/chat_gating_input_guard_icon" android:importantForAccessibility="no" android:layout_marginEnd="8.0dip" android:layout_alignParentEnd="true" />
|
||||
</RelativeLayout>
|
25
com.discord/res/layout/widget_community_gating.xml
Normal file
25
com.discord/res/layout/widget_community_gating.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<androidx.core.widget.NestedScrollView android:id="@id/community_gating_scrollview" android:visibility="gone" style="@style/UiKit.ViewGroup.NestedScrollView">
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/community_gating_banner_image" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="36.0dip" app:placeholderImage="@drawable/drawable_default_invite_splash" app:viewAspectRatio="1.77" />
|
||||
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" app:cardBackgroundColor="?colorBackgroundPrimary" app:cardCornerRadius="20.0dip" app:cardElevation="0.0dip" app:contentPadding="6.0dip">
|
||||
<com.discord.views.CommunityGatingAvatarView android:id="@id/community_gating_guild_icon" android:layout_width="64.0dip" android:layout_height="64.0dip" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
</RelativeLayout>
|
||||
<TextView android:textColor="?colorInteractiveActive" android:layout_width="fill_parent" android:layout_marginLeft="16.0dip" android:layout_marginTop="18.0dip" android:layout_marginRight="16.0dip" android:text="@string/member_verification_modal_title" style="@style/FriendsList.EmptyState.Title" />
|
||||
<TextView android:gravity="center" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" android:text="@string/member_verification_modal_subtitle" style="@style/UiKit.TextView.Medium" />
|
||||
<View android:layout_marginLeft="16.0dip" android:layout_marginTop="24.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="24.0dip" style="@style/UiKit.Settings.Divider" />
|
||||
<com.discord.widgets.servers.gating.CommunityGatingVerificationView android:id="@id/community_gating_verification_container" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="24.0dip" />
|
||||
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="8.0dip" android:text="@string/member_verification_form_rules_label" style="@style/UserProfile.Section.HeaderTextAppearance" />
|
||||
<androidx.cardview.widget.CardView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" app:cardBackgroundColor="?colorBackgroundSecondary" app:cardCornerRadius="4.0dip" app:cardElevation="0.0dip">
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/community_gating_rules_recycler" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
<com.discord.views.CheckedSetting android:id="@id/community_gating_rules_check" app:cs_text="@string/member_verification_read_rules" app:cs_text_color="?colorHeaderSecondary" app:cs_text_fontpath="@font/whitney_medium" app:cs_text_size="@dimen/uikit_textsize_medium" app:cs_view_type="check" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<com.discord.views.LoadingButton android:id="@id/community_gating_rules_confirm" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="8.0dip" app:lb_progress_color="@color/white" app:lb_text="@string/confirm" style="@style/UiKit.Material.Button" />
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
|
||||
</FrameLayout>
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<LinearLayout android:layout_margin="12.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:id="@id/community_gating_rule_index" style="@style/GuildProfileSheet.DiscoverableGuild.Text" />
|
||||
<TextView android:textColor="?colorTextNormal" android:id="@id/community_gating_rule_description" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" style="@style/UiKit.TextView.Large" />
|
||||
</LinearLayout>
|
||||
<View android:layout_marginLeft="12.0dip" android:layout_marginRight="12.0dip" style="@style/UiKit.Settings.Divider" />
|
||||
</LinearLayout>
|
12
com.discord/res/layout/widget_community_gating_success.xml
Normal file
12
com.discord/res/layout/widget_community_gating_success.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<androidx.cardview.widget.CardView android:id="@id/gating_success_card" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="168.0dip" android:layout_centerInParent="true" app:cardBackgroundColor="?colorBackgroundSecondary" app:cardCornerRadius="8.0dip" app:cardElevation="0.0dip">
|
||||
<LinearLayout android:layout_gravity="center" android:paddingLeft="16.0dip" android:paddingTop="84.0dip" android:paddingRight="16.0dip" android:layout_width="wrap_content" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="?colorInteractiveActive" android:gravity="center" android:id="@id/community_gating_guild_name" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Bold" />
|
||||
<TextView android:gravity="center" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:text="@string/lurker_mode_popout_success_body" style="@style/UiKit.TextView.Medium" />
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/community_gating_confirm" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_marginTop="24.0dip" android:layout_marginBottom="24.0dip" android:text="@string/lurker_mode_popout_success_button" style="@style/UiKit.Material.Button" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_success_discovery" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:importantForAccessibility="no" />
|
||||
</RelativeLayout>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
|
||||
<FrameLayout style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.discord.views.steps.StepsView android:id="@id/enable_mfa_stepsview" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||||
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
</FrameLayout>
|
|
@ -18,8 +18,8 @@
|
|||
<View android:background="?colorBackgroundSecondary" style="@style/UiKit.Divider" />
|
||||
<LinearLayout android:background="?primary_630" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:layout_gravity="center" android:layout_marginLeft="16.0dip" android:layout_marginTop="16.0dip" android:layout_marginRight="16.0dip" android:text="@string/invite_footer_link_header" style="@style/UiKit.TextView.Subtext" />
|
||||
<LinearLayout android:background="@drawable/drawable_bg_outline_dark" android:layout_marginTop="8.0dip" android:layout_marginBottom="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:ellipsize="start" android:gravity="center_vertical" android:id="@id/guild_invite_link" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:layout_height="fill_parent" android:text="@string/invite_link_example_verified" android:singleLine="true" android:layout_weight="1.0" android:paddingStart="16.0dip" android:paddingEnd="16.0dip" style="@style/UiKit.TextView.Bold" />
|
||||
<LinearLayout android:background="@drawable/drawable_bg_outline_dark" android:layout_height="46.0dip" android:layout_marginTop="8.0dip" android:layout_marginBottom="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<TextView android:textSize="16.0dip" android:textColor="?primary_100" android:ellipsize="start" android:gravity="center_vertical" android:id="@id/guild_invite_link" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:layout_height="fill_parent" android:text="@string/invite_link_example_verified" android:singleLine="true" android:layout_weight="1.0" android:paddingStart="16.0dip" android:paddingEnd="16.0dip" style="@style/UiKit.TextView.Bold" />
|
||||
<ImageView android:id="@id/guild_invite_settings_edit" android:background="?selectableItemBackgroundBorderless" android:paddingLeft="16.0dip" android:paddingTop="10.0dip" android:paddingRight="16.0dip" android:paddingBottom="10.0dip" android:layout_width="46.0dip" android:layout_height="46.0dip" android:src="?ic_settings" android:scaleType="centerCrop" android:contentDescription="@string/link_settings" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
<RelativeLayout style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ScrollView android:layout_height="fill_parent" android:layout_above="@id/user_phone_digit_verification" style="@style/UiKit.ViewGroup.ScrollView.Page">
|
||||
<LinearLayout style="@style/UiKit.Copy.Container">
|
||||
<LinearLayout android:gravity="center" android:layout_gravity="center" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<com.airbnb.lottie.LottieAnimationView style="@style/UiKit.Anim.Verify.By.Phone" />
|
||||
<LinearLayout style="@style/UiKit.Copy">
|
||||
<TextView android:text="@string/verification_phone_title" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:gravity="center" android:layout_marginTop="16.0dip" android:text="@string/verification_phone_description" style="@style/UiKit.TextView" />
|
||||
<TextView android:gravity="center" android:layout_marginTop="4.0dip" android:text="@string/verification_phone_description" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
<com.discord.views.CodeVerificationView android:id="@id/user_phone_digit_verification" android:paddingBottom="40.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentStart="true" />
|
||||
<com.discord.views.CodeVerificationView android:id="@id/user_phone_digit_verification" android:paddingBottom="16.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" />
|
||||
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat.Transparent">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue