Status Update
Comments
ja...@gmail.com <ja...@gmail.com> #2
We are planning to create a Textfield
component and publish it but we don't have a timeline for it now. I will update here once we have confirmed date for Textfield
's launch.
Regarding SnackbarHost
and Scaffold
, these components are not yet prioritized to be published in TV material3. I request you to create a Feature Request
issue for these components and if we get some +1
s on the ticket, we can think of prioritizing those as well.
Coming to theming, if you are using components from both tv.material3 and compose.material3, then you will have to provide both tv.material3.MaterialTheme
and compose.material3.MaterialTheme
at the app root. If you don't provide any one of them, the respective components will fallback to using the default material3 colors.
You can also refer to tv.material3.ColorScheme
to compose.material3.ColorScheme
. This way, your color scheme will have a single source of truth.
se...@gmail.com <se...@gmail.com> #3
Hi,
Thank you for the response. I'll wait for the TextField in the tv library and try to add a feature request for the other two composables.
Regarding your theming comment, it makes sense, but I can't seem to access the full (working) example of how the mapped colorscheme should be used in the App's root. Do you have any links to a complete working sample?
Thanks.
Description
Version used:
compose-bom = "2023.10.01"
androidx.tv:tv-foundation = "1.0.0-alpha10"
androidx.compose.ui = "1.6.0-alpha07"
Devices/Android versions reproduced on:
Android TV Emulator, API 34. (I've tried on 33 and 30 too).
Android Studio Hedgehog | 2023.1.1 Patch 1
Windows 10.0
You can use any Compose TV project to reproduce the issue, for example this one:
When Layout Inspector is opened, the component tree section is empty, just saying "Nothing to show".
I've tried several projects on several devices and emulators, but all are the same.