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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -