开发者

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 Views if you need to.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜