diff options
| author | 2025-03-10 06:28:53 +0000 | |
|---|---|---|
| committer | 2025-03-13 03:13:54 +0000 | |
| commit | 165058c81c7d402cf6580e57f5efb7dd009e941d (patch) | |
| tree | 9ac17c67b71deeb95b5174a4e10760566a83908a /wrap_alpha.py | |
| parent | 595ae7b5cb5550b63fa29d1a2e664e4ea8101ed2 (diff) | |
[DocsUI M3] Restyle drag drop badge for M3
* When there are multiple dragging files:
* add an additional drag layer
* add a file counter
* Update drag show (radius/offset) to match the new M3 spec.
* drag shadow view is an isolated view without the theme
context, so M3 color attributes like "?attr/colorXXX"
can't be used directly, instead, system color tokens are
being used in light/dark mode. Since system color tokens
are only available in SDK 31, fallback static colors are
being used in the original colors.xml.
Check the attached bug for demo.
Bug: 377771158
Test: m DocumentsUIGoogle && manual inspection
Flag: com.android.documentsui.flags.use_material3
Change-Id: Ia00bb0037a19813b4137d9d6cd7a42441b7f255e
Diffstat (limited to 'wrap_alpha.py')
0 files changed, 0 insertions, 0 deletions