Android Question Cannot alter EditField Hint Text Color

ralvy

Member
Licensed User
Working on the MyFirstProject project in the Beginners Guide. I changed the Activity background object to be white. Given that change, I changed, among other things, the Hint Text Color for the EditTextField to Black. This seems to have no effect on the compiled app.

I zipped up the project and uploaded it here, assuming that's what you'd want to see.
 

Attachments

Note that you should use File - Export as zip when uploading projects.

It is better to keep the default colors and change the theme to a light theme. It is done with this manifest editor code:

Code: Copy
SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values-v20, theme.xml,
<resources>
  <style
  name="LightTheme" parent="@android:style/Theme.Material.Light">
  </style>
</resources>
)
CreateResource(values-v14, theme.xml,
<resources>
  <style
  name="LightTheme" parent="@android:style/Theme.Holo.Light">
  </style>
</resources>
)
 
Upvote 0
Back
Top