You can do this too :
ColorMatrix matrix = new ColorMatrix();
matrix.setSaturation(0);
imageview.setColorFilter(new ColorMatrixColorFilter(matrix));
More Related Contents:
- Convert a Bitmap to GrayScale in Android
- ImageView in circular through XML
- ViewPager.setOffscreenPageLimit(0) doesn’t work as expected
- How to create a signed APK file using Cordova command line interface?
- What are my options for storing data when using React Native? (iOS and Android) [closed]
- Distance calculation from my location to destination location in android
- Is it possible to Generate a thumbnail from a video url in android
- Upload photo to Facebook with Facebook Android SDK in Android
- Android get current Locale, not default
- How to make an Android SlidingDrawer slide out from the left?
- Returning from an activity using navigateUpFromSameTask()
- Change text color of selected item in spinner
- Dynamic Resource Loading Android
- Android saving Bitmap to SD card
- http post method passing null values to the server
- Error in strings.xml file in Android
- application content goes behind the navigation bar in android L
- Android – How to launch Google map intent in android app with certain location, zoom level and marker
- Get android subscription status, failed with 403
- NoClassDefFoundError for OkHttpClient
- Want to load desktop version in my webview using uastring
- Debugging a service
- Custom designing EditText
- How to set text color of a TextView programmatically? [duplicate]
- custom dialog with close button
- How do I center the hint text within an EditText in Android?
- Error implementing Support Library Action Bar
- How to create the checkBox in circular shape?
- Android KeyStoreException Unknown Error
- How to make space between LinearLayout children?