java - Editing XML Style Sheets Changes Buttons in Android -


I am working on an Android app and have decided that I want to change the color in the whole app, XML Style Sheet This has changed my color, but it did not change my editing text, textview and button colors, so I had to create a different style sheet for each element and then call those sheets from within the main color sheet. Which I was using.

However, once I did this, the color worked properly for three widgets, but the boxes were shrinking and disrupted our entire layout. We believe that because we override the default styles for those people, but I thought that the way it was written, we were only overriding the color options.

I want to know that EditText, TextView and Button, but do not change their formatting.

Styles.xml:

  for our project & lt; Resources xmlns: android = "http: // schemas.android.com/apk/res/android"> & Lt; color name = "oldblue" & gt; # 33b5e5 & lt; / Color & gt; & Lt; color name = "gungrey" & gt; # 9C9C9C & lt; / Color & gt; & Lt; Color name = "textGold" & gt; # Ffe27e & lt; / Color & gt; & Lt; color name = "backgroundBlack" & gt; # 000000 & lt; / Color & gt; & Lt; Color name = "buttonGrey" & gt; # 222222 & lt; / Color & 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 = "Android: theme.lite" & 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 ;! - All customizations that are not specific to a particular API-level can go here. - & gt; & Lt; Item name = "android: textcolor" & gt; @color / textgolds & lt; / Item & gt; & Lt; Item name = "android: windowBackground" & gt; @color / backgroundblack & lt; / Item & gt; & Lt; Item name = "Android: Color background" & gt; @color / background black & lt; / Item & gt; & Lt; Item name = "android: editTextStyle" & gt; @ Style / TextAdit Style & lt; / Item & gt; & Lt; Item name = "android: textViewStyle" & gt; @ Style / text view style & lt; / Item & gt; & Lt; Item name = "Android: Button Style" & gt; @ Style / Our Button & lt; / Item & gt; & Lt; / Style & gt; & Lt ;! - Allows us to edit the editing text field - & gt; & Lt; Style name = "TextEditStyle" parent = "android: Widget.EditText" & gt; & Lt; Item name = "Android: Background" & gt; # e3e3e3 & lt; / Item & gt; & Lt; / Style & gt; & Lt ;! - Allows us to edit textView words (more of app text) - & gt; & Lt; Style name = "textvustice" origin = "android: widget.TextView" & gt; & Lt; Item name = "android: textcolor" & gt; @color / textgolds & lt; / Item & gt; & Lt; / Style & gt; & Lt ;! - Allows us to edit buttons in the app - & gt; & Lt; Style name = "OurButtonStyle" origin = "android: Widget.Button" & gt; & Lt; Item name = "android: textcolor" & gt; @color / textgolds & lt; / Item & gt; & Lt; Item name = "Android: Background" & gt; @color / buttongray & lt; / Item & gt; & Lt; Item name = "Android: Padding" & gt; 10dp & lt; / Item & gt; & Lt ;! - This line here helps us to fix the problem with the buttons that hit the text box, but ideally, we want to change the same thing and fix all the widgets and use padding here Do not have to - & gt; & Lt; / Style & gt; & Lt; / Resources & gt;   

Our app is using a linear layout on all of our pages. We want to keep it like this, please let me know if you need to see any screenshot or XML code of the individual pages. However, these are all a single error.

Thanks for any help!

Michael Elkan