I have built a camera app for android.The problem I am facing is making the camera frame to round instead of square or fullscreen.I tried to make the layout change its shape to circle but it didn't work. The layout is->
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent" android:layout_width="match_parent"
android:orientation="vertical"
android:gravity="center"
android:background="#541358">
<FrameLayout android:layout_width="350dp"
android:layout_height="350dp"
android:layout_gravity="center"
android:background="@drawable/backshape"
android:id="@+id/container">
</FrameLayout>
</LinearLayout>
Any help is very much appreciated.