title: Change Android layout from Relative to Linear
body: <p>I just started creating android apps, but i have a problem changing the <code>layout</code>, every time when i create new android project , it gives me <code>RelativeLayout</code> instead of <code>LinearLayout</code>, (well, basically i am following the book instruction, but it doesn't teach me how to change it) I assume there must be a default setting so that i can change the <code>Relativelayout</code> to <code>LinearLayout</code> .</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:layout_centerHorizontal="true"
      android:layout_centerVertical="true"
      android:text="@string/hello_world"
      tools:context=".MainActivity" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>