Android:scrollHorizontally seemed to do it. Any idea how to NOT have the EditText selected by default with the cursor at the end when an Activity is started via XML? – Paul Jul 20 at 20:12 1.
You should accept my answer 2. You could have another view in the layout and request focus to it.. – Manfred Moser Jul 20 at 20:27 Well I wasn't sure that it was the 'most correct one' that was going to come in, as it suggests using a deprecated property, and the results include the text in the EditText being scrolled all the way horizontally to the end, which is less than optimal. – Paul Jul 20 at 20:34 If you want to edit the answer to remove the android:singleLine property, I can mark it as the answer for now.
– Paul Jul 20 at 20:35.
Have you tried adding android:singleLine="true" to the mix.
Android:singleLine is deprecated, per developer.android. Com/reference/android/R.attr. Html#singleLine – Paul Jul 20 at 20:04 1 Interesting, google seems to have conflicting docs.It is not listed as deprecated here.
Developer.android. Com/reference/android/widget/… Perhaps they should update it.In the mean time, does setting scroll horizontally to true help? – Otra Jul 20 at 20:10.
I have an EditText that I am trying to set with a very long, unbreaking text value (a URL), but even with the following XML declaration, the text is breaking to a second line. I've tried the solutions here (adding android:ellipsize="end"), but it made no difference. Reducing the text in length to something no more than the length of the EditText worked... but this is realistic for a URL EditText.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.