Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Programmatic StateListDrawable Example

$
0
0

Can anyone provide an example of using StateListDrawable programmatically. In java you would use something like: states.addState(new int[] {android.R.attr.state_focused}, getResources().getDrawable(R.drawable.focused)); However in Xamarin I can't find the equivalent to android.R.attr.state_focused. Has anyone managed to get this working?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>