diff --git a/screenshots/assets/frames/android/pixel_6_frame.png b/screenshots/assets/frames/android/pixel_6_frame.png new file mode 100644 index 0000000..9e27dab Binary files /dev/null and b/screenshots/assets/frames/android/pixel_6_frame.png differ diff --git a/screenshots/assets/system_overlays/android/pixel_6_system_overlay_dark.png b/screenshots/assets/system_overlays/android/pixel_6_system_overlay_dark.png new file mode 100644 index 0000000..45f11de Binary files /dev/null and b/screenshots/assets/system_overlays/android/pixel_6_system_overlay_dark.png differ diff --git a/screenshots/assets/system_overlays/android/pixel_6_system_overlay_light.png b/screenshots/assets/system_overlays/android/pixel_6_system_overlay_light.png new file mode 100644 index 0000000..cb97d05 Binary files /dev/null and b/screenshots/assets/system_overlays/android/pixel_6_system_overlay_light.png differ diff --git a/screenshots/models/screenshot_device.dart b/screenshots/models/screenshot_device.dart index b952592..c24f326 100644 --- a/screenshots/models/screenshot_device.dart +++ b/screenshots/models/screenshot_device.dart @@ -24,7 +24,18 @@ class ScreenshotDevice { String get deviceFramePath => 'screenshots/assets/frames/${platform.name}/${name}_frame.png'; } -final screenshotDevices = {for (final d in _screenshotDevicesIos) d.name: d}; +final screenshotDevices = { + for (final d in _screenshotDevicesAndroid + _screenshotDevicesIos) d.name: d, +}; + +final List _screenshotDevicesAndroid = [ + ScreenshotDevice.fromDisplayName( + displayName: 'Pixel 6', + platform: ScreenshotDevicePlatform.android, + screenshotFrameOffset: (dx: 67, dy: 66), + ), +]; + final List _screenshotDevicesIos = [ ScreenshotDevice.fromDisplayName( displayName: 'iPhone 8 Plus', diff --git a/screenshots/models/screenshot_layout.dart b/screenshots/models/screenshot_layout.dart index 841c5e3..6698b7c 100644 --- a/screenshots/models/screenshot_layout.dart +++ b/screenshots/models/screenshot_layout.dart @@ -1,4 +1,10 @@ enum ScreenshotLayout { + android( + size: (width: 1440, height: 2560), + contentPadding: (left: 144, top: 144, right: 144, bottom: 144), + titleFontPath: 'screenshots/assets/fonts/SF-Pro-Display-Bold.zip', + subtitleFontPath: 'screenshots/assets/fonts/SF-Pro-Display-Regular.zip', + ), iphone65inch( size: (width: 1242, height: 2688), contentPadding: (left: 144, top: 184, right: 144, bottom: 184),