I drew a rectangle where i wanted only top left an...
# compose
r
I drew a rectangle where i wanted only top left and bottom left rounded. But when you zoom in the corners look bad. Is it something to do with anti-aliasing. I draw rect with path. https://gist.github.com/raghunandankavi2010/aecb872b021dc42a9568d76c023629ca. How can i make this rounded corner smooth?. Emulator screen shot added.
a
Could the emulator just have a low screen res? You might want to change your settings
r
Ok. Will run it on a device and check. Never thought this could be a emulator issue.
a
Yeah, those look like individual pixels, if your screen resolution in the emulator is smaller than your display density, especially when the window is scaled up, it might create those artifacts
f
yep, looks to me like it's working the best it can theoretically do
r
Thanks. Looks like a emulator issue.