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

I extracted dimension values into resource files #1151. #1219

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

veritaslogix
Copy link

@veritaslogix veritaslogix commented Sep 27, 2021

(#1151)

Hi there!
Because a lot of dimensions get reused, when I moved the dimensions file I used names like "large_1", "small_1", and "normal_1" for dimension values.

I tried this to cut down on repetitive values in the dimens file.

"small" values range between 0dp and 15dp
"normal" values range between 16dp to 119dp
"large" values are anything over 120dp (the largest is 480dp)

[PS, I submitted an application to LBRY for an android engineer position on September 9, 2021. This PR is part of my application process.]

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Fixes

Issue Number: 1151

What is the current behavior?

What is the new behavior?

Other information

 (lbryio#1151)

 Because a lot of dimensions get reused, when I moved the dimensions file I used names like "large_1", "small_1", and "normal_1" for dimension values.

 I tried this to allow to cut down on repetitive values in the dimens file.

 "small" values range between 0dp and 15dp
 "normal" values range between 16dp to 119dp
 "large" values are anything over 120dp (the largest is 480dp)
@kekkyojin
Copy link
Collaborator

For the next time, I suggest you to use a new branch for yout changes instead of commiting to your master branch

@veritaslogix
Copy link
Author

Okay, 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.

3 participants