问题
I'm building compound controls (UI controls that consist of multiple standard UI controls) and I need HW acceleration (Honeycomb only app).
The typical control will look like this:
ViewGroup (some layout subclass) with a NinePatchDrawable background + setColorFilter on the background drawable.
Inside that, one or more Views with a NinePatchDrawable background + setColorFilter on the background drawable.
I'll build up my UI from compound controls like this.
Will this hierarchy be hardware accelerated?
Thank you!
回答1:
Yes this is supported by the hw accelerated pipeline.
来源:https://stackoverflow.com/questions/6108429/is-ninepatchdrawablesetcolorfilter-hw-accelerated-in-honeycomb