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

Resize handle and move handle should be automatically created #20

@safaorhan

Description

@safaorhan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    libraryIssues regarding the library itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions