Android Image Ratio 3 4 6 8 -


I am creating some graphics for my app and stuck on the ratio. I understand the ratio of double values ​​for example

  ldpi = 75px / 75px (less than the start point quarter) mdpi = 100px / 100px (starting point) hdpi = 150px / 150px (start point 1.5) Xhdpi = 200px / 200px (2x starting point)  

But if the width and height are not equal, for example I saw a post here, which had such values ​​

  ldpi = 240x320 mdpi = 320x480  

uses the width ratio, but how does 480 get 320? 320 = A fourth of 80 but there is 160 difference between the height

Using the same multiplier (scale factor) For x and y both:

  • ldpi: 0.75
  • mdpi: 1.0
  • hdpi;
  • xhdpi: 2.0
  • xxhdpi: 3.0
  • xxxhdpi: 4.0

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -