Sha256: c8c54b871a78b155590bac0f26b808dba8c4d68bc020e7c2c8104ff153d67afd

Contents?: true

Size: 784 Bytes

Versions: 6

Compression:

Stored size: 784 Bytes

Contents

# teak/api21_icon
Ensures that the APK contains a notification icon for both Android 5+ (API 21+) as well as pre-Android 5, and that these are different icons.

## Will Skip If
* The Teak SDK is not present.

## Will Fail If
* There is no drawable resource for `io_teak_small_notification_icon`.
* There is no v21 drawable resource for `io_teak_small_notification_icon`
* The drawable resources point to the same image.

## Exports
The values for `io_teak_small_notification_icon` for less than v21, and v21+.

### Example
```json
{
  "icon": null,
  "icon_v21": "@drawable/icon_white"
}
```

## Reason
Android 5+ uses [Material Design](https://material.io/design/iconography/#notification) and needs a white and transparant icon for proper display of notification icons in the tray.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
headdesk-0.8.0 docs/teak/api21_icon.md
headdesk-0.7.0 docs/teak/api21_icon.md
headdesk-0.6.0 docs/teak/api21_icon.md
headdesk-0.5.2 docs/teak/api21_icon.md
headdesk-0.5.1 docs/teak/api21_icon.md
headdesk-0.5.0 docs/teak/api21_icon.md