Skip to content

Conversation

@Mayank9mare
Copy link
Contributor

Fixes #[#2136 ]

Changes: [Added a else statement in line 491 in ThermometerDataFragment.java and set the color to "#ff48cce9"]

Screenshot/s for the changes: [Add screenshot/s of the layout where you made changes or a *.gif containing a demonstration
scar

]
I have also referred the original repository of anastr/SpeedView(https://github.com/anastr/SpeedView) of PointerSpeedometer.

Checklist: [Please tick following check boxes with [x] if the respective task is completed]

  • [ x] I have used resources from strings.xml, dimens.xml and colors.xml without hard-coding them
  • [x ] No modifications done at the end of resource files strings.xml, dimens.xml or colors.xml
  • [x ] I have reformatted code in every file included in this PR [CTRL+ALT+L]
  • [x ] My code does not contain any extra lines or extra spaces
  • [ x] I have requested reviews from other members

APK for testing: [Compress the app-debug.apk file into a <feature>.rar or <feature>.zip file and upload it here]

Comment on lines 491 to 493
else{
thermometer.setBackgroundCircleColor(Color.parseColor("#ff48cce9"));
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hello @Mayank9mare , There's a space missing after else block. Also rather than hard-coding property values, use resource files.

@CloudyPadmal CloudyPadmal added the Fix Solution to an existing issue in app label Oct 11, 2020
<color name="gray">#F2ECEC</color>
<color name="black">#000000</color>
<color name="background">#FAFAFA</color>
<color name="primaryBlue">#ff48cce9</color>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Make it consistence. ff48cce9 -> 48CCE9

@CloudyPadmal
Copy link
Collaborator

Also squash the commits into one. https://github.com/fossasia/pslab-android#how-to-git-squash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Solution to an existing issue in app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants