How to listen to dynamic checkbox ?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

How to listen to dynamic checkbox ?

Postby bianchi » Sat Feb 23, 2013 2:26 pm

Guys,

How can I see if my dynamic checkbox is checked ?

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. CheckBox cb = new CheckBox(this);
  2.                 cb.setId(Integer.valueOf(id));
  3.                 cb.setPadding(12, 0, 15, 0);
  4.                 cb.setTextColor(Color.WHITE);
  5.                 tr.addView(cb)
  6.  
Parsed in 0.030 seconds, using GeSHi 1.0.8.4


Thanks in advance for any helps or suggestions or references
bianchi
Freshman
Freshman
 
Posts: 2
Joined: Sat Feb 23, 2013 7:27 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 3 guests