change version to sdk 8
change measurement method for view container