Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <FrameLayout
- android:id="@+id/frame"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- app:scaleType="fitCenter"
- android:adjustViewBounds="true"
- <androidx.camera.view.PreviewView
- android:id="@+id/preview"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:adjustViewBounds="true"/>
- <ImageView
- android:id="@+id/image_mask"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:scaleType="centerCrop"
- app:srcCompat="@drawable/mask" />
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment