Android学习笔记之LinearLayout
2024-09-14 15:15:40
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" > <TextView
android:id="@+id/textView1"
android:layout_width="120dp"
android:layout_height="wrap_content"
android:scrollHorizontally="true"
android:text="Large Text"
android:layout_weight="1"
android:textAppearance="?android:attr/textAppearanceLarge" /> <Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Button" /> </LinearLayout>
android:layout_weight="1"分割界面比例
最新文章
- Atitit.http代理的实现 代码java php c# python
- c#生成二维码
- 【转】Android APK反编译就这么简单 详解(附图)
- samba 配置
- K线指标线计算方法
- web1
- 嵌入式linux移植LAMP服务器
- 【转】 linux内核移植和驱动添加(三)
- 通过枚举enum实现单例
- HTML中设置背景图的两种方式
- 【转】svn冲突问题详解 SVN版本冲突解决详解
- hibernate映射(学生-科目-成绩)
- canvas抛物线运动轨迹
- numpy.ravel() vs numpy.flatten()
- web前端全栈学习之路
- Oracle12c新特性之基本操作
- bootstrap中模态框的大小设置
- poj 2981 Strange Way to Express Integers (中国剩余定理不互质)
- 139.00.005 Git学习-分支管理
- java read读取方法 之 指定读取大小,根据返回值判断是否读取所有的内容 -1表示读取完毕