Enrico Saggiorato
02/28/2022, 6:23 PMSean Proctor
02/28/2022, 6:29 PMmattinger
02/28/2022, 6:31 PMandroidx.compose.material.icons.Icons
implementation("androidx.compose.material:material:1.1.0")
Sean Proctor
02/28/2022, 6:33 PMEnrico Saggiorato
02/28/2022, 6:38 PMSean Proctor
02/28/2022, 6:39 PMAlex Vanyo
02/28/2022, 6:42 PMandroidx.compose.material:material-icons-core
, which is automatically included if you include androidx.compose.material:material
or androidx.compose.material3:material3
That list of core icons is here:
https://developer.android.com/reference/kotlin/androidx/compose/material/icons/filled/package-summary
To use anything outside of that core list requires directly specifying androidx.compose.material:material-icons-extended
, which then brings them all in.
I think the best reference to that full list is https://fonts.google.com/iconsMike Wolfson
02/28/2022, 8:32 PMLouis Pullen-Freilich [G]
02/28/2022, 10:56 PMThese are just Vectors, so I feel like it is not a lot of size to bring the full icon package in.If you don’t use r8 / similar, it’s a huge amount of size because of the sheer number of icons 🙂 It’s less than PNGs, sure, but it’s still ~9000 generated classes with vector code
Colton Idle
03/01/2022, 5:50 AM