Search code examples
androidandroid-compatibility

Compatibility Of Android Application


Please anyone tell me that how to make android application compatible on all devices? I want to run the same application on tablet, which is running well on 320 * 420. I tried following things:-

  1. Made all images suitable to ldpi,mdpi,hdpi and xhdpi and wrote the code for corresponding layout as layout-small, layout-normal, layout-large, layout-xlarge respectively.
  2. Following in manifest file:-

But still it's not working properly. Please suggest something helpful. . Thanks in advance.


Solution

  • I think you have a problem with Layout or we can say UI. You did not explain what is your actual problem,But If you have problem with UI that is If images you use is not showing properly on all device then you have to use different Images with High,medium and low resolution and put it as in hdpi,mdpi,ldpi folders,other things you done right using support screen and all. You can use 9 patch tool for this. Use high definition Images so It will good for you.