check sdk version before setting action bar
use relative size for layouts