Skip to content

Version 3.0.0 - Shortcut Icon

Compare
Choose a tag to compare
@mlcsouza mlcsouza released this 28 Oct 14:14

Release 3.0.0 - DS Android
Hi today we’re releasing the new version of Nat DS For Android!

What’s new:
⚠️ ⚠️ ⚠️ Breaking change: Shortcut icon parameter ⚠️ ⚠️ ⚠️

Now to set a Shortcut icon, you should pass only the icon name thru iconName attribute.
Shortcut component is no longer supporting any drawable as an icon parameter.

You can check more info at Shortcut documentation

`<com.natura.android.shortcut.Shortcut
    android:id="@+id/shortcutOutlined"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:iconName="outlined-default-mockup"
    app:textLabel="Shortcut outlined sample"
    app:type="outlined" />`