зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1909943: apply changes to update login dialog r=android-reviewers,matt-tighe,boek
Differential Revision: https://phabricator.services.mozilla.com/D217788
This commit is contained in:
Родитель
db1e5615e2
Коммит
f63b600580
|
@ -31,7 +31,7 @@
|
|||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
|
@ -44,10 +44,11 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:drawablePadding="16dp"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
android:textSize="16sp"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
app:drawableStartCompat="@drawable/mozac_ic_login_24"
|
||||
app:drawableTint="?android:textColorPrimary"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
@ -60,7 +61,6 @@
|
|||
style="@style/MozTextInputLayout"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_marginTop="16dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
@ -82,7 +82,6 @@
|
|||
style="@style/MozTextInputLayout"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_marginTop="12dp"
|
||||
app:errorEnabled="true"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
@ -109,7 +108,9 @@
|
|||
android:id="@+id/save_cancel"
|
||||
style="@style/Widget.MaterialComponents.Button.TextButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
|
@ -117,8 +118,8 @@
|
|||
android:text="@string/mozac_feature_prompt_never_save"
|
||||
android:textAlignment="center"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="@color/button_state_list"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/mozac_feat_prompt_cancel_save_dialog_text_color"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/save_confirm"
|
||||
app:layout_constraintTop_toBottomOf="@+id/password_text_input_layout"
|
||||
|
@ -128,14 +129,15 @@
|
|||
android:id="@+id/save_confirm"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingVertical="16dp"
|
||||
android:paddingHorizontal="12dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="@string/mozac_feature_prompt_save_confirmation"
|
||||
android:textAlignment="center"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="?android:windowBackground"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold"
|
||||
android:textSize="16sp"
|
||||
app:backgroundTint="@color/button_state_list"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
<item>#FFFFFF</item>
|
||||
</array>
|
||||
<color name="mozacBoxStrokeColor">#828282</color>
|
||||
<color name="mozac_feat_prompt_cancel_save_dialog_text_color">#D73920</color>
|
||||
<color tools:override="true" tools:ignore="UnusedResources"
|
||||
name="mtrl_textinput_default_box_stroke_color">@color/mozacBoxStrokeColor</color>
|
||||
</resources>
|
||||
|
|
|
@ -168,6 +168,9 @@
|
|||
<color name="search_suggestion_indicator_icon_color_normal_theme">@color/photonGreen60</color>
|
||||
<color name="search_suggestion_indicator_icon_bookmark_color_normal_theme">@color/photonBlue40</color>
|
||||
|
||||
<!-- Prompt colors -->
|
||||
<color name="mozac_feat_prompt_cancel_save_dialog_text_color" tools:ignore="UnusedResources">@color/photonViolet50</color>
|
||||
|
||||
<!-- Reader View colors -->
|
||||
<color name="mozac_feature_readerview_text_color">@color/fx_mobile_text_color_primary</color>
|
||||
|
||||
|
|
|
@ -334,6 +334,9 @@
|
|||
<color name="bottom_bar_shadow">#1A000000</color>
|
||||
<color name="snackbar_error_color">#B52645</color>
|
||||
|
||||
<!-- Prompt colors -->
|
||||
<color name="mozac_feat_prompt_cancel_save_dialog_text_color" tools:ignore="UnusedResources">@color/photonViolet70A80</color>
|
||||
|
||||
<!-- Reader View colors -->
|
||||
<color name="mozac_feature_readerview_text_color" tools:ignore="UnusedResources">@color/fx_mobile_icon_color_primary</color>
|
||||
<color name="mozac_feature_readerview_selected">@color/photonViolet40</color>
|
||||
|
|
Загрузка…
Ссылка в новой задаче