Here is my method:
I had to run my app in multi-size and dialog. Should be full screen, I can't have a specified size for my image - so , I used from FrameLayout
in match_parent mode
that make my image(Dialog) full screen.
Code below:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/FrameLayout3"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/my-image-in-any-size"
android:alpha=".87">
</FrameLayout>