Any clue why I get the background like that? I wan...
# android
j
Any clue why I get the background like that? I want to make my rounded corners more visible...
stackoverflow 1
this is the set-up
k
you can set radiusCorner on CardView like
app:cornerRadius="30dp"
j
@khalil I have already set cornerRadius on my cardView
j
If it is a dialog try to change the style to a material one
k
how many dps? you set a drawable background on your cardview?
j
image.png
k
I think that 12dp could be a little low... put like 100dp and see what happens
b
Do you need the parent relative layout at all?
Set the cardview as the dialog layout directly with cardCornerRadius
j
@brandonmcansh yupp that might be the case.... I will try that out
c
Or set the background of the RelativeLayout to be transparent. Its background is showing through.
👍 1