Button click listener not working in fragment

Make sure you see debug logs. Or use Log.i() instead.