So I expect that your XML (which Randy asked for) will contain that string somewhere. Whatever the "dip" at the end was supposed to mean, it doesn't belong there. The exception tells us that a float value was expected.
Randy Tong wrote:As Paul mentioned, you have error which caused Invalid float: "20.0dip. Are you using it somewhere else?
I would guess that there is a resource file named something like: res/values/dimens.xml, and inside that is an entry for activity_horizontal_margin like this:Is dip still supported? Try changing it to dp (same meaning) and if that helps.
Another thought - is activity_horizontal_margin allowed to be a decimal value? If not, try changing it to 20dp.