I want to create custom dialog box in ionic2. I have tried lot's of reference ionic docs tutorial but I am not getting what I want.
I want to show this when user click on icon.

Please give me some idea to achieve the same.
I want to create custom dialog box in ionic2. I have tried lot's of reference ionic docs tutorial but I am not getting what I want.
I want to show this when user click on icon.

Please give me some idea to achieve the same.
You can add create custom controller as below -
import { AlertController } from 'ionic-angular';
constructor(private alertCtrl: AlertController) {
}
presentAlert() {
let alert = this.alertCtrl.create({
title: 'Low battery',
subTitle: '10% of battery remaining',
cssClass: 'my-class',
buttons: ['Dismiss']
});
alert.present();
}
<style>
.my-class{
background: gray;
color:#333;
}
</style>
On the same way you can add your custom style. You can get complete example on - https://www.tutorialsplane.com/ionic-popup