jemz
jemz

Reputation: 5153

How can I create different screen size image in android

I am new to android I would like to ask some help if there is an application that will create automatically different screen size image for my app. ?

Thank you in advance.

Upvotes: 1

Views: 51

Answers (2)

Skizo-ozᴉʞS ツ
Skizo-ozᴉʞS ツ

Reputation: 20656

You should read the screens_support documentation, there you'll find the answer to your question.

For example this is the differents types of Images that you can add on your project.

A set of six generalized densities:

  • ldpi (low) ~120dpi
  • mdpi (medium) ~160dpi
  • hdpi (high) ~240dpi
  • xhdpi (extra-high) ~320dpi
  • xxxhdpi (extra-extra-extra-high) ~640dpi

Also it's important to know :

xlarge screens are at least 960dp x 720dp

large screens are at least 640dp x 480dp

normal screens are at least 470dp x 320dp

small screens are at least 426dp x 320dp

Also you can use a "tool" to put your images with those size it's called : AndroidAssetStudio

Also take a look at this post and this one it might help you.

Upvotes: 2

jomartigcal
jomartigcal

Reputation: 813

The Android Asset Studio (https://romannurik.github.io/AndroidAssetStudio) is a great tool you can use.

Upvotes: 3

Related Questions