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

Fixed #2652 #5265

Closed
wants to merge 1 commit into from
Closed

Fixed #2652 #5265

wants to merge 1 commit into from

Conversation

Cyclotron17
Copy link

untitled.webm
6inch.webm

Resolved the Streched Splash Screen issue in both mobile phones of sizes 6 inches or more and on Tablets, added the bazel dependency as well , please review it once.

earlier the splash screen use to look like this
oppia_earlier

@Cyclotron17 Cyclotron17 requested review from a team as code owners December 10, 2023 07:50
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.

Thanks @Cyclotron17!

In addition to the comments I have left inline, I have noticed that you haven't added the bazel dependency in the project.

The library needs to be added to bazel as well as gradle. Please follow this wiki to add a dependency to bazel. Here is a commit that shows an example of what is expected when adding a new dependency to bazel: c85a6e6.

Please ask a question for any clarifications needed.

'com.github.oppia:android-spotlight:ebde38335bfb56349eae57e705b611ead9addb15'
'com.github.oppia:android-spotlight:ebde38335bfb56349eae57e705b611ead9addb15',

//Sambhrant Tiwari
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 the comment. All attributions are handled by git when you make a commit with your username.


//Sambhrant Tiwari
'com.intuit.ssp:ssp-android:1.0.5',
'com.intuit.sdp:sdp-android:1.0.5'
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think adding the sdp lib only is sufficient, and there is a newer version, 'com.intuit.sdp:sdp-android:1.1.0',

Comment on lines +38 to +39
android:layout_width="@dimen/width_228dp"
android:layout_height="@dimen/height_88dp"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
android:layout_width="@dimen/width_228dp"
android:layout_height="@dimen/height_88dp"
android:layout_width="@dimen/splash_imageview_width"
android:layout_height="@dimen/splash_imageview_height"

Comment on lines +4 to +7
<dimen name="width_228dp">228dp</dimen>

<!-- Example dimension for height -->
<dimen name="height_88dp">88dp</dimen>
Copy link
Collaborator

Choose a reason for hiding this comment

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

This file is organized according to screen name, kindly add splash screen related dimens under the relevant category, or create one if it does not exist. Please stick to the patterns in the file.

Additionally, Your dimensions are in dp, contrary to the fix you proposed in #2652 (comment).

Just adding the dependency and not using it does not fix the issue.

@Cyclotron17
Copy link
Author

Sure thing, will make the required changes and re raise the PR.

Copy link

oppiabot bot commented Dec 19, 2023

Hi @Cyclotron17, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue.
If you are still working on this PR, please make a follow-up commit within 3 days (and submit it for review, if applicable). Please also let us know if you are stuck so we can help you!

@oppiabot oppiabot bot added the stale Corresponds to items that haven't seen a recent update and may be automatically closed. label Dec 19, 2023
@Vishwajith-Shettigar Vishwajith-Shettigar removed the stale Corresponds to items that haven't seen a recent update and may be automatically closed. label Dec 21, 2023
Copy link

oppiabot bot commented Dec 28, 2023

Hi @Cyclotron17, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue.
If you are still working on this PR, please make a follow-up commit within 3 days (and submit it for review, if applicable). Please also let us know if you are stuck so we can help you!

@oppiabot oppiabot bot added the stale Corresponds to items that haven't seen a recent update and may be automatically closed. label Dec 28, 2023
@oppiabot oppiabot bot closed this Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Corresponds to items that haven't seen a recent update and may be automatically closed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants