質問

From what I've seen, AQuery is pretty much a jQuery for Android programming in Java. I'm a web programmer, so I'm used to jQuery, which is easy to use, so I want to do the same to manipulate the layout of my app.

My question: is there an easy way (preferably with AQuery, but not necessary) to clone a View and all it's children and then insert it somewhere in the layout? I've read something about inflating, but there is no actual full example that contains how to put the inflated View in the layout (or maybe I'm missing something).

役に立ちましたか?

解決

For anyone stumbling on this, I've ended up not using any framework, but the layout inflater, as per this question.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top