I have have an activity who have black transparent overlay.
What I need to do is remove overlay for specific button in an activity.But all other part extract button will consist of an overlay.
I have have an activity who have black transparent overlay.
What I need to do is remove overlay for specific button in an activity.But all other part extract button will consist of an overlay.
You can add a view with black overlay. Use of RelativeLayout is a great solution.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@mipmap/ic_launcher">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Press Me"/>
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#8000"/>
</RelativeLayout>
Hope this helps.
Thanks.