Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BorderRadius not working on android #310

Open
BogdanRad opened this issue Jun 4, 2020 · 5 comments
Open

BorderRadius not working on android #310

BogdanRad opened this issue Jun 4, 2020 · 5 comments

Comments

@BogdanRad
Copy link

BogdanRad commented Jun 4, 2020

Hello, I have this style on Interactable.View. On ios is ok, but on android it's not working... How can i fix this problem?

container: {
position: 'absolute',
left: 0,
right: 0,
backgroundColor: '#212641',
borderRadius: 25,
}

image

@sakymar
Copy link

sakymar commented Jul 1, 2020

Hello, did you manage to solve it ?

@BogdanRad
Copy link
Author

nop :(

@sakymar
Copy link

sakymar commented Jul 1, 2020

I could not manage to fix it, I made a view inside with a border radius and hidden overflow + transparent background on the actual interactable view

@jnuno98
Copy link

jnuno98 commented Feb 21, 2021

@sakymar can you show the code that solved it please?

@fukemy
Copy link

fukemy commented Dec 28, 2022

not working to me @sakymar

<Interactable.View
                        initialPosition={{ x: width - 140, y : 0 }}
                        snapPoints={snapPoints}>
                        <View zOrder={2} style={{
                            marginTop: 68,
                            marginRight: 20,
                            borderRadius: 80,
                            overflow: 'hidden',
                            backgroundColor: 'red',
                            width: 120,
                            height: 160,
                        }}>
                            <RTCView style={{
                                borderRadius: 8,
                                flex: 1,
                                width: 120,
                            }} zOrder={1}
                                objectFit={'cover'}
                                streamURL={localVideoStream?.stream?.toURL()}
                            />
                        </View>
                        </Interactable.View>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants