title: How to auto width and height?
body: <p>I am making app with Android Studio and want to auto set width and height of image that I am showing on front page. my code is like this </p>
  
  <pre><code> &lt;HorizontalScrollView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"&gt;
  
      &lt;LinearLayout
          android:layout_width="wrap_content"
          android:id="@+id/linearLayout1"
          android:orientation="vertical"
          android:layout_height="fill_parent"&gt;
  
          &lt;TextView
              android:id="@+id/textView"
              android:layout_width="375dp"
              android:layout_height="220dp"
              android:layout_marginBottom="5sp"
              android:adjustViewBounds="true"
              android:background="@drawable/japuji"
              android:clickable="true"
              android:focusable="true"
              android:linksClickable="true"
              android:scaleType="fitXY"
              android:textStyle="bold" /&gt;
  </code></pre>
  
  <p>this is the scrollview and when i set fill_parent, wrap_content in TextView its not working either, when i test it on big screen images are small ,</p>
  
  <p>i have tried all like changing width to fill_parent and wrap_content</p>