I'd probably use these constructors:

TextView(Context context)

EditText(Context context)

LinearLayout(Context context)

Then, I'd call addView on the Linear layout to add the text view and edit 
text.

Then, I'd call setContentView to set the content view to the linear layout.


On Monday, September 10, 2012 9:36:45 AM UTC-5, vadivel rajan wrote:
>
>
>
> hi friends any one help me ....my task is creating textview , edittext , 
> buttons and linearlayout programly(only by java code) in android. creating 
> every component as seperate class at last merge with linearlayout. ...... i 
> expect reply from u as much as fast.....Advance thanks frds.. 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to