@Override
 public void clearOpacity(View view) {
   super.clearOpacity(view);
   TiImageView iview = getView();
   if (iview != null) {
     iview.setColorFilter(null);
   }
 }
Пример #2
0
 protected void setOpacity(View view, float opacity) {
   if (view != null) {
     TiUIHelper.setDrawableOpacity(view.getBackground(), opacity);
     if (opacity == 1) {
       clearOpacity(view);
     }
     view.invalidate();
   }
 }