title: Namespace declaration is never used: checks for unused namespace declarations and location hints in XML
body: <pre><code>  xmlns:tools="http://schemas.android.com/tools" 
  </code></pre>
  
  <p>this one is my problem it is said  that  "Namespace declaration is never used"</p>
  
  <pre><code>&lt;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"&gt;
      &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="josh appear here"
      android:id="@+id/josh_text_view"
      /&gt;
  
      &lt;Button
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:text="open Second Activity"
      android:layout_below="@+id/josh_text_view"
      android:onClick="showJosh"
      android:id="@+id/button" /&gt;
  
      &lt;Button
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:text="open Third Activity"
      android:onClick="showJosh"
      android:id="@+id/button2"
  </code></pre>
  
  <p>and in every buttons there is this warning that always popping up</p>
  
  <p><strong>[I18N] Hardcoded string "open Second Activity", should use @string resource less... (Ctrl+F1) 
  Hardcoding text attributes directly in layout files is bad for several reasons:</strong> </p>
  
  <ul>
  <li><p>When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes)  </p></li>
  <li><p>The application cannot be translated to other languages by just adding new translations for existing string resources.  In Android Studio and Eclipse there are quickfixes to automatically extract this hardcoded string into a resource lookup.</p>
  
  <pre><code>        android:layout_below="@+id/button"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"
          android:layout_marginTop="10dp" /&gt;
  
          &lt;Button
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:text="open Fourth Activity"
          android:onClick="showJosh"
          android:id="@+id/button3"
  
          android:layout_below="@+id/button"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"
          android:layout_marginTop="75dp" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre></li>
  </ul>