This repository was archived by the owner on Nov 10, 2024. It is now read-only.
allow for horizontal callouts using gravity sideAuto and sideCenter#62
Open
asproat wants to merge 4 commits into
Open
allow for horizontal callouts using gravity sideAuto and sideCenter#62asproat wants to merge 4 commits into
asproat wants to merge 4 commits into
Conversation
mreram
reviewed
Aug 18, 2022
| private int yMessageView = 0; | ||
| private int xMessageView = 0; | ||
|
|
||
| private float startXLineAndCircle; |
mreram
reviewed
Aug 18, 2022
| private float circleIndicatorSizeFinal; | ||
| private float circleInnerIndicatorSize = 0; | ||
| private float lineIndicatorWidthSize; | ||
| private float lineIndicatorHeightSize; |
mreram
reviewed
Aug 18, 2022
| paintCircleInner.setAntiAlias(true); | ||
|
|
||
| final float x = (targetRect.left / 2 + targetRect.right / 2); | ||
| float x = 0.0f; |
Owner
There was a problem hiding this comment.
This variable name is too general, x of what? please clarify it and choose a better name.
mreram
reviewed
Aug 18, 2022
Comment on lines
+23
to
+26
| android:layout_width="0dp" | ||
| android:layout_height="wrap_content" | ||
| android:layout_gravity="left" | ||
| android:layout_marginLeft="20dp" | ||
| android:layout_marginRight="10dp" | ||
| android:maxWidth="0dp" |
Owner
There was a problem hiding this comment.
It made invisible this image view, please revert these changes
mreram
suggested changes
Aug 18, 2022
mreram
left a comment
Owner
There was a problem hiding this comment.
Thanks for your contribution, it would be a nice change, please check out my comments and let me know when you fix them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added two gravity values: sideAuto and sideCenter that make the callout appear right or left of the selected view