florent37 / florent37/ShapeOfView

Can I use SurfaceView inside ShapeOfView

Open
#47 3 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 wanted to show camera preview in a circle view, so I tried to put a SurfaceView inside CircleView. But the SurfaceView seemed to be covered by CircleView and showed nothing. If I change the CircleView to FrameLayout, SurfaceView can show camera preview in a rect. Can you give me some advice to solve this ?Thank you.
```xml

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.