paparazzi
paparazzi copied to clipboard
Device specific Default themes
Description
The theme is device specific, at least for Wear, which should use something like @android:style/Theme.DeviceDefault or @android:style/ThemeOverlay.Material.Dark, but shouldn't have a NavigationBar.
class Paparazzi @JvmOverloads constructor(
private val environment: Environment = detectEnvironment(),
private val deviceConfig: DeviceConfig = DeviceConfig.NEXUS_5,
private val theme: String = "android:Theme.Material.NoActionBar.Fullscreen",
Steps to Reproduce
Make a screenshot test with
val paparazzi = Paparazzi(
deviceConfig = DeviceConfig.WEAR_OS_SMALL_ROUND,
)
Expected behavior
Something closer to results from
val paparazzi = Paparazzi( deviceConfig = DeviceConfig.WEAR_OS_SMALL_ROUND, theme = "android:ThemeOverlay.Material.Dark" )
Although I don't actually know the right value to use here.
Additional information:
- Paparazzi Version: 1.0
- OS: OSX
Screenshots
@luis-cortes Since my direct need has gone, should I close this off? Or are there reasons we may want to support different per device default themes, to replicate OEM changes? or version changes?