Changes of com.discord v823
This commit is contained in:
parent
50139b7f2b
commit
204ebe7067
28411 changed files with 2982405 additions and 1720152 deletions
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView android:id="@id/buttonPanel" android:layout_width="fill_parent" android:layout_height="wrap_content" android:fillViewport="true" android:scrollIndicators="bottom|top" style="?buttonBarStyle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<androidx.appcompat.widget.ButtonBarLayout android:gravity="bottom" android:orientation="horizontal" android:paddingLeft="12.0dip" android:paddingTop="4.0dip" android:paddingRight="12.0dip" android:paddingBottom="4.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layoutDirection="locale">
|
||||
<Button android:id="@android:id/button3" android:layout_width="wrap_content" android:layout_height="wrap_content" style="?buttonBarNeutralButtonStyle" />
|
||||
<android.widget.Space android:id="@id/spacer" android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
|
||||
<Button android:id="@android:id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="?buttonBarNegativeButtonStyle" />
|
||||
<Button android:id="@android:id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" style="?buttonBarPositiveButtonStyle" />
|
||||
</androidx.appcompat.widget.ButtonBarLayout>
|
||||
</ScrollView>
|
12
com.discord/res/layout-v22/widget_audit_log_filter_sheet.xml
Normal file
12
com.discord/res/layout-v22/widget_audit_log_filter_sheet.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:background="?primary_630" style="@style/UiKit.ViewGroup.Page.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.google.android.material.appbar.AppBarLayout android:background="?primary_630" style="@style/AppTheme.AppBarLayout">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<LinearLayout android:gravity="center_vertical" android:background="?search_action_bar_bg" android:layout_height="44.0dip" android:layout_margin="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<EditText android:id="@id/audit_log_filter_input" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_weight="1.0" android:layout_marginStart="@dimen/uikit_spacing_large" android:importantForAutofill="no" style="@style/UiKit.SearchInput" />
|
||||
<ImageView android:id="@id/audit_log_filter_search" android:padding="@dimen/uikit_spacing_medium" android:clickable="false" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="?theme_search_menu_icon" android:contentDescription="@string/filter_options" style="@style/UiKit.ImageView.Clickable" />
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/audit_log_filter_recycler" android:minHeight="200.0dip" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
</LinearLayout>
|
30
com.discord/res/layout-v22/widget_auth_login.xml
Normal file
30
com.discord/res/layout-v22/widget_auth_login.xml
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?auth_ptrn" style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<include layout="@layout/widget_auth_header" />
|
||||
<RelativeLayout android:background="?auth_bg_card" android:layout_margin="8.0dip" style="@style/AppTheme.AppBarScrollingViewBehavior">
|
||||
<ImageView android:layout_above="@id/auth_login" android:contentDescription="@string/sample_empty_string" style="@style/UiKit.Auth.Spots.Bot.Left" />
|
||||
<ImageView android:layout_above="@id/auth_login" android:contentDescription="@string/sample_empty_string" style="@style/UiKit.Auth.Spots.Bot.Right" />
|
||||
<androidx.core.widget.NestedScrollView android:layout_height="fill_parent" android:layout_marginBottom="-6.0dip" android:fillViewport="false" android:layout_above="@id/auth_login" style="@style/UiKit.ViewGroup.NestedScrollView">
|
||||
<LinearLayout android:background="?auth_bg_card" android:padding="16.0dip" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.LinearLayout.Rotatable">
|
||||
<LinearLayout style="@style/UiKit.AuthCopyContainer">
|
||||
<TextView android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/login_title" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:layout_marginBottom="8.0dip" android:text="@string/login_body" style="@style/UiKit.TextView.Subtext" />
|
||||
</LinearLayout>
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_email_wrap" android:hint="@string/form_label_email" style="@style/UiKit.Form.Field.EditText.Wrap">
|
||||
<androidx.appcompat.widget.AppCompatEditText android:id="@id/auth_login_email" android:inputType="textEmailAddress" android:imeOptions="actionNext" android:autofillHints="emailAddress" style="@style/UiKit.Form.Field.EditText.SingleLine" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_password_wrap" android:hint="@string/form_label_password" style="@style/UiKit.Form.Field.EditText.Wrap.Password">
|
||||
<androidx.appcompat.widget.AppCompatEditText android:id="@id/auth_login_password" android:imeOptions="actionDone" style="@style/UiKit.Form.Field.EditText.Password" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<TextView android:id="@id/auth_login_forgot_password" android:padding="@dimen/uikit_spacing_small" android:text="@string/forgot_password" style="@style/UiKit.TextView.Subtext" />
|
||||
<TextView android:id="@id/auth_login_password_manager_link" android:padding="@dimen/uikit_spacing_small" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/password_manager_use" style="@style/UiKit.TextView.Subtext" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
<ImageView android:contentDescription="@string/sample_empty_string" style="@style/UiKit.Auth.Spots.Top" />
|
||||
<Button android:id="@id/auth_login" android:text="@string/login" android:layout_alignParentBottom="true" style="@style/UiKit.AuthButton" />
|
||||
</RelativeLayout>
|
||||
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
36
com.discord/res/layout-v22/widget_auth_register.xml
Normal file
36
com.discord/res/layout-v22/widget_auth_register.xml
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?auth_ptrn" style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<include layout="@layout/widget_auth_header" />
|
||||
<RelativeLayout android:background="?auth_bg_card" android:layout_margin="8.0dip" style="@style/AppTheme.AppBarScrollingViewBehavior">
|
||||
<ImageView android:layout_above="@id/auth_register_button_container" android:contentDescription="@string/sample_empty_string" style="@style/UiKit.Auth.Spots.Bot.Left" />
|
||||
<ImageView android:layout_above="@id/auth_register_button_container" android:contentDescription="@string/sample_empty_string" style="@style/UiKit.Auth.Spots.Bot.Right" />
|
||||
<androidx.core.widget.NestedScrollView android:layout_height="fill_parent" android:layout_marginBottom="-6.0dip" android:fillViewport="false" android:layout_above="@id/auth_register_button_container" style="@style/UiKit.ViewGroup.NestedScrollView">
|
||||
<LinearLayout android:background="?auth_bg_card" android:padding="16.0dip" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.LinearLayout.Rotatable">
|
||||
<LinearLayout style="@style/UiKit.AuthCopyContainer">
|
||||
<TextView android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/register_title" style="@style/UiKit.TextView.H1" />
|
||||
</LinearLayout>
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_register_username_wrap" android:hint="@string/form_label_username" style="@style/UiKit.Form.Field.EditText.Wrap">
|
||||
<androidx.appcompat.widget.AppCompatEditText android:id="@id/auth_register_username" android:imeOptions="actionNext" style="@style/UiKit.Form.Field.EditText.SingleLine" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_register_email_wrap" android:hint="@string/form_label_email" style="@style/UiKit.Form.Field.EditText.Wrap">
|
||||
<androidx.appcompat.widget.AppCompatEditText android:id="@id/auth_register_email" android:inputType="textEmailAddress" android:imeOptions="actionNext" android:autofillHints="emailAddress" style="@style/UiKit.Form.Field.EditText.SingleLine" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_register_password_wrap" android:hint="@string/form_label_password" style="@style/UiKit.Form.Field.EditText.Wrap.Password">
|
||||
<androidx.appcompat.widget.AppCompatEditText android:id="@id/auth_register_password" android:imeOptions="actionDone" style="@style/UiKit.Form.Field.EditText.Password" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="-4.0dip" android:layout_marginStart="-4.0dip" style="@style/UiKit.ViewGroup">
|
||||
<CheckBox android:id="@id/auth_tos_opt_in" android:layout_width="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/auth_policy_links" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/auth_policy_links" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.5" style="@style/UiKit.Checkbox" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/grey_2" android:id="@id/auth_policy_links" android:visibility="visible" android:layout_width="0.0dip" android:lineSpacingMultiplier="1.0" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/auth_tos_opt_in" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/auth_tos_opt_in" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.5" app:layout_goneMarginLeft="@dimen/uikit_spacing_medium" app:layout_goneMarginStart="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
<ImageView android:contentDescription="@string/sample_empty_string" style="@style/UiKit.Auth.Spots.Top" />
|
||||
<FrameLayout android:id="@id/auth_register_button_container" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true">
|
||||
<Button android:id="@id/auth_register_button" android:text="@string/register" style="@style/UiKit.AuthButton" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.discord.widgets.chat.input.WidgetChatInputEditText android:textSize="@dimen/uikit_textsize_medium" android:textColor="?theme_chat_input_text" android:textColorHint="?theme_chat_input_text_placeholder" android:layout_gravity="center_vertical" android:background="@color/transparent" android:scrollbars="vertical" android:layout_width="fill_parent" android:minHeight="42.0dip" android:maxLines="5" android:layout_weight="1.0" android:inputType="textCapSentences|textMultiLine" android:imeOptions="flagNoExtractUi" android:importantForAutofill="no" style="@style/UiKit.TextView"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
13
com.discord/res/layout-v22/widget_notice_popup.xml
Normal file
13
com.discord/res/layout-v22/widget_notice_popup.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:background="?notice_popup_bg" android:focusable="false" android:focusableInTouchMode="false" android:maxWidth="@dimen/popup_notif_max_width" android:focusedByDefault="false" 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">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/popup_icon" android:visibility="gone" android:layout_margin="@dimen/uikit_spacing_medium" app:roundAsCircle="true" style="@style/Avatar.Notification" />
|
||||
<LinearLayout android:layout_gravity="center_vertical" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_weight="1.0" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textColor="?primary_100" android:id="@id/popup_title" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Subtext.Semibold.SingleLine" />
|
||||
<com.discord.app.AppTextView android:textColor="?theme_chat_text" android:ellipsize="end" android:id="@id/popup_body" android:maxLines="3" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<ImageView android:layout_gravity="center|top" android:id="@id/popup_close_btn" android:src="?ic_close_24dp" android:contentDescription="@string/dismiss" style="@style/UiKit.ImageView.Clickable.Corner.TopEnd" />
|
||||
</LinearLayout>
|
||||
<ProgressBar android:id="@id/popup_countdown_progress" android:progress="0" style="@style/UiKit.ProgressBar.Line.Horizontal.Determinate" />
|
||||
</LinearLayout>
|
15
com.discord/res/layout-v22/widget_notice_popup_channel.xml
Normal file
15
com.discord/res/layout-v22/widget_notice_popup_channel.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:background="?notice_popup_bg" android:focusable="false" android:focusableInTouchMode="false" android:maxWidth="@dimen/popup_notif_max_width" android:focusedByDefault="false" 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">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/popup_icon" android:visibility="gone" android:layout_margin="@dimen/uikit_spacing_medium" style="@style/Avatar.Notification" />
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_weight="1.0" style="@style/UiKit.ViewGroup">
|
||||
<TextView android:id="@id/popup_title" android:lineSpacingMultiplier="1.0" app:layout_constrainedWidth="true" app:layout_constraintEnd_toStartOf="@id/popup_subtitle" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintStart_toStartOf="parent" app:layout_constraintWidth_min="@dimen/uikit_spacing_xlarge" style="@style/UiKit.TextView.Subtext.Semibold.SingleLine" />
|
||||
<TextView android:id="@id/popup_subtitle" android:layout_marginLeft="4.0dip" android:lineSpacingMultiplier="1.0" android:layout_marginStart="4.0dip" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@id/popup_title" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/popup_title" style="@style/UiKit.TextView.Subtext.Semibold.SingleLine" />
|
||||
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:textColor="?primary_200" android:ellipsize="end" android:id="@id/popup_body" android:layout_width="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_xsmall" android:maxLines="3" android:lineSpacingMultiplier="1.0" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="@id/popup_title" app:layout_constraintTop_toBottomOf="@id/popup_title" style="@style/UiKit.TextView" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/popup_attachment" android:background="?primary_600_bg" android:visibility="gone" android:layout_width="@dimen/uikit_spacing_xxlarge" android:layout_height="@dimen/uikit_spacing_xxlarge" app:actualImageScaleType="centerCrop" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="@id/popup_title" app:layout_constraintTop_toBottomOf="@id/popup_body" app:placeholderImage="?ic_insert_drive_file" app:placeholderImageScaleType="centerInside" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<ImageView android:layout_gravity="center|top" android:id="@id/popup_close_btn" android:src="?ic_settings" android:contentDescription="@string/dismiss" style="@style/UiKit.ImageView.Clickable.Corner.TopEnd" />
|
||||
</LinearLayout>
|
||||
<ProgressBar android:id="@id/popup_countdown_progress" android:progress="0" style="@style/UiKit.ProgressBar.Line.Horizontal.Determinate" />
|
||||
</LinearLayout>
|
47
com.discord/res/layout-v22/widget_settings_account.xml
Normal file
47
com.discord/res/layout-v22/widget_settings_account.xml
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?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 style="@style/AppTheme.Toolbar" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<androidx.core.widget.NestedScrollView android:id="@id/settings_account_scroll" style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
|
||||
<LinearLayout android:paddingBottom="@dimen/padding_bottom_fab_screen" android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<RelativeLayout android:id="@id/settings_account_verification" android:background="@color/status_red_500" android:visibility="gone" style="@style/UiKit.ViewGroup.RelativeLayout">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_100" android:text="@string/unverified_account_title" android:layout_centerInParent="true" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_100" android:id="@id/settings_account_verification_resend" android:background="@drawable/drawable_button_white" android:paddingLeft="12.0dip" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="12.0dip" android:paddingBottom="@dimen/uikit_spacing_small" android:layout_margin="@dimen/uikit_spacing_medium" android:text="@string/verify_account" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<RelativeLayout android:background="?primary_630" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.RelativeLayout">
|
||||
<LinearLayout android:gravity="center_horizontal" android:id="@id/settings_account_avatar_wrap" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<RelativeLayout android:background="@drawable/drawable_circle_white_5" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/settings_account_avatar" app:roundWithOverlayColor="?primary_630" style="@style/Avatar.Hero" />
|
||||
</RelativeLayout>
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/purple_brand" android:id="@id/settings_account_remove_avatar" android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_small" android:text="@string/remove" style="@style/UiKit.TextView.Semibold" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
<View style="@style/UiKit.Divider" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" style="@style/UiKit.Form.Field.EditText.Wrap">
|
||||
<androidx.appcompat.widget.AppCompatEditText android:id="@id/settings_account_username" android:hint="@string/username" android:inputType="textPersonName" android:importantForAutofill="no" style="@style/UiKit.Form.Field.EditText.SingleLine" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View style="@style/UiKit.Settings.Divider" />
|
||||
<TextView android:textColor="@color/status_orange_500" android:id="@id/settings_account_claim_btn" android:visibility="gone" android:text="@string/claim_account" android:drawableRight="@drawable/ic_chevron_right_grey_12dp" android:drawableEnd="@drawable/ic_chevron_right_grey_12dp" android:drawableTint="@color/status_orange_500" style="@style/UiKit.Settings.Item.Header" />
|
||||
<LinearLayout android:id="@id/settings_account_credentials_wrap" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<com.google.android.material.textfield.TextInputLayout android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" style="@style/UiKit.Form.Field.EditText.Wrap">
|
||||
<androidx.appcompat.widget.AppCompatEditText android:id="@id/settings_account_email" android:hint="@string/form_label_email" android:inputType="textEmailAddress" style="@style/UiKit.Form.Field.EditText.SingleLine" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/settings_account_password_wrap" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" style="@style/UiKit.Form.Field.EditText.Wrap">
|
||||
<androidx.appcompat.widget.AppCompatEditText android:id="@id/settings_account_password" android:hint="@string/form_label_current_password" android:inputType="textPassword" style="@style/UiKit.Form.Field.EditText.SingleLine" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View style="@style/UiKit.Settings.Divider" />
|
||||
<TextView android:id="@id/settings_account_change_password" android:text="@string/change_password" android:drawableRight="@drawable/ic_chevron_right_grey_12dp" android:drawableEnd="@drawable/ic_chevron_right_grey_12dp" style="@style/UiKit.Settings.Item.Header" />
|
||||
</LinearLayout>
|
||||
<View style="@style/UiKit.Divider" />
|
||||
<TextView android:id="@id/settings_account_private_data_header" android:focusable="true" android:focusableInTouchMode="false" android:clickable="true" android:text="@string/account_management" android:drawableRight="?ic_plus_a60" android:drawableEnd="?ic_plus_a60" style="@style/UiKit.Settings.Item.Header" />
|
||||
<LinearLayout android:id="@id/settings_account_private_data_wrap" android:visibility="gone" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textColor="@color/status_red_500" android:id="@id/settings_account_private_data_disable" android:text="@string/disable_account" style="@style/UiKit.Settings.Item" />
|
||||
<TextView android:textColor="@color/status_red_500" android:id="@id/settings_account_private_data_delete" android:text="@string/delete_account" style="@style/UiKit.Settings.Item" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@id/settings_account_save" style="@style/Settings.FloatingActionButton.Save" />
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
Loading…
Add table
Add a link
Reference in a new issue