Wednesday, January 26, 2011

[android-developers] Re: Edittext max characters - not set max

I think Andre was looking for a design limit, not how to set one.

The control can handle many pages of text, even with spanning styled
markup. The EULA which I saw on one Android tablet was shown in a
simple text view, and it was about fifty pages of text on the tablet.
(The EditText control should have the same limits as the TextView,
as the EditText is just some additional features on the basic view.)

The answer is "how much memory can you allocate?" Of course
the system needs to allocate resources to measure and typeset and
render all of that text. If it's too long, consider showing the text
in pages or chunks.

On Jan 26, 1:05 pm, Marcin Orlowski <webnet.andr...@gmail.com> wrote:
> On 26 January 2011 18:27, André <pha...@hotmail.com> wrote:
>
> > Is there a limit on how many characters and or lines you can have in
> > an edittext? Or is it unlimited?
>
> http://developer.android.com/reference/android/widget/TextView.html#a...

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate