【发布时间】:2011-08-29 21:34:58
【问题描述】:
我已经设置了一个加载相机并允许我预览它的活动,但我需要在屏幕上添加一个按钮,但我可以让屏幕显示的唯一方法是使用以下布局:
<android.view.SurfaceView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/myview"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.view.SurfaceView>
有没有办法让我在视图中添加一个按钮?
【问题讨论】: