android - Error in XML- unbounded prefix -
Can someone explain why I got this error? My styles in res / layout folder are. Xml I
& lt; Resources & gt; & Lt ;! - Base Application Theme, Depending on the API level, this theme has been replaced by App / Base-vXX / styles.xml on the new devices by AppBaseTheme. - & gt; & Lt; Style name = "appbashtheme" parent = "theme.excompat.light" & gt; & Lt ;! - Theme customization available in new API levels can be found in Res / values-vXX / styles.xml, whereas backward-compatible optimization can go here. - & gt; & Lt; / Style & gt; & Lt ;! - Application theme - & gt; & Lt; Style name = "Aaptim" parent = "appbashtheme" & gt; & Lt; Item name = "Android: Button Style" & gt; @ Style / buttonTheme & lt; / Item & gt; & Lt; / Style & gt; & Lt; Style name = "buttonTheme" origin = "Android: widget.button" & gt; & Lt; Item name = "android: textcolor" & gt; @color / black & lt; / Item & gt; & Lt; Item name = "Android: Background" & gt; @color / lightjari & lt; / Item & gt; & Lt; Item name = "Android: text size" & gt; 23sp & lt; / Item & gt; & Lt; Padding android: left = "1dp" android: top = "1dp" Android: right = "1dp" Android: Below = "1dp" /> & Lt; / Style & gt; & Lt; / Resources & gt; An error occurs in the button pasteing
You can
& lt; Item name = "android: padding" & gt; 1dp & lt; / Item & gt; Should use.
& lt; Padding android: left = "1dp" Android: top = "1dp" Android: right = "1dp" Android: Below = "1 DP" />
Comments
Post a Comment