Super‑charge your Jetpack Compose previews with production‑grade device specs for rugged enterprise handhelds and popular Android OEM devices.
24,282 devices across 2,668 manufacturers
The built‑in Compose preview device list is limited and focused on consumer phones. Enterprise & vertical‑market apps often run on purpose‑built scanners, sleds and rugged handhelds with very different screen metrics.
Support for Zebra, Honeywell, Datalogic, and other rugged enterprise devices used in warehouses, retail, and field operations.
Simple constant strings drop straight into @Preview(device = Zebra.MC33) style usage with a single import.
Over 24,000 devices from 2,600+ manufacturers, automatically generated and maintained with conflict resolution.
Automatic regeneration via Kotlin generator module ensures specs stay current with latest device releases.
Stable constant names derived from vendor model codes with intelligent conflict resolution.
Includes Google reference devices using official id: previews for seamless integration.
The library is hosted on Maven Central, so no additional repository configuration is needed if you already have mavenCentral() in your repositories block.
// Module build.gradle.kts
dependencies {
implementation("se.premex.compose.preview:android-compose-preview-ext:1.0.0")
}import androidx.compose.ui.tooling.preview.Preview
import se.premex.compose.preview.device.catalog.android.Zebra
@Preview(name = "Zebra MC33", device = Zebra.MC33)
@Preview(name = "Zebra EC50", device = Zebra.EC50)
@Composable
fun MultiDevicePreview() {
YourComposableContent()
}
Stop eyeballing layouts on a single Pixel.
Catch density, width/height & aspect issues instantly – before they ship.
Browse the complete catalog: Device Documentation