i have created drawable folder 540 * 960 size name drawable-sw540
, created layout-sw540
,but running in emulator resolution of 540 * 960.it doesn't effect , view actual drawable , getting default drawable , layout.
if have idea please reply.
the resolution specified in pixels i.e. 540 * 960 pixels.
in android, resource folders specified in density-independent pixels(dp) not pixels(px). drawable-sw540
may not correct folder.
see this more info
first calculate dp of device , name layouts , drawables according that.
Comments
Post a Comment