Answers for "ionic icon"

1

ionic fab

<ion-fab vertical="top" horizontal="end" slot="fixed">
    <ion-fab-button>
      <ion-icon name="add"></ion-icon>
    </ion-fab-button>
  </ion-fab>
Posted by: Guest on May-11-2020
1

ionic cordova icon notification

// Please test if this code added to config.xml <platform name="android"> tag will add the icon as default notification icon.
// Place the notification icon under "resources/android/notification/"
<resource-file src="resources/android/notification/notification_icon.png" target="app/src/main/res/drawable/notification_icon.png" />
<config-file parent="/manifest/application/" target="app/src/main/AndroidManifest.xml">
    <meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/notification_icon" />
</config-file>
Posted by: Guest on June-18-2020
1

ion icon image

<-- use this tag instead: -->
<ion-img src="assets/xxx.png"></ion-img>
Posted by: Guest on September-08-2020

Browse Popular Code Answers by Language