Does your application support foldable devices?
Does your application support foldable devices?
Google's window size classes aren't device categories—they're viewport measurements. The Pixel 9 Pro Fold jumps straight from compact to expanded, never using medium.
On the other side, Samsung's Z Fold 5 uses medium.
Same device category, but different screen sizes.
Google's window size classes aren't device categories—they're viewport measurements. The Pixel 9 Pro Fold jumps straight from compact to expanded, never using medium.
On the other side, Samsung's Z Fold 5 uses medium.
Same device category, but different screen sizes.
Want to dive deeper into visual testing? Subscribe to my newsletter. Plus, you’ll be the first to know when my book on visual testing is released!
alexzh.com/
#AndroidDev
Want to dive deeper into visual testing? Subscribe to my newsletter. Plus, you’ll be the first to know when my book on visual testing is released!
alexzh.com/
#AndroidDev
Start strategically:
• Convert your design system and/or common components first
• Add preview functions for the most critical screens
• Gradually expand coverage to less critical screens
Start strategically:
• Convert your design system and/or common components first
• Add preview functions for the most critical screens
• Gradually expand coverage to less critical screens
You likely already created a preview function, which was the hard part.
You likely already created a preview function, which was the hard part.
Let's compare:
• US: 12,345,678.9
• FR: 12 345 678,9
Use "NumberFormat.getNumberInstance(locale)." for number formatting.
Which of these has caused issues in your apps?
Let's compare:
• US: 12,345,678.9
• FR: 12 345 678,9
Use "NumberFormat.getNumberInstance(locale)." for number formatting.
Which of these has caused issues in your apps?
Is "01/02/2025" January 2nd or February 1st? Actually, it depends on the locale.
• US: MM/DD/YYYY
• UK: DD/MM/YYYY
Use "DateTimeFormatter" to format dates based on locale.
Apply a similar approach to time formatting.
Is "01/02/2025" January 2nd or February 1st? Actually, it depends on the locale.
• US: MM/DD/YYYY
• UK: DD/MM/YYYY
Use "DateTimeFormatter" to format dates based on locale.
Apply a similar approach to time formatting.
• US: $1,234.56
• DE: 1.234,56 €
Use "NumberFormat.getCurrencyInstance(locale)" for proper currency symbol positioning.
• US: $1,234.56
• DE: 1.234,56 €
Use "NumberFormat.getCurrencyInstance(locale)" for proper currency symbol positioning.
implementation("androidx.compose.material3:material3-android:1.4.0-alpha15")
implementation("androidx.compose.material3:material3-android:1.4.0-alpha15")