I believed this too. Then I opened my app on a Pixel 9 Pro Fold and was surprised that the "foldable" layout was skipped, and the "tablet" layout appeared on the screen.
#AndroidDev #KMP #MaterialDesign
I believed this too. Then I opened my app on a Pixel 9 Pro Fold and was surprised that the "foldable" layout was skipped, and the "tablet" layout appeared on the screen.
#AndroidDev #KMP #MaterialDesign
Here's how to improve entering a card number. You can also use it for phone numbers, dates, postcodes, and more.
Do you already use OutputTransformation in your project?
Here's how to improve entering a card number. You can also use it for phone numbers, dates, postcodes, and more.
Do you already use OutputTransformation in your project?
#JetpackCompose
#JetpackCompose
• name
• group
• locale
• widthDp
• heightDp
• showBackground
• backgroundColor
More details: github.com/JetBrains/c...
• name
• group
• locale
• widthDp
• heightDp
• showBackground
• backgroundColor
More details: github.com/JetBrains/c...
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.
Check out the ListDetailPaneScaffold component from the Material3 adaptive-layout dependency.
Check out the ListDetailPaneScaffold component from the Material3 adaptive-layout dependency.
Tooltips support the following positions:
• Above
• Below
• Start
• End
Tooltips support the following positions:
• Above
• Below
• Start
• End
Remember: Not everyone uses the default font size.
Remember: Not everyone uses the default font size.
You can preview dynamic colors directly in Android Studio using the "wallpaper" parameter for preview annotation.
Does your app support dynamic colors?
You can preview dynamic colors directly in Android Studio using the "wallpaper" parameter for preview annotation.
Does your app support dynamic colors?
⚠️ Currently, the multiple previews are rendered in IntelliJ IDEA 2025.1.2 (stable version) and not rendered in Android Studio.
⚠️ Currently, the multiple previews are rendered in IntelliJ IDEA 2025.1.2 (stable version) and not rendered in Android Studio.
⚠️ Currently in alpha
#AndroidDev #MaterialDesign #JetpackCompose
⚠️ Currently in alpha
#AndroidDev #MaterialDesign #JetpackCompose
This feature works for Compose Multiplatform code, too. (tested it in Android Studio Narwhal).
This feature works for Compose Multiplatform code, too. (tested it in Android Studio Narwhal).
• Ellipsis
• StartEllipsis
• MiddleEllipsis
• Ellipsis
• StartEllipsis
• MiddleEllipsis
Jetpack Compose 1.8.0 is available as part of the BOM: 2025.04.01
implementation(platform("androidx.compose:compose-bom:2025.04.01"))
Jetpack Compose 1.8.0 is available as part of the BOM: 2025.04.01
implementation(platform("androidx.compose:compose-bom:2025.04.01"))
By using the "Device UI Shortcuts" feature, you can adjust:
• Color mode
• Navigation mode (gesture, buttons)
• Font size
• Display size
By using the "Device UI Shortcuts" feature, you can adjust:
• Color mode
• Navigation mode (gesture, buttons)
• Font size
• Display size
I'd love to hear from developers and QA engineers: What screenshot testing tools do you use alongside screenshot testing frameworks?
I'd love to hear from developers and QA engineers: What screenshot testing tools do you use alongside screenshot testing frameworks?
My thoughts after playing with it:
• It generates fake data for previews
• It struggles with custom types
• It needs modification, but it speeds up the process
In the future, it might be a helpful tool for adding visual tests.
My thoughts after playing with it:
• It generates fake data for previews
• It struggles with custom types
• It needs modification, but it speeds up the process
In the future, it might be a helpful tool for adding visual tests.
My new article explores how visual tests can detect pixel-perfect issues in your Android application: alexzh.com/why-visual-...
Learn how to catch visual bugs before release, like those shown in this image.
My new article explores how visual tests can detect pixel-perfect issues in your Android application: alexzh.com/why-visual-...
Learn how to catch visual bugs before release, like those shown in this image.