WEB开发网
开发学院手机开发Android 开发 Android 字体+程序隐藏+菜单运用+soundpool 阅读

Android 字体+程序隐藏+菜单运用+soundpool

 2012-06-04 16:52:30 来源:WEB开发网   
核心提示:@Overridepublic void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);requestWindowFeature(Window.FEATURE_NO_TITLE);getWindow().setFlags(
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
MiidiCredit.init(XiyangyangActivity.this, "4934", "2y04padlxi6isehb",
false);
setContentView(R.layout.main);
mediaPlayer = MediaPlayer.create(XiyangyangActivity.this, R.raw.back);
mediaPlayer.start();
scrollview = (ScrollView) findViewById(R.id.scrollview);
final TextView mTextView111 = (TextView) findViewById(R.id.textView11);
final TextView mTextView0 = (TextView) findViewById(R.id.t1);
final TextView mTextView1 = (TextView) findViewById(R.id.t2);
final TextView mTextView2 = (TextView) findViewById(R.id.t3);
final TextView mTextView3 = (TextView) findViewById(R.id.t4);
final TextView mTextView4 = (TextView) findViewById(R.id.t5);
final TextView mTextView5 = (TextView) findViewById(R.id.t6);
final TextView mTextView6 = (TextView) findViewById(R.id.t7);
final TextView mTextView7 = (TextView) findViewById(R.id.t8);
final TextView mTextView8 = (TextView) findViewById(R.id.t9);
final TextView mTextView9 = (TextView) findViewById(R.id.t10);
final TextView mTextView10 = (TextView) findViewById(R.id.t11);
final TextView mTextView11 = (TextView) findViewById(R.id.t12);
final TextView mTextView12 = (TextView) findViewById(R.id.t13);
final TextView mTextView13 = (TextView) findViewById(R.id.t14);
final TextView mTextView14 = (TextView) findViewById(R.id.t15);
final TextView mTextView15 = (TextView) findViewById(R.id.t16);
final TextView mTextView16 = (TextView) findViewById(R.id.t17);
final TextView mTextView17 = (TextView) findViewById(R.id.t18);
final TextView mTextView18 = (TextView) findViewById(R.id.t19);
final TextView mTextView19 = (TextView) findViewById(R.id.t20);
final TextView mTextView20 = (TextView) findViewById(R.id.t21);
final TextView mTextView21 = (TextView) findViewById(R.id.t22);
final TextView mTextView22 = (TextView) findViewById(R.id.t23);
final TextView mTextView23 = (TextView) findViewById(R.id.t24);
final TextView mTextView24 = (TextView) findViewById(R.id.t25);
final ImageView mImageViewr2 = (ImageView) findViewById(R.id.r2);
mImageViewr2.setOnClickListener(new OnClickListener() {

@Override
public void onClick(View v) {
// TODO Auto-generated method stub
MiidiCredit.showAppOffers();

}
});
Typeface typeFace = Typeface.createFromAsset(getAssets(),
"fonts/mini.ttf");

mTextView0.setTypeface(typeFace);
mTextView1.setTypeface(typeFace);
mTextView2.setTypeface(typeFace);
mTextView3.setTypeface(typeFace);
mTextView4.setTypeface(typeFace);
mTextView5.setTypeface(typeFace);
mTextView6.setTypeface(typeFace);
mTextView7.setTypeface(typeFace);

上一页  1 2 3 4 5  下一页

Tags:Android 字体 程序

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接