Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Resize handle and move handle should be automatically created #20

Open
safaorhan opened this issue May 20, 2020 · 0 comments
Open

Resize handle and move handle should be automatically created #20

safaorhan opened this issue May 20, 2020 · 0 comments
Labels
library Issues regarding the library itself

Comments

@safaorhan
Copy link
Collaborator

Background

Currently, for the library to function properly, user of the library needs to create a complex view hierarchy:

  • PanelLayout
    • Content
    • Panel
      • Move Handle
      • Resize Handle

Letting user of the library decide how content and panel look in XML is really beneficial since it allows them to configure whatever View attribute on them and/or place other views inside.

However move handle view is just used to represent a touch delegate for moving the panel and should be optional. Library can (and should) provide an automatically created move handle by default and let users override this created move handle by adding it manually from XML and marking it as a move handle.

Also the resize handle is only used to represent a touch delegate for resizing the panel, but it's not as flexible as the move handle since it needs to be positioned to the bottom end corner of panel to function properly. Since the position of it is limited it should be replaced with two attributes:

  • resize handle width
  • resize handle position (in the future)

TODO

  • Create an issue for move handle specifying attributes, possible values and behaviour
  • Create an issue for resize handle specifying attributes, possible values and behaviour
@safaorhan safaorhan added the library Issues regarding the library itself label May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
library Issues regarding the library itself
Projects
None yet
Development

No branches or pull requests

1 participant