开发者

How do I create a specific key for each control on a form in Android?

Trying to assign a key to 开发者_C百科each field in android to reference in Java.


If I understand what you mean

In XML :

android:id="your_id"

and to retrieve it in your code :

findViewById(R.id.your_id)
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜