I'm facing a strange issue in my project when creating a simple xml design as follow:

```
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:background="#FF0000"
    android:layout_marginLeft="30dp"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="New Button"
        android:id="@+id/button" 
        android:layout_gravity="left|center_vertical"/>

```

Now see the difference, this is the view in **4.2.2** :

![2.3.3 version](https://i.stack.imgur.com/8iXuW.jpg)

And this one in **2.3.3**:

![enter image description here](https://i.stack.imgur.com/6KF6f.jpg)

Would appreciate if someone can help me with it. thanks