The xml file contains the constant value "1", "0", "-2" for orientation, width, height, for example, android: orientation = "1" , android: layout_width = "2" .
But Eclipse swears at such records (integer types not allowed). How to use these constants correctly?