I've started the default Android project, "Navigation Drawer Activity".
I've changed the theme to:
<!-- <style name="Theme.MyApplication" parent="Theme.MaterialComponents.DayNight.DarkActionBar">-->
<style name="Theme.MyApplication" parent="Theme.Material3.DayNight.NoActionBar">
But then the Drawer has rounded corners:
How can I make these corners straight again?


The corner size of the
NavigationViewis defined by thedrawerLayoutCornerSizeattribute in the style (default value with M3 theme =16dp).You can use in your layout:
or you can define a custom style:
and then apply it to the
NavigationView