title: Drawable xml design is not visible as button background in main xml code
body: <p>I am trying to design a layout which has two buttons, to design these buttons I used drawable xml files as a background. In the android studio, Android studio preview shows</p>
  
  <p><a href="https://i.stack.imgur.com/XWuJu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XWuJu.png" alt="enter image description here"></a>
   these buttons are not visible but genymotion shows these buttons.
  The result of running code in genymotion android virtual device</p>
  
  <p><a href="https://i.stack.imgur.com/WuzQv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WuzQv.png" alt="enter image description here"></a></p>
  
  <p>On the other-hand when I run this code on a real device it doesn't show these buttons. </p>
  
  <p>The result of running code in an android real device</p>
  
  <p><a href="https://i.stack.imgur.com/F2Ezx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F2Ezx.png" alt="enter image description here"></a></p>
  
  <p>Drawable xml file code: @drawable/button_design</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item&gt;
          &lt;shape android:shape="rectangle"&gt;
              &lt;solid android:color="@color/navHeadBack"/&gt;
              &lt;corners android:topRightRadius="130dp"
                  android:bottomLeftRadius="130dp"
                  android:topLeftRadius="130dp"
                  android:bottomRightRadius="130dp"/&gt;
              &lt;stroke android:width="5dp" android:color="@color/navHeadBack" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>Activity xml design file code:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:weightSum="10"
      android:background="@color/commonColor"
      android:orientation="vertical"
      tools:context=".Activities.FirstPage"&gt;
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_weight="5.9"
          android:layout_margin="10dp"
          android:background="@color/commonColor"
          android:orientation="horizontal"&gt;
  
          &lt;ImageView
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:src="@mipmap/logo"/&gt;
      &lt;/LinearLayout&gt;
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_weight="4.1"
          android:layout_margin="10dp"
          android:gravity="center|bottom"
          android:orientation="vertical"&gt;
          &lt;Button
              android:id="@+id/u_sign_in"
              android:layout_width="match_parent"
              android:layout_height="60dp"
              android:elevation="20dp"
              android:text="@string/user_sign_in"
              android:textColor="@color/commonColor"
              android:layout_marginStart="5dp"
              android:layout_marginEnd="5dp"
              android:layout_marginTop="10dp"
              android:layout_marginBottom="5dp"
              android:background="@drawable/button_design"
              android:textAllCaps="false"/&gt;
          &lt;Button
              android:id="@+id/u_sign_up"
              android:layout_width="match_parent"
              android:layout_height="60dp"
              android:elevation="20dp"
              android:text="@string/user_sign_up"
              android:layout_marginStart="5dp"
              android:layout_marginEnd="5dp"
              android:layout_marginTop="5dp"
              android:layout_marginBottom="10dp"
              android:textColor="@color/commonColor"
              android:background="@drawable/button_design_up"
              android:textAllCaps="false" /&gt;
  
      &lt;/LinearLayout&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I want to make visible / show drawable xml design in the background of these buttons. How can I do this?
  <br><strong>NOTE:</strong> in the xml code when I used <code>android:enabled="true"</code>button becomes invisible and when I used <code>android:enabled="false"</code> its become visible. But I don't understand why.</p>