title: AppBarLayout Background
body: <p>I want to do this, </p>
  
  <p><a href="https://i.stack.imgur.com/V3Dcc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V3Dcc.png" alt="enter image description here"></a></p>
  
  <p>In the preview of Android Studio looks good but in runtime I get this<a href="https://i.stack.imgur.com/Yiuh6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yiuh6.jpg" alt="enter image description here"></a></p>
  
  <p>As you can see at begin of the screen the color is white, I want to put my own color, in this case green.</p>
  
  <p>Originally its used Cordinator layout but I need to use Drawer Layout for purposes of the menu</p>
  
  <p>Here my XML</p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/drawer_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
      &lt;RelativeLayout 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:orientation="vertical"
          android:fitsSystemWindows="true"
          android:background="@drawable/bg_app"
          tools:context=".ui.home.HomeActivity"&gt;
  
          &lt;android.support.design.widget.AppBarLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:theme="@style/AppTheme.AppBarOverlay"&gt;
  
              &lt;android.support.v7.widget.Toolbar
                  android:id="@+id/toolbar"
                  android:layout_width="match_parent"
                  android:layout_height="?attr/actionBarSize"
                  android:background="@color/green_tataki"
                  app:popupTheme="@style/AppTheme.PopupOverlay"&gt;
  
                  &lt;ImageButton
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:src="@drawable/ic_user"
                      android:background="@color/green_tataki"
                      android:layout_marginRight="5dp"/&gt;
                  &lt;LinearLayout
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_gravity="right"&gt;
                      &lt;ImageButton
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:id="@+id/menu_icon"
                          android:padding="20dp"
                          android:src="@drawable/ic_menu"
                          android:background="@color/green_tataki"/&gt;
                  &lt;/LinearLayout&gt;
              &lt;/android.support.v7.widget.Toolbar&gt;
          &lt;/android.support.design.widget.AppBarLayout&gt;
      &lt;ListView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:divider="@color/white"
          android:layout_marginTop="?attr/actionBarSize"
          android:layout_gravity="right"
          android:choiceMode="singleChoice"
          android:dividerHeight="1dp"
          android:background="@color/brown_tataki"
          android:id="@+id/left_drawer"/&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>And here is the code</p>
  
  <pre><code>    public class HomeActivity extends AppCompatActivity {
      public static final String TAG = "HomeActivity";
      //==============Menu Variables=====================
      private ListView listViewItems;
      private ArrayList&lt;MenuBean&gt; arrayOptionMenu;
      private DrawerLayout mDrawerLayout;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_home);
          Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
          setSupportActionBar(toolbar);
          getSupportActionBar().setDisplayShowTitleEnabled(false);
          ImageButton iconMenu = (ImageButton) findViewById(R.id.menu_icon);
      }
  
      @Override
      public void onBackPressed() {
          DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
          if (drawer.isDrawerOpen(GravityCompat.END)) {
              drawer.closeDrawer(GravityCompat.END);
          } else {
              super.onBackPressed();
          }
      }
  }
  </code></pre>