Make ImageView drawable update more efficient in some cases.

When updating the view's drawable via setImageResource or setImageURI,
make sure to skip the layout pass if the old and new drawable have equal
sizes. This follows what is already done for setDrawable().

Change-Id: If73d225e38d0a2f7c616c4aeb33f67bdaed390f1
Base : Add navigation bar dimensions
credit Lokesh Chamane and pac rom

Change-Id: If08f7fe07f3d6324a4684d58399a30e3617207b6