diff --git a/app/src/main/res/color/shared_checkbox_selector.xml b/app/src/main/res/color/shared_checkbox_selector.xml new file mode 100644 index 00000000000..a25ab2bcddf --- /dev/null +++ b/app/src/main/res/color/shared_checkbox_selector.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/app/src/main/res/drawable/ic_arrow_forward_black_24dp.xml b/app/src/main/res/drawable/ic_arrow_forward_black_24dp.xml index e536f3a4e0d..232e2ffbf3a 100644 --- a/app/src/main/res/drawable/ic_arrow_forward_black_24dp.xml +++ b/app/src/main/res/drawable/ic_arrow_forward_black_24dp.xml @@ -1,7 +1,6 @@ diff --git a/app/src/main/res/drawable/ic_hide_eye_icon.xml b/app/src/main/res/drawable/ic_hide_eye_icon.xml index d0c91d0495e..37a199b7a6b 100644 --- a/app/src/main/res/drawable/ic_hide_eye_icon.xml +++ b/app/src/main/res/drawable/ic_hide_eye_icon.xml @@ -1,7 +1,6 @@ + android:fillColor="#00645c"/> diff --git a/app/src/main/res/drawable/ic_landscape_onboarding_2_tablet.xml b/app/src/main/res/drawable/ic_landscape_onboarding_2_tablet.xml index fb9c379ed5c..fc4f156ee08 100644 --- a/app/src/main/res/drawable/ic_landscape_onboarding_2_tablet.xml +++ b/app/src/main/res/drawable/ic_landscape_onboarding_2_tablet.xml @@ -11,7 +11,7 @@ - - + android:fillColor="#00645c"/> diff --git a/app/src/main/res/drawable/ic_show_eye_icon.xml b/app/src/main/res/drawable/ic_show_eye_icon.xml index c9bdc0e56e0..c337488d1c2 100644 --- a/app/src/main/res/drawable/ic_show_eye_icon.xml +++ b/app/src/main/res/drawable/ic_show_eye_icon.xml @@ -1,7 +1,6 @@ - + diff --git a/app/src/main/res/drawable/start_button_transparent_background.xml b/app/src/main/res/drawable/start_button_transparent_background.xml index d70e3bf5c8b..5fed1e4f9bf 100644 --- a/app/src/main/res/drawable/start_button_transparent_background.xml +++ b/app/src/main/res/drawable/start_button_transparent_background.xml @@ -5,10 +5,10 @@ - + + android:color="@color/component_color_shared_button_inactive_stroke_color" /> diff --git a/app/src/main/res/drawable/state_button_inactive_background.xml b/app/src/main/res/drawable/state_button_inactive_background.xml index 9baefb7aa3e..b6899510516 100644 --- a/app/src/main/res/drawable/state_button_inactive_background.xml +++ b/app/src/main/res/drawable/state_button_inactive_background.xml @@ -2,8 +2,8 @@ - + + android:color="@color/component_color_shared_button_inactive_stroke_color" /> diff --git a/app/src/main/res/drawable/state_button_primary_background.xml b/app/src/main/res/drawable/state_button_primary_background.xml index 047d0044abc..4b3b30c74b2 100644 --- a/app/src/main/res/drawable/state_button_primary_background.xml +++ b/app/src/main/res/drawable/state_button_primary_background.xml @@ -2,8 +2,8 @@ - + + android:color="@color/component_color_shared_button_active_stroke_color" /> diff --git a/app/src/main/res/layout-land/onboarding_fragment.xml b/app/src/main/res/layout-land/onboarding_fragment.xml index dc154eeb4c3..5b7c6f69e9b 100644 --- a/app/src/main/res/layout-land/onboarding_fragment.xml +++ b/app/src/main/res/layout-land/onboarding_fragment.xml @@ -18,7 +18,7 @@ + android:background="@color/component_color_shared_screen_secondary_background_color"> @@ -71,9 +72,10 @@ android:minHeight="48dp" android:onClick="@{(v) -> presenter.clickOnNext()}" android:padding="12dp" - app:srcCompat="@drawable/ic_arrow_forward_black_24dp" android:visibility="@{viewModel.slideNumber != 3 ? View.VISIBLE: View.GONE, default=visible}" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" /> + app:layout_constraintEnd_toEndOf="parent" + app:srcCompat="@drawable/ic_arrow_forward_black_24dp" + app:tint="@color/component_color_onboarding_activity_arrow_color" /> diff --git a/app/src/main/res/layout-land/onboarding_slide.xml b/app/src/main/res/layout-land/onboarding_slide.xml index 6866c505baf..9b65824f318 100644 --- a/app/src/main/res/layout-land/onboarding_slide.xml +++ b/app/src/main/res/layout-land/onboarding_slide.xml @@ -29,11 +29,11 @@ android:adjustViewBounds="true" android:importantForAccessibility="no" android:scaleType="fitXY" - app:srcCompat="@{viewModel.slideImage}" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintDimensionRatio="H, 10:9" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@{viewModel.slideImage}" /> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@drawable/ic_landscape_onboarding_3" /> - diff --git a/app/src/main/res/layout-land/profile_chooser_add_view.xml b/app/src/main/res/layout-land/profile_chooser_add_view.xml index c2944ecf4c5..d88f39ecfaf 100644 --- a/app/src/main/res/layout-land/profile_chooser_add_view.xml +++ b/app/src/main/res/layout-land/profile_chooser_add_view.xml @@ -35,7 +35,7 @@ android:layout_marginBottom="8dp" app:srcCompat="@{@drawable/ic_add_profile}" app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.RoundedShape" - app:strokeColor="@color/avatar_border" + app:strokeColor="@color/component_color_profile_chooser_activity_avatar_border_color" app:strokeWidth="1dp" /> diff --git a/app/src/main/res/layout-land/profile_chooser_fragment.xml b/app/src/main/res/layout-land/profile_chooser_fragment.xml index 7c8ae6203ef..7eedba72455 100644 --- a/app/src/main/res/layout-land/profile_chooser_fragment.xml +++ b/app/src/main/res/layout-land/profile_chooser_fragment.xml @@ -16,7 +16,7 @@ @@ -33,17 +33,17 @@ android:paddingStart="4dp" android:paddingTop="20dp" android:paddingEnd="20dp" - app:srcCompat="@drawable/ic_language_icon_grey_24dp" android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@drawable/ic_language_icon_grey_24dp" /> @@ -55,7 +55,7 @@ android:layout_marginTop="@dimen/profile_chooser_fragment_profile_select_text_margin_top" android:layout_marginEnd="36dp" android:text="@string/profile_chooser_select" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -103,7 +103,7 @@ android:layout_marginBottom="24dp" android:minHeight="48dp" android:text="@string/profile_chooser_administrator_controls" - android:textColor="@color/profile_chooser_grey_text" /> + android:textColor="@color/component_color_profile_chooser_activity_secondary_options_color" /> @@ -58,14 +58,14 @@ android:maxLines="2" android:singleLine="false" android:text="@{viewModel.profile.name}" - android:textColor="@color/color_def_white" /> + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" /> @@ -75,7 +75,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/profile_chooser_admin" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" android:visibility="@{viewModel.profile.isAdmin ? View.VISIBLE : View.GONE}" /> @@ -86,7 +86,7 @@ android:layout_height="match_parent" android:layout_marginTop="@dimen/profile_chooser_profile_view_view_margin_top" android:layout_gravity="bottom" - android:background="@color/oppia_profile_chooser_divider" + android:background="@color/component_color_shared_divider_color" android:visibility="@{hasProfileEverBeenAddedValue ? View.GONE : View.VISIBLE}" app:layout_constraintBottom_toBottomOf="@+id/profile_chooser_item" app:layout_constraintEnd_toEndOf="parent" diff --git a/app/src/main/res/layout-sw600dp-land/onboarding_fragment.xml b/app/src/main/res/layout-sw600dp-land/onboarding_fragment.xml index d38768aeb24..4899d438355 100644 --- a/app/src/main/res/layout-sw600dp-land/onboarding_fragment.xml +++ b/app/src/main/res/layout-sw600dp-land/onboarding_fragment.xml @@ -18,7 +18,7 @@ + android:background="@color/component_color_shared_screen_secondary_background_color"> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@drawable/ic_arrow_forward_black_24dp" + app:tint="@color/component_color_onboarding_activity_arrow_color" /> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@{viewModel.slideImage}" /> diff --git a/app/src/main/res/layout-sw600dp-land/onboarding_slide_final.xml b/app/src/main/res/layout-sw600dp-land/onboarding_slide_final.xml index 2e7a4b532a8..673d9643694 100644 --- a/app/src/main/res/layout-sw600dp-land/onboarding_slide_final.xml +++ b/app/src/main/res/layout-sw600dp-land/onboarding_slide_final.xml @@ -29,11 +29,11 @@ android:layout_height="0dp" android:adjustViewBounds="true" android:importantForAccessibility="no" - app:srcCompat="@drawable/ic_landscape_onboarding_3_tablet" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintDimensionRatio="40:39" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@drawable/ic_landscape_onboarding_3_tablet" /> diff --git a/app/src/main/res/layout-sw600dp-land/profile_chooser_add_view.xml b/app/src/main/res/layout-sw600dp-land/profile_chooser_add_view.xml index 7e23d059e07..a0fa9c9839b 100644 --- a/app/src/main/res/layout-sw600dp-land/profile_chooser_add_view.xml +++ b/app/src/main/res/layout-sw600dp-land/profile_chooser_add_view.xml @@ -41,7 +41,7 @@ android:layout_height="108dp" app:srcCompat="@{@drawable/ic_add_profile}" app:layoutMarginTop="@{hasProfileEverBeenAddedValue ? @dimen/profile_chooser_add_view_circular_image_margin_top_profile_already_added : @dimen/space_0dp}" - app:strokeColor="@color/avatar_border" + app:strokeColor="@color/component_color_profile_chooser_activity_avatar_border_color" app:strokeWidth="1dp" app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.RoundedShape" /> @@ -61,7 +61,7 @@ android:layout_height="wrap_content" android:fontFamily="sans-serif-medium" android:text="@{hasProfileEverBeenAddedValue ? @string/profile_chooser_add : @string/set_up_multiple_profiles}" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" android:textSize="20sp" /> diff --git a/app/src/main/res/layout-sw600dp-land/profile_chooser_fragment.xml b/app/src/main/res/layout-sw600dp-land/profile_chooser_fragment.xml index 7f548736aa9..d3eaa7ff74b 100644 --- a/app/src/main/res/layout-sw600dp-land/profile_chooser_fragment.xml +++ b/app/src/main/res/layout-sw600dp-land/profile_chooser_fragment.xml @@ -20,7 +20,7 @@ @@ -37,17 +37,17 @@ android:paddingStart="4dp" android:paddingTop="20dp" android:paddingEnd="20dp" - app:srcCompat="@drawable/ic_language_icon_grey_24dp" android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@drawable/ic_language_icon_grey_24dp" /> @@ -60,7 +60,7 @@ android:layout_marginTop="80dp" android:fontFamily="sans-serif" android:text="@string/profile_chooser_select" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" android:textSize="36sp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -111,7 +111,7 @@ android:layout_marginBottom="28dp" android:minHeight="48dp" android:text="@string/profile_chooser_administrator_controls" - android:textColor="@color/profile_chooser_grey_text" /> + android:textColor="@color/component_color_profile_chooser_activity_secondary_options_color" /> @@ -79,7 +79,7 @@ android:layout_height="wrap_content" android:layout_marginTop="4dp" android:gravity="@{hasProfileEverBeenAddedValue ? Gravity.CENTER_HORIZONTAL : Gravity.CENTER_VERTICAL}" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" android:visibility="@{viewModel.profile.lastLoggedInTimestampMs > 0 ? View.VISIBLE : View.GONE}" app:layoutMarginTop="@{hasProfileEverBeenAddedValue ? @dimen/profile_chooser_profile_view_last_visited_margin_top_profile_already_added : @dimen/profile_chooser_profile_view_last_visited_margin_top_profile_not_added}" profile:lastVisited="@{viewModel.profile.lastLoggedInTimestampMs}" /> @@ -93,7 +93,7 @@ android:layout_marginTop="4dp" android:gravity="@{hasProfileEverBeenAddedValue ? Gravity.CENTER_HORIZONTAL : Gravity.CENTER_VERTICAL}" android:text="@string/profile_chooser_admin" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" android:visibility="@{viewModel.profile.isAdmin ? View.VISIBLE : View.GONE}" app:layoutMarginTop="@{hasProfileEverBeenAddedValue ? @dimen/profile_chooser_profile_view_is_admin_margin_top_profile_already_added : @dimen/space_0dp}" /> @@ -104,7 +104,7 @@ android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginTop="@dimen/profile_chooser_profile_view_divider_margin_top" - android:background="@color/oppia_profile_chooser_divider" + android:background="@color/component_color_shared_divider_color" android:visibility="@{hasProfileEverBeenAddedValue ? View.GONE : View.VISIBLE}" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout-sw600dp-port/onboarding_fragment.xml b/app/src/main/res/layout-sw600dp-port/onboarding_fragment.xml index 9c3e35176bd..18b1555cbcc 100644 --- a/app/src/main/res/layout-sw600dp-port/onboarding_fragment.xml +++ b/app/src/main/res/layout-sw600dp-port/onboarding_fragment.xml @@ -18,7 +18,7 @@ + android:background="@color/component_color_shared_screen_secondary_background_color"> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@drawable/ic_arrow_forward_black_24dp" + app:tint="@color/component_color_onboarding_activity_arrow_color" /> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@{viewModel.slideImage}" /> diff --git a/app/src/main/res/layout-sw600dp-port/onboarding_slide_final.xml b/app/src/main/res/layout-sw600dp-port/onboarding_slide_final.xml index 7e1ed7446d3..ecb61bac498 100644 --- a/app/src/main/res/layout-sw600dp-port/onboarding_slide_final.xml +++ b/app/src/main/res/layout-sw600dp-port/onboarding_slide_final.xml @@ -28,11 +28,11 @@ android:layout_width="0dp" android:layout_height="0dp" android:importantForAccessibility="no" - app:srcCompat="@drawable/ic_portrait_onboarding_3" app:layout_constraintDimensionRatio="5:4" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@drawable/ic_portrait_onboarding_3" /> - diff --git a/app/src/main/res/layout-sw600dp-port/profile_chooser_add_view.xml b/app/src/main/res/layout-sw600dp-port/profile_chooser_add_view.xml index 3cef9d7f218..28e9c956051 100644 --- a/app/src/main/res/layout-sw600dp-port/profile_chooser_add_view.xml +++ b/app/src/main/res/layout-sw600dp-port/profile_chooser_add_view.xml @@ -43,7 +43,7 @@ app:srcCompat="@{@drawable/ic_add_profile}" app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.RoundedShape" app:layoutMarginTop="@{hasProfileEverBeenAddedValue ? @dimen/profile_chooser_add_view_circular_image_margin_top_profile_already_added : @dimen/space_0dp}" - app:strokeColor="@color/avatar_border" + app:strokeColor="@color/component_color_profile_chooser_activity_avatar_border_color" app:strokeWidth="1dp" /> diff --git a/app/src/main/res/layout-sw600dp-port/profile_chooser_fragment.xml b/app/src/main/res/layout-sw600dp-port/profile_chooser_fragment.xml index 1c5ce1fb922..a1ab6c27833 100644 --- a/app/src/main/res/layout-sw600dp-port/profile_chooser_fragment.xml +++ b/app/src/main/res/layout-sw600dp-port/profile_chooser_fragment.xml @@ -20,7 +20,7 @@ @@ -37,17 +37,17 @@ android:paddingStart="4dp" android:paddingTop="20dp" android:paddingEnd="20dp" - app:srcCompat="@drawable/ic_language_icon_grey_24dp" android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@drawable/ic_language_icon_grey_24dp" /> @@ -60,7 +60,7 @@ android:layout_marginTop="80dp" android:fontFamily="sans-serif" android:text="@string/profile_chooser_select" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" android:textSize="36sp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -111,7 +111,7 @@ android:layout_marginBottom="32dp" android:minHeight="48dp" android:text="@string/profile_chooser_administrator_controls" - android:textColor="@color/profile_chooser_grey_text" /> + android:textColor="@color/component_color_profile_chooser_activity_secondary_options_color" /> @@ -79,7 +79,7 @@ android:layout_height="wrap_content" android:layout_marginTop="4dp" android:gravity="@{hasProfileEverBeenAddedValue ? Gravity.CENTER_HORIZONTAL : Gravity.CENTER_VERTICAL}" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" android:visibility="@{viewModel.profile.lastLoggedInTimestampMs > 0 ? View.VISIBLE : View.GONE}" profile:lastVisited="@{viewModel.profile.lastLoggedInTimestampMs}" /> @@ -91,7 +91,7 @@ android:layout_marginTop="4dp" android:gravity="@{hasProfileEverBeenAddedValue ? Gravity.CENTER_HORIZONTAL : Gravity.CENTER_VERTICAL}" android:text="@string/profile_chooser_admin" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" android:visibility="@{viewModel.profile.isAdmin ? View.VISIBLE : View.GONE}" /> @@ -101,7 +101,7 @@ android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginTop="92dp" - android:background="@color/oppia_profile_chooser_divider" + android:background="@color/component_color_shared_divider_color" android:visibility="@{hasProfileEverBeenAddedValue ? View.GONE : View.VISIBLE}" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout-sw600dp/administrator_controls_activity.xml b/app/src/main/res/layout-sw600dp/administrator_controls_activity.xml index b3031fae8ab..5839d07ba63 100644 --- a/app/src/main/res/layout-sw600dp/administrator_controls_activity.xml +++ b/app/src/main/res/layout-sw600dp/administrator_controls_activity.xml @@ -45,7 +45,7 @@ android:id="@+id/administrator_controls_separator" android:layout_width="1dp" android:layout_height="0dp" - android:background="@color/oppia_onboarding_divider" + android:background="@color/component_color_shared_divider_color" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/administrator_controls_guideline" app:layout_constraintTop_toBottomOf="@id/administrator_controls_activity_toolbar" /> diff --git a/app/src/main/res/layout-sw600dp/help_activity.xml b/app/src/main/res/layout-sw600dp/help_activity.xml index f39a382d510..d3c04c10838 100644 --- a/app/src/main/res/layout-sw600dp/help_activity.xml +++ b/app/src/main/res/layout-sw600dp/help_activity.xml @@ -83,7 +83,7 @@ android:id="@+id/options_separator" android:layout_width="1dp" android:layout_height="0dp" - android:background="@color/oppia_onboarding_divider" + android:background="@color/component_color_shared_divider_color" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/multipane_guideline" app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout-sw600dp/option_activity.xml b/app/src/main/res/layout-sw600dp/option_activity.xml index abb585e8a4c..ccad100499d 100644 --- a/app/src/main/res/layout-sw600dp/option_activity.xml +++ b/app/src/main/res/layout-sw600dp/option_activity.xml @@ -69,7 +69,7 @@ android:id="@+id/options_separator" android:layout_width="1dp" android:layout_height="0dp" - android:background="@color/oppia_onboarding_divider" + android:background="@color/component_color_shared_divider_color" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/multipane_guideline" app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout-sw600dp/options_without_drawer_activity.xml b/app/src/main/res/layout-sw600dp/options_without_drawer_activity.xml index e33d691e123..c8dde6bde96 100644 --- a/app/src/main/res/layout-sw600dp/options_without_drawer_activity.xml +++ b/app/src/main/res/layout-sw600dp/options_without_drawer_activity.xml @@ -68,7 +68,7 @@ android:id="@+id/options_separator" android:layout_width="1dp" android:layout_height="0dp" - android:background="@color/oppia_onboarding_divider" + android:background="@color/component_color_shared_divider_color" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/multipane_guideline" app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/add_profile_activity.xml b/app/src/main/res/layout/add_profile_activity.xml index b6e2981f1e3..6e930ed60d1 100644 --- a/app/src/main/res/layout/add_profile_activity.xml +++ b/app/src/main/res/layout/add_profile_activity.xml @@ -17,14 +17,14 @@ android:orientation="vertical"> + android:id="@+id/add_profile_activity_toolbar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@color/component_color_shared_activity_toolbar_color" + android:minHeight="?attr/actionBarSize" + app:popupTheme="@style/ThemeOverlay.AppCompat.Light" + app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" + app:titleTextAppearance="@style/ToolbarTitle" /> + android:background="@color/component_color_shared_screen_secondary_background_color"> + app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.RoundedShape" + app:srcCompat="@{@drawable/ic_default_avatar}" /> @@ -114,6 +115,7 @@ android:layout_height="48dp" android:contentDescription="@string/add_profile_info_content_description" android:padding="12dp" + android:tint="@color/component_color_add_profile_activity_info_icon_color" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@+id/add_profile_activity_pin_check_box" app:srcCompat="@drawable/ic_info_icon" /> @@ -196,7 +198,7 @@ android:layout_height="wrap_content" android:fontFamily="sans-serif" android:text="@string/add_profile_allow_download_heading" - android:textColor="@{viewModel.validPin ? @color/component_color_add_profile_activity_switch_text_color : @color/component_color_add_profile_activity_switch_description_color}" + android:textColor="@color/component_color_shared_primary_text_color" android:textSize="16sp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -208,7 +210,7 @@ android:layout_height="wrap_content" android:fontFamily="sans-serif" android:text="@string/add_profile_allow_download_sub" - android:textColor="@color/component_color_add_profile_activity_switch_description_color" + android:textColor="@color/component_color_shared_secondary_2_text_color" android:textSize="14sp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/add_profile_activity_allow_download_heading_text_view" @@ -236,7 +238,7 @@ android:gravity="center" android:text="@string/add_profile_create_btn" android:textAllCaps="true" - android:textColor="@{viewModel.isButtonActive() ? @color/color_def_white : @color/submit_button_inactive_text }" + android:textColor="@{viewModel.isButtonActive() ? @color/component_color_shared_button_active_text_color : @color/component_color_shared_button_inactive_text_color }" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@+id/add_profile_activity_pin_constraint_layout" /> diff --git a/app/src/main/res/layout/admin_auth_activity.xml b/app/src/main/res/layout/admin_auth_activity.xml index 0ff58ad52e9..813b1528b97 100644 --- a/app/src/main/res/layout/admin_auth_activity.xml +++ b/app/src/main/res/layout/admin_auth_activity.xml @@ -13,7 +13,7 @@ android:id="@+id/admin_auth_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/component_color_admin_auth_layout_background_color"> + android:background="@color/component_color_shared_screen_secondary_background_color"> + app:titleTextColor="@color/component_color_shared_activity_toolbar_text_color" /> @@ -117,7 +117,7 @@ android:enabled="@{viewModel.isSubmitButtonActive}" android:minHeight="48dp" android:text="@string/admin_auth_submit" - android:textColor="@{viewModel.isSubmitButtonActive ? @color/color_def_white : @color/submit_button_inactive_text }" + android:textColor="@{viewModel.isSubmitButtonActive() ? @color/component_color_shared_button_active_text_color : @color/component_color_shared_button_inactive_text_color }" app:layout_constraintEnd_toEndOf="@id/admin_auth_input_pin" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintTop_toBottomOf="@id/admin_auth_input_pin" /> diff --git a/app/src/main/res/layout/admin_pin_activity.xml b/app/src/main/res/layout/admin_pin_activity.xml index bc63e17ab7c..1a4538b4e32 100644 --- a/app/src/main/res/layout/admin_pin_activity.xml +++ b/app/src/main/res/layout/admin_pin_activity.xml @@ -17,7 +17,7 @@ android:id="@+id/scrollViewAdminPin" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/component_color_admin_pin_activity_layout_background_color" + android:background="@color/component_color_shared_screen_secondary_background_color" android:fillViewport="true" android:overScrollMode="never" android:scrollbars="none"> @@ -40,6 +40,7 @@ android:layout_marginTop="32dp" android:layout_marginEnd="@dimen/admin_pin_activity_admin_pin_main_text_view_margin_end" android:text="@string/admin_pin_requirement_description" + android:textColor="@color/component_color_shared_secondary_1_text_color" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -51,6 +52,7 @@ android:layout_height="wrap_content" android:layout_marginTop="16dp" android:text="@string/admin_pin_pin_description" + android:textColor="@color/component_color_shared_secondary_1_text_color" app:layout_constraintEnd_toEndOf="@id/admin_pin_main_text" app:layout_constraintStart_toStartOf="@+id/admin_pin_main_text" app:layout_constraintTop_toBottomOf="@+id/admin_pin_main_text" /> @@ -109,12 +111,12 @@ android:layout_marginStart="0dp" android:layout_marginTop="48dp" android:layout_marginEnd="0dp" - android:background="@{viewModel.isButtonActive() ? @drawable/state_button_primary_background : @drawable/start_button_transparent_background}" + android:background="@{viewModel.isButtonActive() ? @drawable/state_button_primary_background : @drawable/state_button_inactive_background}" android:clickable="@{viewModel.isButtonActive()}" android:enabled="@{viewModel.isButtonActive()}" android:minHeight="48dp" android:text="@string/save" - android:textColor="@{viewModel.isButtonActive() ? @color/color_def_white : @color/submit_button_inactive_text }" + android:textColor="@{viewModel.isButtonActive() ? @color/component_color_shared_button_active_text_color : @color/component_color_shared_button_inactive_text_color }" app:layout_constraintEnd_toEndOf="@id/admin_pin_input_confirm_pin" app:layout_constraintTop_toBottomOf="@+id/admin_pin_input_confirm_pin" /> diff --git a/app/src/main/res/layout/onboarding_fragment.xml b/app/src/main/res/layout/onboarding_fragment.xml index 50f2545d200..d8e747840c3 100644 --- a/app/src/main/res/layout/onboarding_fragment.xml +++ b/app/src/main/res/layout/onboarding_fragment.xml @@ -18,7 +18,7 @@ + android:background="@color/component_color_shared_screen_secondary_background_color"> + app:layout_constraintTop_toTopOf="@+id/slide_dots_container" + app:srcCompat="@drawable/ic_arrow_forward_black_24dp" + app:tint="@color/component_color_onboarding_activity_arrow_color" /> diff --git a/app/src/main/res/layout/onboarding_slide.xml b/app/src/main/res/layout/onboarding_slide.xml index 44f5aced520..84b23314193 100644 --- a/app/src/main/res/layout/onboarding_slide.xml +++ b/app/src/main/res/layout/onboarding_slide.xml @@ -27,11 +27,11 @@ android:layout_width="0dp" android:layout_height="0dp" android:importantForAccessibility="no" - app:srcCompat="@{viewModel.slideImage}" app:layout_constraintDimensionRatio="5:4" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@{viewModel.slideImage}" /> @@ -58,6 +59,7 @@ android:maxLines="2" android:minLines="2" android:text="@{viewModel.description}" + android:textColor="@color/component_color_shared_secondary_1_text_color" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/slide_title_text_view" /> diff --git a/app/src/main/res/layout/onboarding_slide_final.xml b/app/src/main/res/layout/onboarding_slide_final.xml index bda4a4055cf..7856e09640d 100644 --- a/app/src/main/res/layout/onboarding_slide_final.xml +++ b/app/src/main/res/layout/onboarding_slide_final.xml @@ -21,19 +21,19 @@ android:id="@+id/final_layout" android:layout_width="match_parent" android:layout_height="wrap_content" - android:overScrollMode="always" - android:importantForAccessibility="yes"> + android:importantForAccessibility="yes" + android:overScrollMode="always"> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@drawable/ic_portrait_onboarding_3" /> @@ -60,6 +61,7 @@ android:maxLines="2" android:minLines="2" android:text="@string/onboarding_slide_3_description" + android:textColor="@color/color_palette_secondary_1_text_color" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/slide_title_text_view" /> @@ -77,7 +79,7 @@ android:minHeight="48dp" android:onClick="@{(v) -> viewModel.clickOnGetStarted()}" android:text="@string/get_started" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_shared_primary_button_text_color" android:textSize="14sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -91,11 +93,12 @@ android:layout_marginTop="24dp" android:layout_marginEnd="48dp" android:fontFamily="sans-serif" + android:textColor="@color/component_color_shared_primary_text_color" + android:textColorLink="@color/component_color_shared_primary_text_color" android:textSize="12sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/get_started_button" /> - diff --git a/app/src/main/res/layout/pin_password_activity.xml b/app/src/main/res/layout/pin_password_activity.xml index 36d3f8258c9..643c33b4adb 100644 --- a/app/src/main/res/layout/pin_password_activity.xml +++ b/app/src/main/res/layout/pin_password_activity.xml @@ -17,7 +17,7 @@ android:id="@+id/pin_password_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/component_color_pin_password_activity_layout_background_color"> + android:background="@color/component_color_shared_screen_secondary_background_color"> + app:titleTextColor="@color/component_color_shared_activity_toolbar_text_color" /> @@ -109,8 +109,8 @@ android:layout_height="wrap_content" android:layout_marginTop="2dp" android:hint="@{viewModel.profile.isAdmin ? @string/input_pin_password_as_admin : @string/input_pin_password_as_user}" - app:errorMessage="@{viewModel.errorMessage}" android:minHeight="56dp" + app:errorMessage="@{viewModel.errorMessage}" app:layout_constraintEnd_toStartOf="@id/show_pin" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> @@ -161,7 +161,8 @@ android:layout_height="32dp" android:layout_gravity="center_horizontal" android:contentDescription="@{viewModel.showPassword ? @string/password_shown_icon : @string/password_hidden_icon}" - app:srcCompat="@{viewModel.showPassword ? @drawable/ic_show_eye_icon : @drawable/ic_hide_eye_icon}" /> + app:srcCompat="@{viewModel.showPassword ? @drawable/ic_show_eye_icon : @drawable/ic_hide_eye_icon}" + app:tint="@color/component_color_pin_password_activity_show_hide_color" /> diff --git a/app/src/main/res/layout/profile_chooser_add_view.xml b/app/src/main/res/layout/profile_chooser_add_view.xml index 612d511ede9..4a9a29881a0 100644 --- a/app/src/main/res/layout/profile_chooser_add_view.xml +++ b/app/src/main/res/layout/profile_chooser_add_view.xml @@ -37,7 +37,7 @@ android:layout_height="72dp" app:srcCompat="@{@drawable/ic_add_profile}" app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.RoundedShape" - app:strokeColor="@color/avatar_border" + app:strokeColor="@color/component_color_profile_chooser_activity_avatar_border_color" app:strokeWidth="1dp" /> diff --git a/app/src/main/res/layout/profile_chooser_fragment.xml b/app/src/main/res/layout/profile_chooser_fragment.xml index 3428c516091..d49e7676114 100644 --- a/app/src/main/res/layout/profile_chooser_fragment.xml +++ b/app/src/main/res/layout/profile_chooser_fragment.xml @@ -16,7 +16,7 @@ @@ -33,20 +33,20 @@ android:paddingStart="4dp" android:paddingTop="20dp" android:paddingEnd="20dp" - app:srcCompat="@drawable/ic_language_icon_grey_24dp" android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent"/> + app:layout_constraintTop_toTopOf="parent" + app:srcCompat="@drawable/ic_language_icon_grey_24dp" /> + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" /> + android:textColor="@color/component_color_profile_chooser_activity_secondary_options_color" /> @@ -62,7 +62,7 @@ android:maxLines="2" android:singleLine="false" android:text="@{viewModel.profile.name}" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" app:layoutMarginTop="@{hasProfileEverBeenAddedValue ? @dimen/profile_chooser_profile_view_name_margin_top_profile_already_added : @dimen/space_0dp}" /> @@ -71,7 +71,7 @@ style="@style/SubtitleLight1" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" android:layout_marginTop="4dp" android:gravity="@{hasProfileEverBeenAddedValue ? Gravity.CENTER_HORIZONTAL : Gravity.CENTER_VERTICAL}" android:visibility="@{viewModel.profile.lastLoggedInTimestampMs > 0 ? View.VISIBLE : View.GONE}" @@ -86,7 +86,7 @@ android:layout_marginTop="@dimen/profile_chooser_profile_view_is_admin_margin_top" android:gravity="@{hasProfileEverBeenAddedValue ? Gravity.CENTER_HORIZONTAL : Gravity.CENTER_VERTICAL}" android:text="@string/profile_chooser_admin" - android:textColor="@color/color_def_white" + android:textColor="@color/component_color_profile_chooser_activity_white_text_color" android:visibility="@{viewModel.profile.isAdmin ? View.VISIBLE : View.GONE}" /> @@ -96,7 +96,7 @@ android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginTop="@dimen/profile_chooser_profile_view_view_margin_top" - android:background="@color/oppia_profile_chooser_divider" + android:background="@color/component_color_shared_divider_color" android:visibility="@{hasProfileEverBeenAddedValue ? View.GONE : View.VISIBLE}" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/values-night/color_palette.xml b/app/src/main/res/values-night/color_palette.xml index 5dd9fb09d08..a92f97f7b20 100644 --- a/app/src/main/res/values-night/color_palette.xml +++ b/app/src/main/res/values-night/color_palette.xml @@ -3,7 +3,7 @@ @color/color_def_oppia_turquoise @color/color_def_oppia_bangladesh_green @color/color_def_oppia_metallic_blue - @color/color_def_oppia_silver + @color/color_def_white @color/color_def_white @color/color_def_oppia_light_black @color/color_def_oppia_light_black @@ -12,8 +12,10 @@ @color/color_def_oppia_dark_grey @color/color_def_white @color/color_def_oppia_pink + @color/color_def_white @color/color_def_oppia_grayish_black @color/color_def_oppia_green + @color/color_def_white @color/color_def_forest_green @color/color_def_dark_green @color/color_def_oppia_green @@ -27,7 +29,6 @@ @color/color_def_bright_turquoise @color/color_def_dark_silver @color/color_def_oppia_light_black - @color/color_def_chooser_grey @color/color_def_oppia_silver @color/color_def_oppia_turquoise @color/color_def_oppia_light_black @@ -44,8 +45,8 @@ @color/color_def_oppia_turquoise @color/color_def_oppia_turquoise @color/color_def_oppia_pink - @color/color_def_forest_green - @color/color_def_forest_green + @color/color_def_oppia_turquoise + @color/color_def_oppia_silver @color/color_def_black_grey @color/color_def_oppia_turquoise @color/color_def_dark_pink @@ -57,6 +58,14 @@ @color/color_def_black_grey @color/color_def_bright_turquoise @color/color_def_light_grey + @color/color_def_oppia_green + @color/color_def_white + @color/color_def_grey_38 + @color/color_def_bright_turquoise + @color/color_def_light_grey + @color/color_def_forest_green + @color/color_def_bright_turquoise + @color/color_def_white @color/color_def_oppia_grayish_black @color/color_def_dark_mode_question_player_progress_bar_gradient_start @color/color_def_dark_mode_question_player_progress_bar_gradient_center @@ -66,6 +75,8 @@ @color/color_def_white @color/color_def_oppia_turquoise @color/color_def_oppia_turquoise + @color/color_def_oppia_turquoise + @color/color_def_oppia_silver @color/color_def_white @color/color_def_white @color/color_def_accessible_light_grey_2 @@ -126,6 +137,12 @@ @color/color_def_oppia_turquoise @color/color_def_forest_green @color/color_def_oppia_silver + @color/color_def_oppia_silver + @color/color_def_oppia_silver @color/color_def_bright_turquoise @color/color_def_black_12 + @color/color_def_charcoal_black + @color/color_def_oppia_silver + @color/color_def_white + @color/color_def_dark_silver diff --git a/app/src/main/res/values/color_defs.xml b/app/src/main/res/values/color_defs.xml index 58a698527dd..9849a35695c 100644 --- a/app/src/main/res/values/color_defs.xml +++ b/app/src/main/res/values/color_defs.xml @@ -16,6 +16,7 @@ #FFFFFF #CCFFFFFF #F2F2F2 + #222222 #000000 #00000000 #1F000000 @@ -59,12 +60,12 @@ #707070 #FFFFF0 #999999 + #61999999 #02655c #923026 #33999999 #8A3D69 #ACFFF8 - #61999999 #00E4F2F1 #E4F2F1 #E4F2F1 diff --git a/app/src/main/res/values/color_palette.xml b/app/src/main/res/values/color_palette.xml index 3a3ee5a991f..80376ed938f 100644 --- a/app/src/main/res/values/color_palette.xml +++ b/app/src/main/res/values/color_palette.xml @@ -5,6 +5,7 @@ @color/color_def_oppia_dark_blue @color/color_def_accessible_grey @color/color_def_accessible_grey + @color/color_def_accessible_grey @color/color_def_oppia_light_yellow @color/color_def_mid_grey_30 @color/color_def_transparent @@ -12,8 +13,10 @@ @color/color_def_white @color/color_def_black_87 @color/color_def_oppia_red + @color/color_def_accessible_light_grey_2 @color/color_def_white @color/color_def_oppia_green + @color/color_def_white @color/color_def_oppia_green @color/color_def_dark_green @color/color_def_oppia_green @@ -21,13 +24,12 @@ @color/color_def_accessible_light_grey_2 @color/color_def_white @color/color_def_spanish_grey - @color/color_def_bright_grey + @color/color_def_yellow_ivory @color/color_def_white @color/color_def_black @color/color_def_oppia_green @color/color_def_dark_silver @color/color_def_yellow_ivory - @color/color_def_accessible_grey @color/color_def_accessible_grey @color/color_def_accessible_grey @color/color_def_oppia_light_green @@ -45,8 +47,8 @@ @color/color_def_oppia_green @color/color_def_accessible_grey @color/color_def_error_text - @color/color_def_accessible_grey - @color/color_def_accessible_grey + @color/color_def_oppia_green + @color/color_def_accessible_grey @color/color_def_black_grey @color/color_def_oppia_dark_blue @color/color_def_oppia_brown_dark @@ -55,9 +57,17 @@ @color/color_def_green_shade_80 @color/color_def_light_green @color/color_def_oppia_green - @color/color_def_submit_button_inactive - @color/color_def_submit_button_inactive + @color/color_def_grey_38 + @color/color_def_grey_38 @color/color_def_white + @color/color_def_oppia_green + @color/color_def_white + @color/color_def_grey_38 + @color/color_def_grey_38 + @color/color_def_light_grey + @color/color_def_forest_green + @color/color_def_oppia_green + @color/color_def_white @color/color_def_oppia_light_yellow @color/color_def_question_player_progress_bar_gradient_start @color/color_def_question_player_progress_bar_gradient_center @@ -67,6 +77,8 @@ @color/color_def_accessible_grey @color/color_def_accessible_grey @color/color_def_checkbox_green + @color/color_def_oppia_green + @color/color_def_dark_silver @color/color_def_white @color/color_def_white @color/color_def_accessible_light_grey_2 @@ -127,6 +139,12 @@ @color/color_def_accessible_light_grey @color/color_def_oppia_green @color/color_def_accessible_light_grey_2 + @color/color_def_accessible_grey + @color/color_def_accessible_light_grey @color/color_def_black_grey @color/color_def_black_12 + @color/color_def_charcoal_black + @color/color_def_oppia_silver + @color/color_def_white + @color/color_def_dark_silver diff --git a/app/src/main/res/values/colors_migrating.xml b/app/src/main/res/values/colors_migrating.xml index 85e6e5c8654..aebb0c001ea 100644 --- a/app/src/main/res/values/colors_migrating.xml +++ b/app/src/main/res/values/colors_migrating.xml @@ -23,7 +23,6 @@ #E7AC9B #999999 #555555 - #707070 #33999999 #1F000000 #DDDDDD @@ -41,8 +40,6 @@ @color/color_def_oppia_dark_blue #707070 - #212121 - #999999 #E5E5E5 #E5E5E5 #E5E5E5 diff --git a/app/src/main/res/values/component_colors.xml b/app/src/main/res/values/component_colors.xml index 754418c7bc9..27d432074d9 100644 --- a/app/src/main/res/values/component_colors.xml +++ b/app/src/main/res/values/component_colors.xml @@ -2,6 +2,9 @@ @color/color_palette_cursor_color @color/color_palette_toolbar_color + @color/color_palette_toolbar_text_color + @color/color_palette_primary_background_color + @color/color_palette_secondary_background_color @color/color_palette_highlighted_text_color @color/color_palette_highlighted_text_color @color/color_palette_exploration_background_color @@ -41,7 +44,14 @@ @color/color_palette_correct_text_stroke_color @color/color_palette_correct_text_solid_color @color/color_palette_correct_text_color - @color/color_palette_submit_button_inactive_solid_color + @color/color_palette_primary_button_background_color + @color/color_palette_primary_button_text_color + @color/color_palette_button_inactive_solid_color + @color/color_palette_button_inactive_stroke_color + @color/color_palette_button_inactive_text_color + @color/color_palette_button_active_solid_color + @color/color_palette_button_active_stroke_color + @color/color_palette_button_active_text_color @color/color_palette_submit_button_inactive_stroke_color @color/color_palette_submit_text_inactive_color @color/color_palette_submit_text_active_color @@ -49,30 +59,32 @@ @color/color_palette_progress_bar_gradient_start_color @color/color_palette_progress_bar_gradient_center_color @color/color_palette_progress_bar_gradient_end_color + @color/color_palette_checkbox_checked_color + @color/color_palette_checkbox_unchecked_color + @color/color_palette_checkbox_unchecked_color + @color/color_palette_divider_color @color/color_palette_status_bar_color @color/color_palette_action_bar_color @color/color_palette_primary_text_color - @color/color_palette_highlighted_text_color + @color/color_palette_primary_text_color + @color/color_palette_secondary_1_text_color + @color/color_palette_secondary_2_text_color @color/color_palette_primary_text_color @color/color_palette_primary_text_color @color/color_palette_primary_text_color @color/color_palette_primary_text_color @color/color_palette_text_input_background_color @color/color_palette_error_color + @color/color_palette_helper_text_color @color/color_palette_container_background_color @color/color_palette_dark_background_color @color/color_palette_stroke_color - - @color/color_palette_description_text_color - @color/color_palette_background_color - @color/color_palette_toolbar_color - @color/color_palette_primary_text_color + @color/color_palette_info_icon_color @color/color_palette_dark_text_color @color/color_palette_description_text_color - @color/color_palette_background_color @color/color_palette_dark_background_color @color/color_palette_container_background_color @@ -82,18 +94,10 @@ @color/color_palette_dark_text_color @color/color_palette_dark_background_color @color/color_palette_dark_background_color - - @color/color_palette_background_color - @color/color_palette_background_color - @color/color_palette_toolbar_color - @color/color_palette_highlighted_text_color - @color/color_palette_primary_text_color @color/color_palette_forgot_pin_color - @color/color_palette_show_text_color + @color/color_palette_show_hide_color @color/color_palette_error_text_color - @color/color_palette_show_eye_icon_color - @color/color_palette_hide_eye_icon_color @color/color_palette_dark_background_color @color/color_palette_container_background_color @@ -172,10 +176,7 @@ @color/color_palette_dark_background_color @color/color_palette_description_text_color - @color/color_palette_light_background_color @color/color_palette_primary_text_color - @color/color_palette_highlighted_text_color - @color/color_palette_onboarding_divider_color @color/color_palette_dots_color @color/color_palette_arrow_color @@ -343,4 +344,9 @@ @color/color_palette_primary_background_color @color/color_palette_dark_text_color @color/color_palette_secondary_text_color + + @color/color_palette_profile_chooser_charcoal_black_background_color + @color/color_palette_profile_chooser_silver_text_color + @color/color_palette_profile_chooser_white_text_color + @color/color_palette_profile_chooser_avatar_border_color diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 26b9f3bbf6f..e08ac9d2eee 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -175,6 +175,7 @@ true @color/component_color_shared_text_input_layout_error_color @color/component_color_shared_text_input_layout_error_color + @color/component_color_shared_text_input_layout_helper_text_color @color/component_color_shared_text_input_layout_error_color @color/component_color_shared_text_input_layout_text_color viewStart @@ -196,7 +197,7 @@ sans-serif 24sp sans-serif - @color/component_color_shared_text_view_heading_text_color + @color/component_color_shared_primary_text_color