博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
android 按钮宽度按比例
阅读量:7038 次
发布时间:2019-06-28

本文共 561 字,大约阅读时间需要 1 分钟。

<LinearLayout

android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >

<Button

android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_weight="1"
android:text="1" />

<Button

android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_weight="1"
android:text="1" />

<Button

android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_weight="1"
android:text="1" />

</LinearLayout>

转载于:https://www.cnblogs.com/liqw/p/3382044.html

你可能感兴趣的文章
JSON与JSONP
查看>>
关于部署在linux服务器上应用之间连接的问题解决
查看>>
《深入理解Java虚拟机》学习笔记(二)
查看>>
射线投射与碰撞层
查看>>
正则表达式
查看>>
bind this指针
查看>>
paper 135:关于C#泛型的知识点
查看>>
第二十四条:消除非受检警告
查看>>
给阅读的网页作标记
查看>>
vue条件渲染
查看>>
转 MySQL数据库基础
查看>>
Oracle dblink创建
查看>>
python04 while循环
查看>>
web 开发之酷炫--- 酷炫展示
查看>>
ubuntu 解压命令全部
查看>>
Chrome教程(一)NetWork面板分析网络请求
查看>>
第十八回  基础才是重中之重~开发人员应学会用throw
查看>>
Rosenblatt's perceptron
查看>>
1570:基础练习 分解质因数
查看>>
判断ie浏览器7、8、9三个版本
查看>>