你的位置:首页 > 软件开发 > 操作系统 > android 拍照预览

android 拍照预览

发布时间:2015-12-01 11:00:33
<RelativeLayout ="http://schemas.android.com/apk/res/android" ="http://schemas.android.com/tools" android:layout_wi ...
<RelativeLayout ="http://schemas.android.com/apk/res/android"  ="http://schemas.android.com/tools"  android:layout_width="fill_parent"  android:layout_height="fill_parent"  android:orientation="vertical" >  <!-- 定义提示用户点击拍照的标签控件 -->  <TextView    android:id="@+id/Tv"    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:hint="点击拍照预览效果"    />  <!-- 定义显示照相结果的图片控件 -->  <ImageView    android:id="@+id/Iv"    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:src='/images/loading.gif' data-original="@drawable/ic_launcher"    android:layout_above="@+id/Btn" />  <!-- 定义用户点击拍照的按钮控件 -->  <Button    android:id="@+id/Btn"    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:text="点击按钮使用摄像头拍照"    android:layout_centerVertical="true"    android:layout_alignParentLeft="true"    android:layout_alignParentStart="true" /></RelativeLayout>

 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:android 拍照预览

关键词:Android

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录