giving UnsupportedOperationException with explanation Can't convert to dimension: type=0x1c on object initialization.