<FrameLayout android:id="@+id/fl_effect_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/rl_title" android:layout_marginBottom="83dp" > <ImageView android:id="@+id/im_gselected_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" > </ImageView> </FrameLayout>
FrameLayout fl=(FrameLayout) findViewById(R.id.fl_effect_view); f1.setDrawingCacheEnabled(true); Bitmap b=Bitmap.createBitmap(f1.getDrawingCache()); f1.setDrawingCacheEnabled(false);
ImageView fl=(ImageView) findViewById(R.id.im_gselected_image); f1.setDrawingCacheEnabled(true); Bitmap b=Bitmap.createBitmap(f1.getDrawingCache()); f1.setDrawingCacheEnabled(false);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)