From 541444f41fb0c70c48c47f1da23eb0fde810d7ae Mon Sep 17 00:00:00 2001 From: Abdourahamane Boinaidi Date: Thu, 25 Jul 2024 10:08:12 +0200 Subject: [PATCH] update Tablet preview --- .../com/infomaniak/swisstransfer/ui/utils/MultiplePreview.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/utils/MultiplePreview.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/utils/MultiplePreview.kt index f724b06c1..b92316085 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/utils/MultiplePreview.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/utils/MultiplePreview.kt @@ -48,13 +48,13 @@ annotation class PreviewMobile @Preview( name = "(1) Tablet portrait light", group = "Tablet", - device = "spec:width=1280dp,height=800dp,dpi=240,orientation=portrait", + device = "spec:id=reference_tablet,shape=Normal,width=1280,height=800,unit=dp,dpi=240", ) @Preview( 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", + device = "spec:id=reference_tablet,shape=Normal,width=1280,height=800,unit=dp,dpi=240", ) @Preview( name = "(3) Tablet landscape light",