Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I would like to give you some suggestions.</p> <blockquote> <p>it will be the same APK , or its better to Create another APK ?</p> </blockquote> <p>It should be a single app.</p> <blockquote> <p>if it will be same APK , how can i force the app to stick on Vertical for Smartphones and stick on Horizontal for Tablets? ( Meaning if app is running on tablets it will never rotate to vertical and vice versa for smartphones )</p> </blockquote> <p>For layout issues concider <a href="http://developer.android.com/guide/practices/screens_support.html" rel="nofollow">this</a>. which should give you some basic idea about how to acheive it.</p> <blockquote> <p>how can i define layouts for horizontal ?!</p> </blockquote> <p>For horizontal layouts you can define a seperate layout. You check for the screen size or whatever stuffs which proves for horizontal layout and set the layout.</p> <blockquote> <p>if anyone got special experience on doing this please share it with me</p> </blockquote> <p>I have followed it by using the screen sizes and I have used the layout depending on the size. Have a look at <a href="http://developer.android.com/training/multiscreen/screensizes.html#TaskUseSWQuali" rel="nofollow">this</a> explains somethings to you.</p> <p>Edit :</p> <p>Same applies for the vertical layout as well. That is have a vertical layout defined. </p> <p>For Horizontal use <code>dp</code>. Know about it with above first link. There you can have it like below.</p> <blockquote> <p>Density-independent pixel (dp) <br>A virtual pixel unit that you should use when defining UI layout, to express layout dimensions or position in a density-independent way. The density-independent pixel is equivalent to one physical pixel on a 160 dpi screen, which is the baseline density assumed by the system for a "medium" density screen. At runtime, the system transparently handles any scaling of the dp units, as necessary, based on the actual density of the screen in use. The conversion of dp units to screen pixels is simple: px = dp * (dpi / 160). For example, on a 240 dpi screen, 1 dp equals 1.5 physical pixels. You should always use dp units when defining your application's UI, to ensure proper display of your UI on screens with different densities.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload