Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Have a look here, I think it should help <a href="http://developer.android.com/design/style/devices-displays.html" rel="nofollow">http://developer.android.com/design/style/devices-displays.html</a></p> <p>EDIT - I actually meant to point you <a href="http://developer.android.com/training/multiscreen/screendensities.html" rel="nofollow">here</a>, but you could reach it from the link above, too</p> <p>I don't know if you have troubles reading the links or whatever, but here is the necessary part taken from the second link</p> <blockquote> <p><strong>Supporting Different Densities</strong></p> <p>This lesson shows you how to support different screen densities by providing different resources and using resolution-independent units of measurements.</p> <p>Use Density-independent Pixels One common pitfall you must avoid when designing your layouts is using absolute pixels to define distances or sizes. Defining layout dimensions with pixels is a problem because different screens have different pixel densities, so the same number of pixels may correspond to different physical sizes on different devices. Therefore, when specifying dimensions, always use either dp or sp units. A dp is a density-independent pixel that corresponds to the physical size of a pixel at 160 dpi. An sp is the same base unit, but is scaled by the user's preferred text size (it’s a scale-independent pixel), so you should use this measurement unit when defining text size (but never for layout sizes).</p> <p>For example, when you specify spacing between two views, use dp rather than px:</p> </blockquote> <pre><code> &lt;Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/clickme" android:layout_marginTop="20dp" /&gt; </code></pre>
    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. This table or related slice is empty.
    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