RT。我要做的应用,调用相机的时候,需要在预览界面上面增加一个按钮(或者叠加显示另一个图片)。请问有人做过吗。
解决方案 »
- 我想修改一个APK,希望他不出现在最近程序列表里面 请大侠帮忙!!!谢啦
- list数组绑定ListView实时更新数据ListView置顶问题,求教育
- 需要设计界面,请达人帮忙
- 想在程序里实现一个收藏功能——求助各位大神
- 如何实现MIUI联系人那样的右边那种按字母顺序的快速定位条
- res里的资源只能通过ID访问么?
- 求教:如何在Settings下增加一项
- JNI 高手进:jni下调用sigaction注册的handle函数会不会被JVM 释放
- android 4.4菜单拖动卡顿的问题
- 请问关于从网络数据库获取数据后,不能显示全部数据和换行的问题
- 如何修改ListPreference弹出dialog的样式?
- 需显示天气相关信息,在线等
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<SurfaceView android:id="@+id/preview"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:layout_centerInParent="true" />
<ImageButton
android:id="@+id/flash" android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" android:layout_alignParentRight="true"
android:scaleType="center" android:visibility="visible"
></ImageButton>
</RelativeLayout>