Action when pressing but_notif

Property definitions

android :: ui_test $ Window :: act_notif
	# Action when pressing `but_notif`
	fun act_notif
	do
		var notif = self.notif
		if notif == null then
			notif = new Notification("From app.nit", "Some content...")
			notif.ticker = "Ticker text..."
			notif.show
			self.notif = notif
		else
			notif.cancel
			self.notif = null
		end
	end
lib/android/examples/src/ui_test.nit:54,2--67,4