Custom view on android phone widgets

Hi Team,
i want to create a custom view for android widgets ,how it is possible in ionic 2?