Android - The advantage of using ImageView over the background property of a simple view

I have been using Android for a while, and most of the time I used the background property for view objects to refer to some drawings in my project, mainly because I add some content or functionality to the content.

However, recently I am working on a project that requires a lot of static images that just sit without additional functions, so I use ImageView.

However, I did not fully understand the benefits of using ImageView, but only because scaleType

+3
source share
1 answer

- , . ImageView - , . , , .

: , , ImageView , ImageView, , . , ImageView , .

, scaleType, , : https://groups.google.com/forum/?fromgroups#!topic/android-developers/HuF7pO4fovA

+5

All Articles