Skip to content

Possible improvement to the layout engine (of which the code is a bit confusing) #165

@roylly

Description

@roylly

Original Title: computeSegmentIndex to layout coachMarkView horizontally make me confused

As i want to make the arrow orientation to support left and right,i read the source code seriously. The complex layout code make me confused, why " Compute the segment index (for now the screen is separated in three horizontal areas and depending in which one the coach mark stand, it will be layed out in a different way."? why not layout the coachMarkView around the cutout path frame and calculate the maxWidth of coachMarkView? I think it will make layout code easy to understand.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions