java - EditText not WordWrapping in a Fragment -


i have edittext field have wrap text.

enter image description here

as can see example above text "some place , 200 dayton ave suite 200, redbank, ca 37404 " gets cut off. isn't behind button. edittext field stops map button starts. can scroll right , see text. wrap 2 or 3 lines.

here layout file:

<linearlayout         android:id="@+id/layoutdestination"         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:orientation="horizontal">          <progressbar             android:id="@+id/pbeditdestination"             style="?android:attr/progressbarstylelarge"             android:layout_width="match_parent"             android:layout_height="wrap_content"             android:visibility="gone"/>          <edittext             android:id="@+id/editdestination"             android:layout_width="0dp"             android:layout_height="match_parent"             android:layout_weight="5"             android:background="@color/color_light_grey"             android:ems="10"             android:gravity="top|left"             android:inputtype="textmultiline"             android:lines="4"             android:maxlines="8"             android:minlines="4"             android:nextfocusleft="@id/editdestination"             android:nextfocusup="@id/editdestination"             android:scrollhorizontally="false"             android:scrollbars="vertical"/>           <button             android:id="@+id/btnmapdestination"             android:layout_width="0dp"             android:layout_height="match_parent"             android:layout_weight="1"             android:background="@color/color_blue"             android:text="map"             android:textcolor="@color/color_white"             android:textstyle="bold"/>     </linearlayout> 


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -