Android 如何将相机覆盖在附着的图像上?
我有一个应用程序,我想在其中为用户配置文件创建imageview,如有人知道任何库或任何其他解决方案,请告诉我。这称为锚定视图。一种使用FrameLayout的方法Android 如何将相机覆盖在附着的图像上?,android,Android,我有一个应用程序,我想在其中为用户配置文件创建imageview,如有人知道任何库或任何其他解决方案,请告诉我。这称为锚定视图。一种使用FrameLayout的方法 <FrameLayout android:id="@+id/frameImage" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="tr
<FrameLayout
android:id="@+id/frameImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true">
<ImageView
android:id="@+id/img_ProfilePic"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_margin="10dp"
android:src="@mipmap/ic_launcher"/>
<ImageView
android:id="@+id/img_Camera"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="right|bottom"
android:src="@mipmap/ic_launcher"
/>
</FrameLayout>