Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes part of #4178 : Added dark mode support to OnboardingActivity #4379

Merged
merged 7 commits into from
Jun 8, 2022

Conversation

bhaktideshmukh
Copy link
Contributor

@bhaktideshmukh bhaktideshmukh commented Jun 1, 2022

Explanation

Fixes part of #4178 : Added dark mode support to OnboardingActivity

Mocks link:

Screenshots

Default Dark mode
Default Dark mode
Default Dark mode
Default Dark mode

Essential Checklist

  • The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • Any changes to scripts/assets files have their rationale included in the PR explanation.
  • The PR follows the style guide.
  • The PR does not contain any unnecessary code changes from Android Studio (reference).
  • The PR is made from a branch that's not called "develop" and is up-to-date with "develop".
  • The PR is assigned to the appropriate reviewers (reference).

For UI-specific PRs only

If your PR includes UI-related changes, then:

  • Add screenshots for portrait/landscape for both a tablet & phone of the before & after UI changes
  • For the screenshots above, include both English and pseudo-localized (RTL) screenshots (see RTL guide)
  • Add a video showing the full UX flow with a screen reader enabled (see accessibility guide)
  • Add a screenshot demonstrating that you ran affected Espresso tests locally & that they're passing

@bhaktideshmukh
Copy link
Contributor Author

bhaktideshmukh commented Jun 1, 2022

@rt4914
One doubt -- here in slide number 3 link of onboarding, different color is used in mocks for dark mode but in default mode 2 different shades are used for portrait and landscape mode in download sign figure.
So please suggest whether it should be changed or not?

@rt4914
Copy link
Contributor

rt4914 commented Jun 1, 2022

@bhaktideshmukh I am unable to understand what exactly you mean here?
**different color is used in mocks for dark mode ** -> Can you precise what you are taking about? The background, icon, text, etc?
default mode 2 different shades are used -> What is default mode here? Also what are these two different shades and are they used in? TextView, image or background? Also if possible share links of these two different things that you are talking about.

@rt4914 rt4914 assigned bhaktideshmukh and unassigned rt4914 Jun 1, 2022
@bhaktideshmukh
Copy link
Contributor Author

bhaktideshmukh commented Jun 2, 2022

@bhaktideshmukh I am unable to understand what exactly you mean here? **different color is used in mocks for dark mode ** -> Can you precise what you are taking about? The background, icon, text, etc? default mode 2 different shades are used -> What is default mode here? Also what are these two different shades and are they used in? TextView, image or background? Also if possible share links of these two different things that you are talking about.

Here in ic_portrait_onboarding_2.xml the fillColor used is #00645c where as in ic_landscape_onboarding_2.xml and ic_landscape_onboarding_2_tablet.xml it is #02645c.
And the color used in mocks is #3BD1C4.

@rt4914
Copy link
Contributor

rt4914 commented Jun 3, 2022

@bhaktideshmukh Do one thing here.

File one detailed issue mentioned this issue and for now use one single color only for dark + light mode which is ic_portrait_onboarding_2.xml.

Once you have filed the issue, mention it here also. And share with me so that I will add more details and then I will share it with design team so that they can clarify things. That way your PR won't get blocked and also it can be a nice goo-first-issue too.

@rt4914 rt4914 assigned bhaktideshmukh and unassigned rt4914 Jun 3, 2022
@bhaktideshmukh
Copy link
Contributor Author

@bhaktideshmukh Do one thing here.

File one detailed issue mentioned this issue and for now use one single color only for dark + light mode which is ic_portrait_onboarding_2.xml.

Once you have filed the issue, mention it here also. And share with me so that I will add more details and then I will share it with design team so that they can clarify things. That way your PR won't get blocked and also it can be a nice goo-first-issue too.

I have filed the issue regarding this and have assigned you as well
#4381
And have changed the fillColor of ic_landscape_onboarding_2.xml and ic_landscape_onboarding_2_tablet.xml to the fillColor of ic_portrait_onboarding_2.xml .

Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bhaktideshmukh Final nit change. Earlier I did suggest these changes but lets first get the confirmation from design team that the images cannot be of different colors.

@oppiabot oppiabot bot unassigned rt4914 Jun 6, 2022
@oppiabot
Copy link

oppiabot bot commented Jun 6, 2022

Unassigning @rt4914 since the review is done.

@oppiabot
Copy link

oppiabot bot commented Jun 6, 2022

Hi @bhaktideshmukh, it looks like some changes were requested on this pull request by @rt4914. PTAL. Thanks!

Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants