Android学习UI
来源:互联网 发布:战之海贼海贼数据 编辑:程序博客网 时间:2024/06/06 09:26
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="button2"
android:layout_gravity="top" //置顶
/>
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="button2"
android:layout_gravity="center" //居中
/>
<Button
android:id="@+id/button3"android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="button3"
android:layout_gravity="bottom" //最底部
/>
<EditText
android:id="@+id/input_message"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" //宽度比例
android:hint="hello"
/>
<Button
android:id="@+id/send"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:text="send"
/>
- Android的UI学习
- Android UI学习 - Menu
- Android UI学习 - ListView
- Android UI学习 - Menu
- Android UI学习 - TableLayout
- Android UI学习 - Menu
- Android UI学习 - ListView
- Android UI学习 - Menu
- Android UI学习 - ListView
- Android UI学习 - TableLayout
- Android UI学习 - Menu
- Android UI学习 - TableLayout
- Android+UI学习+-+ListView
- Android UI学习 - Menu
- Android UI学习 - Menu
- Android UI学习 - Menu
- Android UI学习 - Menu
- Android UI学习 - ListView
- git是什么?如何使用git进行团队协作?
- Java加密技术(五)——非对称加密算法的由来DH
- 第一个Visual C++程序—HelloWorld
- 字符串匹配算法(KMP、BM和Sunday),及Python实现
- 小白linux学习旅途---目录权限重要知识点
- Android学习UI
- Revit开发参数读取
- Windows数据类型与API函数(MessageBox函数 和 ReadFile函数)
- 宏定义、内联函数、普通函数的区别
- OC门
- 用Js的eval解析JSON中的注意点
- 测试是否安装成功caffe
- linux常用的内核镜像格式
- Java加密技术(六)——数字签名算法DSA