Context.obtainStyledAttributes() implemented as

public final TypedArray obtainStyledAttributes(int resid, int[] attrs) 
throws Resources.NotFoundException {
  return getTheme().obtainStyledAttributes(resid, attrs);
}

and Theme.obtainStyledAttributes() has a different problem that I asked 
about in another 
post<https://groups.google.com/d/msg/android-developers/ChUiruJ_UKw/a4BaGEipgocJ>:(
  I'll probably have to create a custom component and analyze custom 
attributes in its constructor instead of trying to introspect the style. 
 That approach at least works.



On Sunday, November 24, 2013 11:46:18 PM UTC-8, Piren wrote:
>
> use this method instead
>
> http://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(int,
>  
> int[])
>
>
>>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to