xml - wxga android layout >600dp -
i have andoid layout want display on tablets , phones. i've created folders , layouts layout layout-land, layout-sw600dp, layout-sw600dp-land, layout-sw720dp, layout-sw720dp-land,... screens works ok until load 4.7 wxga screen understand relationship between density , size supposed build consistent layout when wxga screen wants run use sw720dp layouts ? if specify text size based on dp specific folders xml layout can not want. missing fundamentally simple . how can make layout work on small screen high pixel density , large screen same number of pixels?
here's looks like
edit : not enough reputation points post images ;( post pointless now
it know device it. dp
resolution. if know can create layout-swxxxdp
folder it. if don't know propose put in layout files , check loaded on device. e.g. in layout
folder put textview
text "layout normal", in layout-sw600dp
put textview
text "layout sw600dp" , on. please note can use other numbers layout folder name layout-sw456dp
.
i think in way can find proper layout folder device.
Comments
Post a Comment