Note that there are some explanatory texts on larger screens.

plurals
  1. POTextView going out of screen
    text
    copied!<p>I have a TextView in a RelativeLayout that sometimes is partially out of the screen. the problem is that instead of just being partially out of the screen its sizes change so that the entire TextView still remains on the screen. I want to know how to disable that change.</p> <p>EDIT: this is my TextView XML</p> <pre><code>&lt;TextView android:id="@+id/neighborImage" android:drawableBottom ="@drawable/icon" android:text="Temple Bar" android:singleLine="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="matrix" /&gt; </code></pre> <p>EDIT2: <img src="https://i.stack.imgur.com/dpADo.png" alt="enter image description here"></p> <p><img src="https://i.stack.imgur.com/Gvrcb.png" alt="enter image description here"><img src="https://i.stack.imgur.com/poVqH.png" alt="enter image description here"></p> <p>The icons you see on the radar are the TextView. The reason I'm using TextViews is because there will be text above the icons eventually. So, as you can see I've uploaded 3 pictures. These 3 pictures describe a zoom in, and as a result the icons are moving. If we will look at lower right picture we can see that when it reaches the end of the screen, the image width is changed and as a result the image is pushed to the right in the third picture you can see how it continues. i want to have the same result as when using ImageView, in this case the picture will just be partially out of the screen it it's size will be the same. </p> <p>Thanks.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload