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

[Slider] Trackpath rounded corners draws a circle

Open Pittvandewitt opened this issue 1 year ago • 0 comments
trafficstars

Description: At the end of a track path, a rounded corner is drawn. When the track path is at its mimimum size, the rounded corner draws a circle. Instead it should use the trackInsideCornerSize for the corners near the slider.

Expected behavior: https://github.com/material-components/material-components-android/assets/1721405/eda92b60-2d36-4161-bc98-4f8daf05bc5f

Current behaviour: https://github.com/material-components/material-components-android/assets/1721405/4e5a2270-e330-484e-a2ef-bbcc48b94c3e

Source code: The code snippet which is causing this issue

Minimal sample app repro: The current catalog app

Android API version: Android API 34

Material Library version: 1.12.0-alpha03

Device: Pixel 7

Pittvandewitt avatar Feb 17 '24 12:02 Pittvandewitt