Note that there are some explanatory texts on larger screens.

plurals
  1. POTextView not working properly
    primarykey
    data
    text
    <p>I have a <code>TextView</code> with very long text. In Graphical layout it shows fine wrapped text but when i run this it does not wrap text.Here is my design code</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; </code></pre> <p></p> <pre><code>&lt;RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="15dp" android:layout_marginLeft="5dp" android:background="#ffffff" &gt; &lt;RelativeLayout android:id="@+id/layout_title" style="@style/dialog_header" &gt; &lt;ImageView android:id="@+id/image_title" style="@style/dialog_header_image" android:contentDescription="@string/update_reply" android:src="@drawable/compose" /&gt; &lt;TextView android:id="@+id/txt_title" style="@style/dialog_header_title" android:layout_toRightOf="@+id/image_title" /&gt; &lt;/RelativeLayout&gt; &lt;ScrollView android:id="@+id/layout_message" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@+id/layout_title" android:fadingEdge="none" android:fillViewport="true" &gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:padding="10dp" &gt; &lt;TextView android:id="@+id/txt_message" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minHeight="130dp" android:text="Don&amp;apos;t work too hard to give yourself the best of everything, instead make a greater effort to give God the best of yourself." /&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; &lt;LinearLayout android:id="@+id/button_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/layout_message" &gt; &lt;Button android:id="@+id/btn_reply" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/reply" /&gt; &lt;Button android:id="@+id/btn_forward" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/forward" /&gt; &lt;/LinearLayout&gt; &lt;/RelativeLayout&gt; </code></pre> <p></p> <p><img src="https://i.stack.imgur.com/Et4xg.png" alt="enter image description here"></p> <p>i want to show this but it show only one line </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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