Android Equivalent to a .NET UserControl
I'm just getting into Android develop开发者_JAVA技巧ment. I'm trying to figure out if its possible to setup something similar to a user control that's available in Silverlight, WP7, or ASP.NET, where I can define a reusable component in a layout, and then embed that layout in another layout.
Is that possible?
Thanks.
Yes it is possible. Here is the reference. You have a couple of different options. I've found just building compound controls has been good enough for me, but you can do fully custom View
s if you need to.
精彩评论