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

FIX #2652 Splash Screen Stretched #5147

Closed

Conversation

backpackerdeveloper
Copy link

@backpackerdeveloper backpackerdeveloper commented Sep 9, 2023

FIX #2652 Splash Screen Stretched
Changes:

  • Added SDP library in dependency
  • in SplashScreenActivity : in ImageView Changed the dp to sdp
  • Now it fits on different sizes of devices

ABOUT SDP
An android lib that provides a new size unit - sdp (scalable dp). This size unit scales with the screen size. It can help with supporting multiple screens.

@github-actions
Copy link

github-actions bot commented Sep 9, 2023

Hi! @backpackerdeveloper Welcome to Oppia! Could you please follow the instructions here and sign the CLA Sheet to get started? You'll need to do this before we can accept your PR. Thanks!

@backpackerdeveloper
Copy link
Author

Signed the CLA sheet 👍

Copy link
Collaborator

@adhiamboperes adhiamboperes left a comment

Choose a reason for hiding this comment

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

Hey @backpackerdeveloper, can you tell me about any alternative solutions you considered before adding the sdp lib?

Please also read the wiki on submitting a PR. You deleted the PR template but you need to fill it out instead. Please look at #5148 other PRs in the repo and copy the PR description template and add it to this PR.

@backpackerdeveloper backpackerdeveloper changed the title Fixed Splash Screen Stretched issue by using sdp library FIX #2652 Splash Screen Stretched Sep 15, 2023
@backpackerdeveloper
Copy link
Author

@adhiamboperes As I saw ConstraintLayout is properly, assigned, so I directly sdp lib, and it worked.
and yes I was slightly confused with the PR Template at that time, and mistakenly deleted the template

Copy link
Collaborator

@adhiamboperes adhiamboperes left a comment

Choose a reason for hiding this comment

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

Hi @backpackerdeveloper, thanks for this PR. There are a number of things that need work in order for us to accept this solution:

  • The library needs to be added to bazel as well as gradle. Please follow this wiki to add a dependency to bazel.
  • We do not need to update gradle now, so please exclude any gradle wrapper update changes from your PR.
  • Please refer to the wiki on submitting a PR. Your branch is called develop, and that is prohibited in the repo.
  • Add before and after screenshots to your PR, to demostrate the changes.(Also make sure you read the essential checklist because it has important requirements)

This means that you should close this PR and open a new one with an appropriately named branch, and also please address all these comments in the new PR.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This should not be part of the commit.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Please remove this change, we do not want to update gradle at the moment.

@oppiabot
Copy link

oppiabot bot commented Sep 24, 2023

Unassigning @adhiamboperes since the review is done.

@oppiabot
Copy link

oppiabot bot commented Sep 24, 2023

Hi @backpackerdeveloper, it looks like some changes were requested on this pull request by @adhiamboperes. PTAL. 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.

Splash Screen Stretched
3 participants