Tag: style

View.setEnabled versus android:enabled

This post will be about an interesting observation I made when working on a custom View that did not extend EditText, but contained one.

Read more →

Styling composite Views in Android – Part 2

This is the second part of the blog post I wrote to help facing the problems that could arise when styling complex, composite Views. Now it is time to go further, and see a working solution!

Read more →

Styling composite Views in Android – Part 1

Android provides two very useful features: styles and themes. Styles save you from repeating yourself in your XML layouts over and over again, while themes make it easy to adjust the look of your application without having to modify a lot of code.

Read more →