i am having a hard time creating a EditText which is multiline and width of nearly “100dp”.
The functionality is what i want that one can enter his short message of 10-20 lines in it, just like i am typing my question in this BOX.Here is the code i am using to get the desired functionality.
<EditText android:inputType="textMultiLine"
android:text=""
android:layout_height="100dp"
android:layout_width="fill_parent"
android:id="@+id/desc_text"
android:layout_marginLeft = "5dp"
android:layout_marginRight = "5dp"
android:scrollHorizontally ="true"
android:scrollbars = "vertical"
android:singleLine = "false">
</EditText>
but i am getting a edit text of 100dp height but still taking single line input from middle.
Please help me how to do this.
Thanks
try below code