Fixed
Status Update
Comments
ca...@google.com <ca...@google.com> #2
removed the dup; this is possibly about how android spans work on empty strings.
- the calculation in the composable level seemed correct but the layout was not
- it happens for a new line as well
- one problem with both includeFontPadding true/false is that the cursor height is possibly can be visually improved to match the text ascent/descent rather than line top/bottom (might be challenging)
ca...@google.com <ca...@google.com> #3
I do not fully understand your points, though I was wondering if a similar "trick" to measure "HHHHHHHHHHH" cannot be used here, because if I'm not mistaken the cursor gets drawn by text layout measuring on empty string.
Description
Artifact used:
androidx.core:core-splashscreen
Version used:1.0.0-alpha02
Theme used: Devices/Android versions reproduced on:I'm trying to setup a splash screen, but I don't want to animate it out (no fade, nothing, just immediate closing).
Currently, layout transitions will triggers a fade out if I write:
Which is probably normal. But when I try to disable it, I doesn't work:
I also tried animate it out using a 0ms duration animation, without success. The only way to achieve this is to use: