views:

20

answers:

0

Simple question really:

for very simple graphics such as dividers, is it cheaper in terms of layouting / rendering costs to use a FrameLayout and set the image as a background instead of using ImageView? The intuition was that FrameLayout is the simplest of all views (in terms of features), and ImageView does things like scaling and cropping. On the other hand, FrameLayout is a ViewGroup and maintains children, while ImageView does not (although in this case, there are no child views).

Or is it not much to talk about anyway in terms of performance?