google / glance-experimental-tools

Glance Experimental Tools aims to supplement Jetpack Glance with features that are commonly required by developers but not yet available.
https://developer.android.com/jetpack/androidx/releases/glance
Apache License 2.0
167 stars 12 forks source link

Add a note indicating that corner radius will not show up in screensh… #17

Closed shamalip closed 6 months ago

shamalip commented 6 months ago

Add a note indicating that corner radius will not show up in screenshots if hardware acceleration / clipToOutline is not supported (it may depend on rendering framework / screenshot framework). With robolectric+roborazzi, it doesn't seem to work currently (remoteviews use clipToOutline). However, one can use a emulator and take screenshot with hardware bitmap if they'd like corner radius to appear).

shamalip commented 6 months ago

@secondsun PTAL