updated for android Tab