Tomas wrote:The xml file is not "compiled" when you save.
When you save, it just saves the xml file in your project directory. Then you have to compile the whole project again into a .apk file, which you can run on the emulator. Simply editing the main.xml in your project and saving isn't going to change the main.xml in the apk file.
yaj786 wrote:Two things:
1) Where are you putting the android:textColor attribute?
2) Did you use setContentView(R.layout.main) ?
yaj786 wrote:right, but where in the xml file?
yaj786 wrote:the xml file IS overriden by the java file.
Also, try taking out the alpha part of that text color, (android:textColor="#4A4AFF" instead of what you have)
Users browsing this forum: No registered users and 3 guests