Hi,

Is there a way to specify a background in a layout based on OS
version?:

  android:background_1.5="@color/white"
  android:background_above_1.5="@drawable/mybackground"

I'm running into a problem where using a 9 png drawable for the
background causes a stack overflow exception on a listview item (stack
trace shows its related to a child TextView -> drawText()). The layout
is simple:

  <LinearLayout>
     <ImageView />
     <TextView />
  </LinearLayout>

and the background works fine on 1.6 and above. It's just 1.5 that's
having the issue. If I set the background to be a color, it works
fine.

Thanks

-- 
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