Which of the below options are used to solve compatibility issues when using an Android app with both tablets and phones.
9 patch tool
avoiding using hard coded size for margins, heights, and widths.
all of the above.
Compatibility issues generally arise when our application is downloaded into devices with different screen sizes and screen resolutions. So first basic problem may come in case of tablets as activity don't use space efficient, so we have to sue fragments also. second problem may come in image scaling and re-sizing, so we have to use 9patch tool. third problem may come if we use hard coded or absolute pixels in xml layout files, so avoid it.
Back To Top