There were 2 issues with my codes:
1) ImageButton
click is not supported by Robotium (they recommend sticking to View
instead)
2) Click event cannot happen when the screen of my phone is off!
I made sure the screen of my phone is on and changed my code is the following and it works:
View submitBtn = solo.getView(R.id.btn_next);
assertNotNull(submitBtn);
solo.clickOnView(submitBtn);