title: How to make TextView responsive on devices with higher screen ratio?
body: <p>I'm writing a very simple coupon application for Android, but I'm struggling with a TextView. </p>
  
  <p>For devices with 16:9 screens, the TextView displays just OK, but the problem starts with devices such as Samsung Note 9 I have, which has 18:9 screen. TextView isn't getting bigger to fill the blank space. </p>
  
  <p>For 16:9 screen I use a Google Pixel 2 emulator whereas for 18:9 screen I use my own Samsung Note 9. </p>
  
  <p>Does anybody have any clues how to make my TextView responsive, so it can occupy the blank space?</p>
  
  <p>Photos for my devices: </p>
  
  <p>Pixel 2 - <a href="https://i.imgur.com/HBrqYFM.png" rel="nofollow noreferrer">https://i.imgur.com/HBrqYFM.png</a>
  Samsung Note 9 - <a href="https://i.imgur.com/i1e0AXU.jpg" rel="nofollow noreferrer">https://i.imgur.com/i1e0AXU.jpg</a></p>
  
  <p>I tried to play with AutoSizing TextView, but I have no clue how to make it work for my problem.</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"
          xmlns:app="http://schemas.android.com/apk/res-auto"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          tools:context=".activities.GeneratedCouponActivity" android:orientation="vertical" android:padding="16dp"&gt;
      &lt;RelativeLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
  
          &lt;LinearLayout
                  android:orientation="vertical"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content" android:layout_alignParentStart="true"&gt;
              &lt;TextView
                      android:text="DATA WYDANIA:"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content" android:id="@+id/textView" android:textSize="18sp"
                      android:textStyle="bold" android:textColor="@android:color/black"/&gt;
              &lt;TextView
                      android:text="25/06/2019"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content" android:id="@+id/textView2" android:textSize="16sp"
                      android:textColor="@android:color/black"/&gt;
          &lt;/LinearLayout&gt;
          &lt;LinearLayout
                  android:orientation="vertical"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content" android:layout_alignParentEnd="true"&gt;
              &lt;TextView
                      android:text="UNIKALNY KOD:"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content" android:id="@+id/textView3" android:textStyle="bold"
                      android:textSize="18sp" android:textColor="@android:color/black"/&gt;
              &lt;TextView
                      android:text="f-62-pT-6"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content" android:id="@+id/textView7"
                      android:textColor="@android:color/black" android:textSize="16sp"/&gt;
          &lt;/LinearLayout&gt;
      &lt;/RelativeLayout&gt;
      &lt;ImageView
              android:layout_width="match_parent"
              android:layout_height="140dp" app:srcCompat="@drawable/coupon_icecream" android:id="@+id/imageView"/&gt;
      &lt;TextView
              android:text="@string/generated_coupon_rules"
              android:layout_width="match_parent"
              android:layout_height="wrap_content" android:id="@+id/textView8" app:autoSizeTextType="uniform"
      /&gt;
      &lt;LinearLayout
              android:orientation="vertical"
              android:layout_width="match_parent"
              android:layout_height="match_parent" android:gravity="bottom"&gt;
          &lt;androidx.cardview.widget.CardView
                  android:layout_width="match_parent"
                  android:layout_height="95dp" android:layout_marginBottom="10dp" app:cardBackgroundColor="#FFC300"/&gt;
          &lt;androidx.cardview.widget.CardView
                  android:layout_width="match_parent"
                  android:layout_height="95dp" app:cardBackgroundColor="#FFC300"/&gt;
      &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  
  </code></pre>