title: how to fix error (android studio)
body: <p>i'm beginner. I make metronom, and after i made a layout i have error (link to a screenshot). I can give link in github.</p>
  
  <p>Screenshot android monitor
  <a href="https://i.stack.imgur.com/lxefD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lxefD.jpg" alt="enter image description here"></a></p>
  
  <p>code activity_main.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout
      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:orientation="vertical"
      tools:context="com.example.test.metronom.MainActivity"
      android:background="@android:color/white"&gt;
  
      &lt;TextView
          android:id="@+id/tv_manual_mode"
          android:text="@string/manual_mode"
          android:layout_marginTop="64dp"
          android:textSize="16sp"
          android:textStyle="bold"
          style="@style/textViewStyle"/&gt;
  
      &lt;LinearLayout
          android:id="@+id/footer"
          android:layout_width="match_parent"
          android:layout_height="92dp"
          android:gravity="center"
          android:orientation="horizontal"
          android:background="@color/background_footer"
          android:layout_marginLeft="16dp"
          android:layout_marginRight="16dp"
          android:layout_marginTop="16dp"
          android:layout_marginBottom="16dp"
          android:paddingTop="8dp"
          android:paddingBottom="8dp"&gt;
  
          &lt;LinearLayout
              android:id="@+id/vibration"
              style="@style/changeMode"&gt;
              &lt;ImageView
                  android:id="@+id/vibration_image"
                  style="@style/imageChangeMode"
                  android:src="@drawable/vb"/&gt;
              &lt;TextView
                  android:id="@+id/tv_vibration"
                  style="@style/textChangeMode"
                  android:text="@string/tv_vibration" /&gt;
  
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:id="@+id/fi"
              style="@style/changeMode"&gt;
              &lt;ImageView
                  android:id="@+id/fi_image"
                  style="@style/imageChangeMode"
                  android:src="@drawable/fi"/&gt;
              &lt;TextView
                  android:id="@+id/tv_fi"
                  style="@style/textChangeMode"
                  android:text="@string/tv_flash"/&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:id="@+id/sound"
              style="@style/changeMode"&gt;
              &lt;ImageView
                  android:id="@+id/volume_image"
                  style="@style/imageChangeMode"
                  android:src="@drawable/sound"/&gt;
              &lt;TextView
                  android:id="@+id/tv_sound"
                  style="@style/textChangeMode"
                  android:text="@string/tv_sound"/&gt;
          &lt;/LinearLayout&gt;
      &lt;/LinearLayout&gt;
  
      &lt;TextView
          android:id="@+id/tv_set_bpm"
          style="@style/textViewStyle"
          android:layout_marginTop="16dp"
          android:textSize="16sp"
          android:text="@string/tv_set_bpm"/&gt;
  
      &lt;TextView
          android:id="@+id/tv_bpm"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/tv_bpm"
          android:textSize="24dp"
          android:textColor="@color/standart"
          android:layout_gravity="center"/&gt;
  
      &lt;LinearLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:orientation="horizontal"
          android:layout_gravity="center"&gt;
  
          &lt;ImageButton
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:src="@drawable/minus"
              android:layout_marginTop="4dp"
              android:layout_marginRight="4dp"
              android:background="@android:color/white"/&gt;
  
          &lt;SeekBar
              android:id="@+id/seekBar"
              android:layout_width="260dp"
              android:layout_height="wrap_content"
              android:progressDrawable="@drawable/swipe"
              android:thumb="@drawable/arrows1"
              android:indeterminate="true"/&gt;
  
          &lt;ImageButton
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:src="@drawable/plus"
              android:layout_marginTop="4dp"
              android:background="@android:color/white"/&gt;
      &lt;/LinearLayout&gt;
  
      &lt;TextView
          android:id="@+id/tv_indicator"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/tv_indicator"
          android:textColor="@android:color/black"
          android:layout_gravity="center"
          android:layout_marginTop="16dp"
          android:layout_marginBottom="8dp"
          android:textSize="20sp"/&gt;
  
      &lt;View
          android:id="@+id/view_indicator"
          android:layout_width="36dp"
          android:layout_height="36dp"
          android:background="@drawable/indicator"
          android:layout_gravity="center"/&gt;
  
      &lt;Button
          android:id="@+id/btn_start"
          android:layout_width="128dp"
          android:layout_height="wrap_content"
          android:background="@color/background_footer"
          android:layout_gravity="center"
          android:text="@string/btn_start"
          android:layout_marginTop="16dp"
          android:textColor="@android:color/white"
          android:textSize="20sp"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>MainActivity</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
      }
  }
  </code></pre>