Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Add Multi line to Edit Text

Add Multi line to Edit Text

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Add Multi line to Edit Text

Postby venkatraman7 » Tue Aug 27, 2013 2:59 pm

Hi All,
My query may be look very easy but it is frustating me for some time. I need to add muli line option to a edit text. I tried different properties like
inputType,lines,maxlines,showSingleLine
but nothing worked me. If I type some sample text in the layout it is working!!! but not for image button key press. Below is my layout
Code: Select all
<EditText
                android:id="@+id/digits"
                android:layout_width="240dp"
                android:layout_height="67.0dip"
                android:layout_weight="0.86"
                android:cursorVisible="false"
                android:background="@drawable/contacts_dial_background_dial_holo_dark"
                android:editable="true"
                android:focusableInTouchMode="false"
                android:focusable="false"
                android:freezesText="true"
                android:gravity="center"
                android:lines="5"
                android:singleLine="false"
                android:scrollHorizontally="true"
                android:textColor="@color/White"
                android:textSize="33sp" />


I am not setting the values to edit text, rather value is set by default through image button onKeyPress listener.

What could be wrong over here..

Regards
Venkat
venkatraman7
Developer
Developer
 
Posts: 41
Joined: Tue Nov 16, 2010 6:47 am
Location: Puducherry

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 7 guests