use of com.android.systemui.qs.QSIconView in project android_frameworks_base by crdroidandroid.
the class BatteryTile method createTileView.
@Override
public QSIconView createTileView(Context context) {
QSIconView view = new QSIconView(context);
// The BatteryMeterDrawable wants to use the clear xfermode,
// put it on its own layer to not make it clear the background with it.
view.getIconView().setLayerType(View.LAYER_TYPE_HARDWARE, null);
return view;
}
Aggregations