Skip to content

Move the locking button to a floating action button (FAB)  #33

@GrazianoCapelli

Description

@GrazianoCapelli

At this time the lock button is on the top-left corner, near the 3 yellow angle values. Unfortunately in this position the button (that is the most used one) is not comfortable for the user.
We would like to move the lock button on a FAB (floating action button) located in the bottom-right corner, the standard position of the Android FABs.

Here a mockup of the main activity:

ClinometerFAB

The button should work exactly like the existing one, using setOnTouchListener.
In the future we might use the angles label on top-left corner to copy the values to the clipboard (issue #5).

PS: the FAB it is NOT 100% standard: the implementation is a bit tricky because the activity doesn't rotate when the user rotate the phone; We rotate only part of the interface, without re-create the activity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlike to implementWe want to add the feature in the next releases

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions