HeyAlex/BottomDrawer

The corners are not rounded

vkotovv opened this issue · 3 comments

This is the screenshot from my One Plus 8 device:

Screenshot_20210331-161316

The corners are not rounded. This can be reproduced for all 3 buttons. I just built this commit from the develop branch.

Device info:

Model: OnePlus IN2010
Android version: 11 - R
API level: 30
Drawable density: 450 (dpi)
Layout size: normal
Screen (dpi): 450
Width (px): 1080
Height (px): 2400
Usable width (px): 1080
Usable height (px): 2162
Width (dp): 384
Height (dp): 853
Smallest dp: 384
Orientation: Portrait
Orientation degree: 0°
Diagonal Size(inches): 6.0
X dpi: 391,9
Y dpi: 403,7
Touchscreen: Finger
Refresh rate (fps): 90,0

You can easily modify with styles. Sample app configured via:
ShapeAppearanceOverlay.TopLeftCut that's why you get a top left crop.

check styles.xml

Oh, I see. I was thinking it should be rounded by default, as it can be visible in Readme (gif animation).

if you checkout the last release version it will be like on gif on Readme and rounded by default. In future releases, it will be configured via styles.xml like in develop branch