Make activity containing dialog transparent, resolve warnings by defining sdk min and target