1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2     android:id="@+id/linearLayout1" 3     android:layout_width="fill_parent" 4     android:layout_height="fill_parent" 5     android:orientation="horizontal" > 6     <SurfaceView 7         android:id="@+id/mySurfaceView" 8         android:layout_width="fill_parent" 9         android:layout_height="fill_parent"10         android:layout_weight="1" />11     <LinearLayout12         android:layout_width="fill_parent"13         android:layout_height="fill_parent"14         android:gravity="center"15         android:layout_weight="9"16         android:background="#daa520"17         android:orientation="vertical" >18         <Button19             android:id="@+id/button01"20             android:textColor="#ffff00"21             android:layout_width="60dip"22             android:layout_height="60dip"23             android:background="@drawable/backgroundselector"/>24         <Button25             android:id="@+id/button03"26             android:layout_width="60dip"27             android:layout_height="60dip"28             android:background="@drawable/btn_camera_record_light_inactive" 29             android:layout_marginTop="60dip"/>30         <Button31             android:id="@+id/button04"32             android:layout_width="60dip"33             android:layout_height="60dip"34             android:background="@drawable/share" 35             android:layout_marginTop="60dip"/>36     </LinearLayout>37 </LinearLayout>

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android中判断字符串中必须包含字母或者
  2. android browser 的几个小feature (四) k
  3. Android SDK R17
  4. Android Selector和Shape的使用方法
  5. android ListView中添加ImageButton按钮
  6. Android Handler机制
  7. 如何在android 中编译alsa-utils工具
  8. Android(安卓)最火的快速开发框架XUtils
  9. android内核编译方法
  10. [置顶] Android面试题【高级工程师版】