android - EditText with long default text on a single line -


i have edittext trying set long, unbreaking text value (a url), following xml declaration, text breaking second line.

<edittext  android:id="@+id/address"  android:layout_width="wrap_content"  android:layout_height="match_parent" android:layout_weight="1" android:maxlines="1" android:hint="enter url" android:text="http://www.example.com/news/2010-07-15/this-is-the-story-title-here.html"> </edittext> 

i've tried solutions here (adding android:ellipsize="end"), made no difference. reducing text in length no more length of edittext worked... realistic url edittext.

any suggestions?

thanks,

paul

set

android:scrollhorizontally="true" 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -