Input fields on a form include EditText & Label views. I would like both types of views to have a consistent appearance (background & text colors) for all Android versions (and/or devices).
The Labels' appearance I set from the Designer and they remain consistent, but the EditText's appearance is different across devices. I can't see how to set the EditText's appearance from the designer and could not find an example of how to set it by code.
You could create your own 9 patch image and set it to the EditText views.
Attached a small test project, the image is taken from Erel's tutorial.
For more detatails you should read chapter 9.1.5 NinePatchDrawable in the User's Guide.
Unfortunately, the example program in the User's Guide Source Code doesn't work, the Object folder is missing.
I attached it below.