package net.android.touming;
import android.widget.TextView;
import android.os.Bundle;
import android.view.ViewGroup;
import android.app.Activity;
import android.graphics.Color;
import android.widget.LinearLayout;
public class touming extends Activity {
final int WRAP_CONTENT = ViewGroup.LayoutParams.WRAP_CONTENT;
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
LinearLayout linearLayout = new LinearLayout(this);
linearLayout.setOrientation(LinearLayout.VERTICAL);
setContentView(linearLayout);
TextView textview1 = new TextView(this);
textview1.setText("全部不透明=255");
//textview1.setBackgroundColor(Color.argb(255, 0, 255, 0)); //背景透明度
textview1.setTextColor(Color.argb(255, 0, 255, 0)); //文字透明度
linearLayout.addView(textview1, new LinearLay