Skip to content

Commit a15e38d

Browse files
Add phone in landscape
1 parent 1705e6a commit a15e38d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • core/ui/src/main/kotlin/com/google/samples/apps/nowinandroid/core/ui

core/ui/src/main/kotlin/com/google/samples/apps/nowinandroid/core/ui/DevicePreviews.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import androidx.compose.ui.tooling.preview.Preview
2424
* to render various devices.
2525
*/
2626
@Preview(name = "phone", device = Devices.PHONE, showBackground = true)
27+
@Preview(name = "phone_in_landscape", widthDp = 891, heightDp = 411, showBackground = true)
2728
@Preview(name = "foldable", device = Devices.FOLDABLE, showBackground = true)
2829
@Preview(name = "tablet", device = Devices.TABLET, showBackground = true)
2930
@Preview(name = "desktop", device = Devices.DESKTOP, showBackground = true)

0 commit comments

Comments
 (0)