Sometime my client tells me that he wants a particular feature. It is good to take a step further and figure out why he wants this feature. It is crucial to understand the client’s problems you are paid to solve.
Possible outcome of discovering the root problem:
You may be able to propose alternative feature that can better solve this problem (possibly easier implementation)
You may discover that the feature may not be solving the problem at all, and it might need to be remove from feature list
Did an system update this morning, and I was warned that /boo/ partition is out of space. I realized that CentOS keep copies of previous kernel images in /boot/. This link provides a simple instruction for removing older kernel versions.
When an ImageView is scaled, while keeping aspect ratio, I noticed extra padding was added to the image. This can be removed by enabling android:adjustViewBounds.
I am displaying an image, with a piece of text below it. I want the image’s width to match parent’s width, and scale the image height while keeping aspect ratio. (I have set a grey background color to highlight the padding.)