Android Software Engineer Question:

Please explain the difference between nine-patch image vs regular Bitmap image?

Tweet Share WhatsApp

Answer:

It is one of a re-sizable bitmap resource which is being used as backgrounds or other images on the device. The Nine-Patch class allows drawing a bitmap in nine sections. The four corners are un-scaled; the middle of the image is scaled in both axes, the four edges are scaled into one axis.

Download Android Software Engineer PDF Read All 62 Android Software Engineer Questions
Previous QuestionNext Question
What is needed to make multiple choice list with custom view for each row?How to translate in Android?