You can create an empty LinearLayout and call its addView() function
to add the checkboxes dynamically in your code.
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual
Thanks Jack Ha for your reply. Can you give me code snippt to do it ?
Sorry but i am new bie in UI desing. I am just wasting my much time so
please tell me how can i do it.
On Aug 11, 8:54 pm, Jack Ha jack...@t-mobile.com wrote:
You can create an empty LinearLayout and call its addView()
On Aug 11, 4:54 pm, Jack Ha jack...@t-mobile.com wrote:
You can create an empty LinearLayout and call its addView() function
to add the checkboxes dynamically in your code.
if Honest doesn't know how many check boxes to add chanses are there
may be too many to fit them all in physical
Thanks pskink for you reply. But can you tell me how can i use
ListView or ScroolView. My basic requirement is that i want to display
more then one String and user should be able to select multiple item
from them. Please advice me and if possible give me code snippt. I am
doing this silly things
Honest wrote:
Thanks pskink for you reply. But can you tell me how can i use
ListView or ScroolView. My basic requirement is that i want to display
more then one String and user should be able to select multiple item
from them. Please advice me and if possible give me code snippt. I am
On Aug 11, 8:12 pm, Honest honestsucc...@gmail.com wrote:
Thanks pskink for you reply. But can you tell me how can i use
ListView or ScroolView. My basic requirement is that i want to display
more then one String and user should be able to select multiple item
from them. Please advice me
This basically involves writing UI code programatically. See
http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/ScrollView2.html
for an example of adding multiple TextView and Button to a ScrollView
in a for loop.
On Aug 11, 2:12 pm, Honest
Thanks i saw that example but now only one question in my mind. Can i
get the status of that checkbox letter ? if yes how. I am not finding
any assosiated ID with it so can some one tell me how can i do it ?
On Aug 12, 12:09 am, John P. johnny.d.p...@gmail.com wrote:
This basically involves
If I understand you correctly, you've progromatically added a checkbox
to a view. In this case, you already have a handle to the object and
don't need to invoke findViewById(). If you didn't keep the handle
(say in a loop), then you can retrieve them again by going through
your listView --
Thanks john and all of you for your continuous support. I want to add
some check boxes in screen and when user press menu or button then i
want to retrieve its status. So i think now you can understand what i
want and you can tell me how can i achieve this.
On Aug 12, 12:44 am, John P.
10 matches
Mail list logo