florent37 / florent37/ShapeOfView

Elevation issue

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.2k
Forks
400
PR merge metrics
No merged PRs in 30d

Description

I tried this path and elevation is gone.

`shapeOfView.setClipPathCreator { width, height ->
val path = Path()


path.moveTo(0f, 0f)
path.lineTo(width.toFloat(), 0f)
path.lineTo((width - 0.1f * width), 0.5f*height)
path.lineTo(width.toFloat(), height.toFloat())
path.lineTo(0f, height.toFloat())
path.close()

path
}`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the supplied shapeOfView.setClipPathCreator path on Android and observe how elevation behaves with the custom Path. Investigate the interaction between this clip-path setup and elevation. Done means the reported path retains visible elevation, with a regression check if the project provides a suitable test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.