How add text view dynamicaaly into table

Put your problem here if it does not fit any of the other categories.

How add text view dynamicaaly into table

Postby abhilash » Fri Feb 29, 2008 1:42 pm

hi
http://www.anddev.org/tinytut_-_dynamic ... -t672.html in this link we got how to getbutton dynamically .................but how to add text view dynamically getting exception
abhilash
Developer
Developer
 
Posts: 26
Joined: Fri Feb 22, 2008 11:21 am
Location: HYDERABAD

Top

Postby plusminus » Fri Feb 29, 2008 5:17 pm

Hello abhilash,

there is no reason, why a TextView should not work.

Replacing:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. Button b = new Button(this);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4

with:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. TextView b = new TextView(this);
Parsed in 0.030 seconds, using GeSHi 1.0.8.4

should work.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Its not Working

Postby abhilash » Mon Mar 03, 2008 5:11 am

hi plusminus

Its not working if i use textView...........
abhilash
Developer
Developer
 
Posts: 26
Joined: Fri Feb 22, 2008 11:21 am
Location: HYDERABAD

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google Feedfetcher and 17 guests