android - Set Spinner id bt Java Code -
I know that my question is not good enough, but I really can not answer. My question is how You can add For example: You can then set this user spinner to
id file to your resorces in the value directory.
& lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Resources & gt; & Lt; Item type = "id" name = "my_id" /> & Lt; / Resources & gt;
id :
yourspinner.setId (R.id.my_id );
Comments
Post a Comment