title: Allow TextView to be outside of Screen
body: <p>I want my TextView to be allowed out of the screen horizontally (And also disable horizontal scroll bars), such as this:</p>
  
  <p><img src="https://i.stack.imgur.com/APaJo.png" alt="enter image description here"></p>
  
  <p>However, the XML I have right now causes it to automatically fit inside the parent, such as this:</p>
  
  <p><img src="https://i.stack.imgur.com/4vTWN.png" alt="enter image description here"></p>
  
  <p><strong>Code</strong>:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:tools="http://schemas.android.com/tools"
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:id="@+id/parentlayout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="#fff"&gt;
  
      &lt;TextView
          android:layout_marginTop="30px"
          android:id="@+id/tab1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="hello1"
          android:textColor="#1089F9"
          android:textSize="40sp"
          android:layout_marginLeft="20dp"
          android:layout_marginBottom="5dp"/&gt;
  
      &lt;TextView
          android:layout_marginTop="30px"
          android:id="@+id/tab2"
          android:layout_toRightOf="@+id/tab1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="hello2"
          android:textColor="#1089F9"
          android:textSize="40sp"
          android:layout_marginLeft="50dp"
          android:layout_marginBottom="5dp"/&gt;
  
      &lt;TextView
          android:layout_marginTop="30px"
          android:id="@+id/tab3"
          android:layout_toRightOf="@+id/tab2"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="hello3"
          android:textColor="#1089F9"
          android:textSize="40sp"
          android:layout_marginLeft="50dp"
          android:layout_marginBottom="5dp"/&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>How do I change my code to get the layout displayed in the <strong>First Image</strong>? Simply just cut off the textview if it goes out of the parent.</p>
  
  <p><strong>EDIT: Tried LinearLayout. It didn't work either</strong></p>
  
  <pre><code>&lt;LinearLayout xmlns:tools="http://schemas.android.com/tools"
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:id="@+id/parentlayout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="#fff"
      android:orientation="horizontal"&gt;
  
      &lt;TextView
          android:layout_marginTop="30px"
          android:id="@+id/tab1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="hello1"
          android:textColor="#1089F9"
          android:textSize="40sp"
          android:layout_marginLeft="20dp"
          android:layout_marginBottom="5dp"/&gt;
  
      &lt;TextView
          android:layout_marginTop="30px"
          android:id="@+id/tab2"
          android:layout_toRightOf="@+id/tab1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="hello2"
          android:textColor="#1089F9"
          android:textSize="40sp"
          android:layout_marginLeft="50dp"
          android:layout_marginBottom="5dp"/&gt;
  
      &lt;TextView
          android:layout_marginTop="30px"
          android:id="@+id/tab3"
          android:layout_toRightOf="@+id/tab2"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="hello3"
          android:textColor="#1089F9"
          android:textSize="40sp"
          android:layout_marginLeft="50dp"
          android:layout_marginBottom="5dp"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>