Widget - Create Textview

final TextView mytext = new TextView(ProjectinActivity.this);

mytext.setText("Your Text");
mytext.setTextColor(0xFF000000);
mytext.setLayoutParams(new LinearLayout.LayoutParams(android.widget.LinearLayout.LayoutParams.WRAP_CONTENT, android.widget.LinearLayout.LayoutParams.WRAP_CONTENT));
mylinear.addView(mytext);