首页 > 移动平台 > 详细

安卓学习之FrameLayout

时间:2016-09-04 22:08:19      阅读:191      评论:0      收藏:0      [点我收藏+]

将《第一行代码》中的代码输入,并不能得到书上的结果,按钮无论如何都是在图片上面,后来找到http://www.cnblogs.com/DarkMaster/p/4654953.html,将button空间外面包一层

          <RelativeLayout
6             android:layout_width="match_parent"
7             android:layout_height="wrap_content">
8
9             <Button
10                 android:layout_width="match_parent"
11                 android:layout_height="wrap_content"
12                 android:text="立即投资" />
13
14         </RelativeLayout>


之后完美解决

安卓学习之FrameLayout

原文:http://www.cnblogs.com/lijing94/p/5840300.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!