Android Multiscreen Support in android : 540x960 issue

前端 未结 3 1409
一个人的身影
一个人的身影 2020-12-10 08:59

My application is supporting 3 type of density ldpi (120),mdpi(160),hdpi(320) and for that we have three folder for resources (ldpi,mdpi,hdpi).

But my problem is occ

3条回答
  •  [愿得一人]
    2020-12-10 09:16

    you can use below combination for Layout for HTC sensation XE (540x960) :

    res/layout-w540dp-h960dp/layout.xml 
    

    this will use for pick layout for this device and for drawable it will pick image from hdpi because in this developer site 256 dp come in range of hdpi . http://developer.android.com/guide/practices/screens_support.html.

    hope this will help you.

提交回复
热议问题