Assigned
Status Update
Comments
qq...@google.com <qq...@google.com> #2
I wonder if this is the same as
22...@qq.com <22...@qq.com> #3
This is definitely an issue on emulator, but I cannot reproduce on a physical bluetooth keyboard.
For the emulator aspect, we will use
22...@qq.com <22...@qq.com> #4
@reporter can you let us know what keyboard you are using?
If you have time, can you also run something like this to provide more info on the keyboard?
var deviceText by remember { mutableStateOf("Type on keyboard to show device info.") }
val requester = remember { FocusRequester() }
Box(
contentAlignment = Alignment.Center,
modifier = Modifier
.fillMaxSize()
.padding(32.dp)
.onKeyEvent {
deviceText = it.nativeKeyEvent.device.toString()
false
}
.focusRequester(requester)
.focusable()
) {
SelectionContainer {
BasicText(deviceText)
}
}
LaunchedEffect(Unit) {
requester.requestFocus()
}
It should show you some information about the keyboard that is useful for us.
Description
Version used:1.1.0
Devices/Android versions reproduced on:Android 8.0
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
We called setStyle to textView.getPaint() to make the text seem like a bold-style text
the code is like:
textView.getPaint().setStyle(Paint.Style.FILL_AND_STROKE);
float dimension = context.getResources().getDimension(resDimen);
textView.getPaint().setStrokeWidth(dimension);
textView.invalidate();
but after we set this ,we can not see the emoji on the TextView.
We only reproduced this on a Samsung C7 phone with android 8.0. and other device is normal.
The left side of the image set the style, the right side of the image didnt set the style