首页 > 移动平台 > 详细

android 布局杂技

时间:2019-08-20 09:53:09      阅读:79      评论:0      收藏:0      [点我收藏+]

1、右对齐,并留出空隙 

LinearLayout 内有效
<LinearLayout 
        android:orientation="vertical" 
        android:layout_width="fill_parent" 
        android:layout_height="fill_parent" 
        android:layout_weight="1">
        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="right|center_vertical"
            android:layout_marginRight="3.0dip"
            android:background="@drawable/stopa" />
            </LinearLayout>

  

android 布局杂技

原文:https://www.cnblogs.com/hoge66/p/11380848.html

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