Skip to content

Commit

Permalink
Refactor Tablet annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sirambd committed Jul 25, 2024
1 parent 3f58266 commit 6705ec9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@ annotation class PreviewMobile

// Tablet
@Preview(
name = "(1) lightMode portrait",
name = "(1) Tablet portrait light",
group = "Tablet",
device = "spec:width=1280dp,height=800dp,dpi=240,orientation=portrait",
)
@Preview(
name = "(2) darkMode portrait",
name = "(2) Tablet portrait dark",
group = "Tablet",
uiMode = Configuration.UI_MODE_NIGHT_YES or Configuration.UI_MODE_TYPE_NORMAL,
device = "spec:width=1280dp,height=800dp,dpi=240,orientation=portrait",
)
@Preview(
name = "(3) lightMode landscape",
name = "(3) Tablet landscape light",
group = "Tablet",
device = "spec:id=reference_tablet,shape=Normal,width=1280,height=800,unit=dp,dpi=240",
)
@Preview(
name = "(4) darkMode landscape",
name = "(4) Tablet landscape dark",
group = "Tablet",
uiMode = Configuration.UI_MODE_NIGHT_YES or Configuration.UI_MODE_TYPE_NORMAL,
device = "spec:id=reference_tablet,shape=Normal,width=1280,height=800,unit=dp,dpi=240",
Expand Down

0 comments on commit 6705ec9

Please sign in to comment.