Creating an emulator profile for Galaxy mini s4 in AVD

Can anyone explain how to create a Galaxy S4 mini profile in AVD New Defintion?

The device specification on this site:

http://www.gsmarena.com/samsung_i9190_galaxy_s4_mini-5375.php

look like this:

540 x 960 pixels

4.3 inches (pixel density ~ 256 dpi)

1.5 GB RAM Internal memory

Now, how can I find out the exact value for:

Screen size:?

size (size-normal-large-xlarge) :?

Screen Ratio (Long) :?

Density (XXhdpi-xhdpi-hdpi-tvdpi-mdpi-ldpi-nodpi) :?

and which layout folder should I create for this emulator or device in res?

(layout-960x540, layout-sw600dp or layout-sw720dp)?

I created these layouts in my program:

enter image description here

, , :

View v = (View)findViewById(R.id.layouttype);
Log.i(getClass().getSimpleName(),"Layout Bucket is : "+ v.getTag().toString());

"layouttype" .

+3
1

0

All Articles