clementwzk / clementwzk/OpenCalc
Better animation for button reshaping
- Dominant language
- Kotlin
- Stars
- 1.5k
- Forks
- 186
- PR merge metrics
- No merged PRs in 30d
Description
When showing advanced functions in the normal view of the calculator, the buttons are immediately reshaped to fit into the new space before the animation for button movement plays out. This looks specially odd when hiding the advanced functions, since the buttons become larger and visibly overlap with one another before the buttons are moved to their new position.
It'd be better to animate the button reshaping alongside button movement similar to what Google's stock calculator does. A FOSS app which implements this type of behavior is Unitto when performing and operation and making extra space to show the result. Here is the comparison:
| Unitto | OpenCalc |
|-----------|---------------|
| https://user-images.githubusercontent.com/86078431/218274454-1fc3effc-f5a9-4e34-972c-5139e1274b71.mp4 |https://user-images.githubusercontent.com/86078431/218274458-b1178db3-a07e-43d1-9d4d-918c85cc75a6.mp4 |
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points; begin by locating the normal calculator view and its advanced-function button layout and animation code. Compare the current behavior with the linked Unitto and OpenCalc videos, and consider the work done when button resizing animates alongside movement without overlap.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100