2011年4月8日
摘要: 在程序里弹出一个小窗口,像系统的MediaController一样,具体做法:先在mail.xml的layout布局里加一个id,这个到后面会用到的,1 <?xml version="1.0" encoding="utf-8"?>2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"3 android:orientation="vertical"4 android:layout_width="f 阅读全文
posted @ 2011-04-08 17:41 月vs枫 阅读(15423) 评论(5) 推荐(2) 编辑
摘要: 调大声:1 AudioManager audioMa=(AudioManager)this.getSystemService(Context.AUDIO_SERVICE);2 audioMa.adjustStreamVolume(AudioManager.STREAM_MUSIC,AudioManager.ADJUST_RAISE,AudioManager.FX_FOCUS_NAVIGATION_UP);调小声:1 AudioManager audioMa=(AudioManager)this.getSystemService(Context.AUDIO_SERVICE);2 audioMa. 阅读全文
posted @ 2011-04-08 17:24 月vs枫 阅读(461) 评论(0) 推荐(0) 编辑