Skip to main content

write_android_mipmap_icons

Function write_android_mipmap_icons 

Source
pub fn write_android_mipmap_icons(
    res_dir: &Path,
    custom_icon: Option<&Path>,
) -> Result<Vec<PathBuf>>
Expand description

Writes all five Android/Wear OS mipmap launcher icons (48..192px) under res_dir.

§Arguments

  • &Path - Android res/ directory root.
  • Option<&Path> - Optional custom source PNG override.

§Returns

  • io::Result<Vec<PathBuf>> - Written launcher icon file paths.