layout management in android

后端 未结 3 667
长发绾君心
长发绾君心 2021-01-03 05:43

I have created an app for all screen resolutions. So for that, according to the documentation I have created a list of resource directories in an application that provides d

3条回答
  •  执念已碎
    2021-01-03 06:26

    Dont prepare xml for each layouts. just make images for all (ldp, mdpi , hdpi) with same name and put in this different folder as per size.

    ldpi : 240X320
    mdpi : 320X480
    hdpi : 480X800
    

    And give permission in android Android Manifest file.

     
    

    i am apply this way to make universal app in android.it will work fine, try like this way..

提交回复
热议问题