Unable to use arrow orientation at the bottom
See original GitHub issuePlease complete the following information:
- Library Version: 1.3.4
- Affected Device(s): OnePlus 5 (all devices though I guess)
Describe the Bug:
When using ArrowOrientation.TOP
a centered balloon (presented in the center of an anchor view via .show
) will have its arrow pointing upwards but will be located at an incorrect position relative to the anchor view. The position is calculated as if the arrow is pointing down not up.
Balloon balloon = new Balloon.Builder(context)
.setArrowSize(20)
.setArrowOrientationRules(ArrowOrientationRules.ALIGN_FIXED)
.setArrowOrientation(ArrowOrientation.TOP)
.setArrowColorResource(R.color.black)
.setCornerRadius(0)
.setText("Hello!")
.setBalloonAnimation(BalloonAnimation.FADE)
.setLifecycleOwner(this)
.setSize(100, 100)
.setElevation(5)
.build();
balloon.show(buttonView);
Result:
Expected Behavior:
The balloon position should follow the arrow orientation, shifting the balloon downwards.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
How To Fix Arrow Keys Not Working In Excel - Help Desk Geek
When you're working on an Excel spreadsheet, the best way to move between cells is to use the arrow keys on your keyboard....
Read more >Move or scroll through a worksheet - Microsoft Support
Use the arrow keys to move through a worksheet ; To the start and end of ranges. Press CTRL+an arrow key to scroll...
Read more >No longer able to use the arrow up/down keys to nudge artwork!
My workaround is to open the transform tool/panel, and play with the “X” or “Y” numbers to get a little “nudge”… so annoying!...
Read more >3 Ways to Fix the Arrow Keys Not Working in Excel - MakeUseOf
1. Turn Off Scroll Lock. You won't be able to use the arrow keys if you have a scroll lock enabled on your...
Read more >Unable to get required Orientation of arrow - TeX
On the bottom half, the vertical arrows are directed downwards. On the top half, the horizontal arrows are directed upwards. I'm able to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry for wording. My intention is to show the balloon ‘over’ the view in terms of z-index, not vertically. Both views should overlap each other, the arrow tip pointing to the anchor center. What I am looking for is the following:
This is a mockup made in GIMP. I wasn’t able to achieve this using any combination of config settings.
When using
showAlign____
the whole balloon will be shifted down below or above the anchor view, resulting in the arrow pointing directly at the edge. This is not the intended look.A new stable
1.3.8
has been released!