代码生成的TextView怎样设置样式
ningv 2012-03-13 03:37:34 TextView text= new TextView(this);
如何把text设置成以下样式?
<TextView
android:layout_width="wrap_content"
android:layout_height="22dp"
android:layout_weight="9"
android:textSize="13dp"
android:gravity="center_vertical"
android:layout_marginLeft="10dp"
android:textColor="#000000" />
谢谢。