material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

not Rounded Corners last version

Open MehdiSekoba opened this issue 1 year ago • 1 comments

Hello, I am using the latest version of the material library, but the corners of the dialog are not rounded I also applied the styles correctly Device xiaomi 10c android 13 I used another library and there was no problem `

</style>

<style name="Theme.Wallpaper" parent="Base.Theme.">
    <item name="android:windowTranslucentStatus">true</item>
    <item name="android:windowTranslucentNavigation">true</item>
    <item name="android:forceDarkAllowed" tools:targetApi="Q">false</item>
    <item name="android:windowBackground">@color/white</item>
    <item name="android:enforceStatusBarContrast" tools:targetApi="q">true</item>
    <item name="android:enforceNavigationBarContrast" tools:targetApi="q">true</item>
    <item name="android:statusBarColor">@android:color/transparent</item>
    <item name="android:windowLightStatusBar">true</item>
    <item name="chipStyle">@style/ChipStyleTag</item>
    <item name="bottomSheetDialogTheme">@style/ThemeOverlay.App.BottomSheetDialog</item>


</style>
<!--BottomSheetDialog-->
<style name="ThemeOverlay.App.BottomSheetDialog" parent="ThemeOverlay.Material3.DayNight.BottomSheetDialog">
    <item name="bottomSheetStyle">@style/Widget.App.BottomSheet.Modal</item>
</style>

<style name="Widget.App.BottomSheet.Modal" parent="Widget.Design.BottomSheet.Modal">
    <item name="shapeAppearance">@style/ShapeAppearance.App.BottomSheet.Modal</item>
</style>

<style name="ShapeAppearance.App.BottomSheet.Modal" parent="">
    <item name="cornerFamily">rounded</item>
    <item name="cornerSizeTopRight">@dimen/_18mdp</item>
    <item name="cornerSizeTopLeft">@dimen/_18mdp</item>
    <item name="cornerSizeBottomRight">0dp</item>
    <item name="cornerSizeBottomLeft">0dp</item>
</style>
`

MehdiSekoba avatar Dec 28 '23 17:12 MehdiSekoba

@MehdiSekoba can you attach a video of the issue with more explanation?

dsn5ft avatar Jan 08 '24 16:01 dsn5ft