RT。我要做的应用,调用相机的时候,需要在预览界面上面增加一个按钮(或者叠加显示另一个图片)。请问有人做过吗。
解决方案 »
- AudioRecord AudioTrack 录制播放问题
- 高手看下,android aidl 的问题
- android 画图的一个奇怪现象?
- 关于将Ethernet移植到Android 2.1的问题
- 分享下关于android多版本,多分辨率,多机型支持的经验
- android实现实时视频
- Intent(DialIntent) setLaunchFlags中如何启动新的活动?
- 大家过来看 该去那家公司??急需建议
- android listview如何显示sqlite中的数据
- 图片和SDK的模拟器分辨率相同,为什么不能填满显示区域……?
- 如何修改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>