title: text view alignment in android
body: <p>I literally just started android development and cant seem to get my text views aligned wherever I want on the screen</p>
  
  <p>this is my code </p>
  
  <pre><code>&lt;LinearLayout
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:orientation="vertical" &gt;
  
      &lt;TextView
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:text="top text"
          android:textColor="white"
          android:layout_gravity="top|start"
          android:textSize="40sp"/&gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="bottom text"
          android:textSize="30sp"
          android:textColor="white"
          android:layout_gravity="bottom|end"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>The "output" that I am getting on the design tab is </p>
  
  <p>top<br>
  bottom</p>
  
  <p>I tried dragging and dropping the text views using Design and it added <code>tools:layout_editor_absoluteX="138dp"
  tools:layout_editor_absoluteY="344dp"</code> but this cant be the only way, can someone tell me what I am doing wrong.</p>