android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_weight="0.1"
android:gravity="bottom"
android:orientation="vertical" >


android:layout_width="match_parent"
android:layout_height="42dp"
android:layout_marginBottom="0dp"
android:background="@drawable/finish_bg"
android:text="一键加入" />

 

比如这个Button 必须用LinearLayout包起来,然后设置:

android:layout_weight="0.1"
android:gravity="bottom"
android:orientation="vertical" 

转载于:https://www.cnblogs.com/Ringer/p/4032897.html

更多相关文章

  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. android4.0下使用multiDexEnabled属性的
  2. android home键的处理
  3. Android Recovery UI浅析1——概览
  4. Android: HttpClient与Webview共享cookie
  5. QtAndroid详解(4):JNI调用Android系统功能
  6. Android应用无线测试要点
  7. 将android Market缓存转移到SD卡的小程序
  8. Android(安卓)LruCache内存缓存图片
  9. Android 缓存策略
  10. android SDK 环境搭建 离线