Thanks, I probably never would have found that on my own. But this means that on devices below API 11, I can't have a default style/behavior set for this widget. Are there any workarounds for lower API levels? I want to avoid doing something this ...
setClickable(true); ... in the constructor, because even though I might expect this widget to be clickable, another developer might want to use it differently. If he puts clickable="false" in the xml, then this line of code undermines his design. On Friday, May 18, 2012 10:25:57 AM UTC-7, Kostya Vasilyev wrote: > > The three-argument version of LinearLayout constructor is only available > with API 11 and higher -- i.e. Android 3.0. > > This dependency has to be satisfied at runtime by the actual Android > version running on the device. > > -- K > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

