Note that there are some explanatory texts on larger screens.

plurals
  1. POLayout margins doesnt work on android 2.3.3
    primarykey
    data
    text
    <p>so my problem is that layout margin doesn't work when i launch my project on device with droid 2.3. But on 4.0.3 and higher it works. I don't understand where i did a mistake, i have a 2 the same devices(Huawei honor) with different os (GingerBread and ICS) and i really don't get why my layout margins wont work on my gingerBread device. So here are the screenshots:</p> <p><img src="https://s12.postimg.org/79iz2vl25/ics.png" alt="ICS"></p> <p><img src="https://s24.postimg.org/3roowjeit/ginger_Bread.png" alt="GINGERBREAD"></p> <p>XML</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/flipper" android:layout_width="match_parent" android:layout_height="fill_parent" android:background="@color/app_background" &gt; &lt;include android:layout_width="match_parent" android:layout_height="match_parent" layout="@layout/layout_pleasewait" /&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="15dp" android:layout_marginRight="15dp" android:orientation="vertical" &gt; &lt;View android:id="@+id/divider1" android:layout_width="fill_parent" android:layout_height="1dp" android:layout_marginTop="@dimen/divider_margin" android:background="@color/layout_divider_bold" /&gt; &lt;ExpandableListView android:id="@+id/firmsList" android:layout_width="fill_parent" android:layout_height="0dp" android:layout_weight="1" android:cacheColorHint="#00000000" android:divider="@color/layout_divider" android:dividerHeight="1dp" android:groupIndicator="@null" &gt; &lt;/ExpandableListView&gt; &lt;/LinearLayout&gt; &lt;include android:layout_width="match_parent" android:layout_height="match_parent" layout="@layout/layout_no_internet" /&gt; &lt;include android:layout_width="match_parent" android:layout_height="match_parent" layout="@layout/layout_no_searchresult" /&gt; &lt;/ViewFlipper&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.
 

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