Android - Apply multiple styles to a view
Android's styling feature is meant for just one style to be applied to a view. This works just fine in most cases. However, there are times when properties from multiple styles have to be applied to a view. This makes sense only when the desired properties isn't provided in these styles. Ideally, application developers can just have one style extend from another style and get done. However, this is a challenge when one of these styles is a non-public platform style. Forking the platform style into application project is limited and doesn't necessarily work in platforms having different implementations. Besides, its not future proof as the stock AOSP version from Google might change the style implementation in a future release. In case of non-public platform style, android usually exposes a style attribute to customize the look and feel of it. Applications are supposed to provide a custom style implementation for this style attribute and that is how the plat...