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

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

 2012-06-04 16:52:30 来源:WEB开发网   
核心提示:mTextView8.setTypeface(typeFace);mTextView9.setTypeface(typeFace);mTextView10.setTypeface(typeFace);mTextView11.setTypeface(typeFace);mTextView12.setTypeface(ty
mTextView8.setTypeface(typeFace);
mTextView9.setTypeface(typeFace);
mTextView10.setTypeface(typeFace);
mTextView11.setTypeface(typeFace);
mTextView12.setTypeface(typeFace);
mTextView13.setTypeface(typeFace);
mTextView14.setTypeface(typeFace);
mTextView15.setTypeface(typeFace);
mTextView16.setTypeface(typeFace);
mTextView17.setTypeface(typeFace);
mTextView18.setTypeface(typeFace);
mTextView19.setTypeface(typeFace);
mTextView20.setTypeface(typeFace);
mTextView21.setTypeface(typeFace);
mTextView22.setTypeface(typeFace);
mTextView23.setTypeface(typeFace);
mTextView24.setTypeface(typeFace);

mSoundPool = new SoundPool(50, AudioManager.STREAM_SYSTEM, 5);
soundHashMap.put(1, mSoundPool.load(this, R.raw.a1, 1));
soundHashMap.put(2, mSoundPool.load(this, R.raw.a2, 1));
soundHashMap.put(3, mSoundPool.load(this, R.raw.a3, 1));
soundHashMap.put(4, mSoundPool.load(this, R.raw.a4, 1));
soundHashMap.put(5, mSoundPool.load(this, R.raw.a5, 1));
soundHashMap.put(6, mSoundPool.load(this, R.raw.a6, 1));
soundHashMap.put(7, mSoundPool.load(this, R.raw.a7, 1));
soundHashMap.put(8, mSoundPool.load(this, R.raw.a8, 1));
soundHashMap.put(9, mSoundPool.load(this, R.raw.a9, 1));
soundHashMap.put(10, mSoundPool.load(this, R.raw.a10, 1));
soundHashMap.put(11, mSoundPool.load(this, R.raw.a11, 1));
soundHashMap.put(12, mSoundPool.load(this, R.raw.a12, 1));
soundHashMap.put(13, mSoundPool.load(this, R.raw.a13, 1));
soundHashMap.put(14, mSoundPool.load(this, R.raw.a14, 1));
soundHashMap.put(15, mSoundPool.load(this, R.raw.a15, 1));
soundHashMap.put(16, mSoundPool.load(this, R.raw.a16, 1));
soundHashMap.put(17, mSoundPool.load(this, R.raw.a17, 1));
soundHashMap.put(18, mSoundPool.load(this, R.raw.a18, 1));
soundHashMap.put(19, mSoundPool.load(this, R.raw.a19, 1));
soundHashMap.put(20, mSoundPool.load(this, R.raw.a20, 1));
soundHashMap.put(21, mSoundPool.load(this, R.raw.a21, 1));
soundHashMap.put(22, mSoundPool.load(this, R.raw.b1, 1));
soundHashMap.put(23, mSoundPool.load(this, R.raw.b2, 1));
soundHashMap.put(24, mSoundPool.load(this, R.raw.b3, 1));
soundHashMap.put(25, mSoundPool.load(this, R.raw.b4, 1));
soundHashMap.put(26, mSoundPool.load(this, R.raw.b5, 1));
soundHashMap.put(27, mSoundPool.load(this, R.raw.b6, 1));
soundHashMap.put(28, mSoundPool.load(this, R.raw.b7, 1));
soundHashMap.put(29, mSoundPool.load(this, R.raw.b8, 1));
soundHashMap.put(30, mSoundPool.load(this, R.raw.b9, 1));
soundHashMap.put(31, mSoundPool.load(this, R.raw.b10, 1));

String s1 = "2012-6-8 12:00:00";
SimpleDateFormat sDateFormat = new SimpleDateFormat(
"yyyy-MM-dd hh:mm:ss");
String date = sDateFormat.format(new java.util.Date());

DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Calendar c1 = Calendar.getInstance();
Calendar str = Calendar.getInstance();

上一页  1 2 3 4 5  下一页

Tags:Android 字体 程序

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