Hi am learning to create a material design using this tutorial.<https://www.youtube.com/watch?v=pMO8EVkhJO8&list=PLonJJ3BVjZW6CtAMbJz1XD8ELUs1KXaTD&index=3>

and in my design the appbar has a padding on all the sides. can someone help me remove this padding and make the app look like a real app bar.

**Here is my screen**
[![enter image description here](https://i.stack.imgur.com/hUieZ.png)](https://i.stack.imgur.com/hUieZ.png)

**app\_bar**

```
    <?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent" android:layout_height="wrap_content"
    android:background="#DDDD">

</android.support.v7.widget.Toolbar>

```

**Main Activity**

```
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
    android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">

    <include android:id="@+id/app_bar" layout="@layout/app_bar"/>

    <TextView
        android:layout_below="@+id/app_bar"
        android:text="@string/hello_world" android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

</RelativeLayout>

```

**maniActivity.java**

```
private Toolbar toolbar;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    toolbar = (Toolbar) findViewById(R.id.app_bar);
    setSupportActionBar(toolbar);
}

```