显示隐藏ImageView
1、ImageView img01 = (ImageView)this.findViewById(R.id.write_done);
img01.setVisibility(View.VISIBLE);//显示
img01.setVisibility(View.GONE);//隐藏
2、调用Android系统内置图片方法为android.R.drawable.图片名
具体列表请转到:http://www.blogjava.net/zhaojianhua/archive/2011/06/13/352175.html
3、独家清屏方法
a.main.xml配置清屏间隔
<android.gesture.GestureOverlayView
android:id="@+id/myGestures1"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:layout_weight="1.0"
android:fadeOffset="10000"
android:gestureStrokeType="multiple"
/>
b.当你需要清屏幕时,可这样设置:
GestureOverlayView overlay = (GestureOverlayView) findViewById(R.id.myGestures1);
overlay.setFadeOffset(0);
overlay.clear(true);