Topics checked before creating topic
- Mask layout with rounded corner xml shape
- Mask ImageView with round corner background
- How can I make rounded (circled) ImageView box on Android Studio?
- ImageView in circular through xml
- https://inducesmile.com/android/how-to-make-circular-imageview-and-rounded-corner-imageview-in-android/
I want to apply mask to ImageView like from pic1 to pic2 but it is formed of multiple gradients via .
At first I was using
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<corners android:radius="36dp" />
</shape>
Then added solid
then tried FrameLayout
then tried adding library from link 5. None of proposed methods did apply mask. Library was causing errors on
getMenuInflater().inflate(R.menu
if (id == R.id.action_settings
Cannot resolve menu
and action_settings.
How come answers are being accepted but I cannot reproduce it? What am I missing in xml files? Even copy-paste whole ImageView + shape did not help