android - How to create different layout for Galaxy S4 and Nexus 4 -


i using "layout-sw360dp" both galaxy s4 , nexus 4 devices in screen displaying space on galaxy s4. can make different layout both galaxy s4 , nexus 4. if possible please give me solution.

as per other answers 1 device 640 x 360 dp , other 640 x 384 dp.

you don't want make different layout them, because sooner or later see device 640 x 372 dp or 640 x 388 dp.

instead make layout elastic , don't hardcode pixels (density independent pixels can badly hardcoded).


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -