multiple screen support in android

后端 未结 5 710
灰色年华
灰色年华 2020-11-28 15:49

I am working on a project and i have tested it on nexus one. its working there properly but I want that my project should be compatible with all screen sizes. How to do this

5条回答
  •  天涯浪人
    2020-11-28 16:23

    All the answers above are great in there own means.Many times we're in scenario where our nested LinearLayout within RelativeLayout is hard to fit all the screens considering some complex layout line Tile

    The above scenario can be solved by android's percent support library fitting all the screens.

    Demo HERE

    GitHub Project HERE

    
        
        
    
    

    Hope anyone find it useful :-).

提交回复
热议问题