Difference between src and background for image view [duplicate]
This question already has an answer here: What is the difference between src and background of ImageView 3 answers I have two imageviews. I have set background for one image view and I have set src for one image view . But both are looking differnt and also when i press the imageview with background set it is not showing the selection. can anyone explain why this happens ? <ImageButton android:layout_width="250dp" android:layout_height="100dp" android:background="@drawable/perm_group_camera"/> <ImageButton android:layout_width="250dp" android:layout_height="100dp" android:adjustViewBounds=