Android examples for User Interface:View Layer
set View Software Layer Type
//package com.java2s; import android.annotation.TargetApi; import android.view.View; public class Main { @TargetApi(11)/*from w w w . ja va 2 s . c o m*/ public static void setSoftwareLayerType(View view) { view.setLayerType(View.LAYER_TYPE_SOFTWARE, null); } }