Correcting myself - you need to do it the other way around:

layout-v4       -    for 1.6 and later
layout            -    used by default on 1.5

-- Kostya

24.09.2010 23:33, Kostya Vasilyev пишет:

Sure, you can use alternative resource qualifiers with "layout", including API version.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

24.09.2010 22:23 пользователь "Mark Wyszomierski" <mar...@gmail.com <mailto:mar...@gmail.com>> написал:

Using a relative layout did help in this case - after some more
testing, I found that TextView is still causing problems when
maxLines=1 / singleLine=true. Taking the same relative layout, I can
toggle those on and off, and cause a stackoverflowexception when
they're on. This is only on 1.5, later os versions work great.

Is there a way to specify a 1.5 layout folder though, similar to the
drawable resources, or landscape folders? Something like:

  /layout
     mylayout.xml

 /layout-v3
     mylayout.xml

if running on 1.5, then the second layout would be used, if not, then
the layout in the general /layout folder would be used?:

Thanks



On Sep 14, 3:21 pm, Kostya Vasilyev <kmans...@gmail.com <mailto:kmans...@gmail.com>> wrote:
> I wonder what would happen of yo...

> 14.09.2010 23:04 пользователь "Mark Wyszomierski" <mar...@gmail.com <mailto:mar...@gmail.com>>

> написал:
>
> A bit of additional information found through more testing - if I
> restrict each of ...

--

You received this message because you are subscribed to the Google
Groups "Android Developers" group...



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to