fix bug can't get views on platform API level 17(4.2)