1

Help me please.enter image description here

<android.support.design.widget.CoordinatorLayout
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:fitsSystemWindows="true"
tools:context=".MainActivity">

    <android.support.v7.widget.Toolbar android:id="@+id/toolbar"
        android:layout_width="match_parent" android:layout_height="?attr/actionBarSize"
        android:background="?attr/colorPrimary" app:popupTheme="@style/AppTheme.PopupOverlay" />

EGHM
  • 2,144
  • 23
  • 37
santaasus s
  • 15
  • 1
  • 5
  • please post the error and code here in the question and not as an image. – nano_nano Oct 29 '15 at 09:02
  • post your complete activity_main.xml code. – activesince93 Oct 29 '15 at 09:05
  • ` ` – santaasus s Oct 29 '15 at 12:12

1 Answers1

0

This Activity already has an action bar supplied by the window decor. That's your error. Change your activity theme to NoActionBar theme. It'll fix your problem.

<style name="NoActionBarTheme" parent="Theme.AppCompat.Light.NoActionBar">
 ...
</style>
Midhun Vijayakumar
  • 2,927
  • 2
  • 19
  • 23