<?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"分割界面比例

最新文章

  1. Atitit.http代理的实现 代码java php c# python
  2. c#生成二维码
  3. 【转】Android APK反编译就这么简单 详解(附图)
  4. samba 配置
  5. K线指标线计算方法
  6. web1
  7. 嵌入式linux移植LAMP服务器
  8. 【转】 linux内核移植和驱动添加(三)
  9. 通过枚举enum实现单例
  10. HTML中设置背景图的两种方式
  11. 【转】svn冲突问题详解 SVN版本冲突解决详解
  12. hibernate映射(学生-科目-成绩)
  13. canvas抛物线运动轨迹
  14. numpy.ravel() vs numpy.flatten()
  15. web前端全栈学习之路
  16. Oracle12c新特性之基本操作
  17. bootstrap中模态框的大小设置
  18. poj 2981 Strange Way to Express Integers (中国剩余定理不互质)
  19. 139.00.005 Git学习-分支管理
  20. java read读取方法 之 指定读取大小,根据返回值判断是否读取所有的内容 -1表示读取完毕

热门文章

  1. vs调试有时能进去后台,有时不能进去
  2. Inno Setup入门(二十一)&mdash;&mdash;Inno Setup类参考(7)
  3. Content-Type小解
  4. 【转】使用ThinkPHP必须掌握的调试方法
  5. Swift の 函数式编程
  6. iOS项目架构 小谈
  7. UIApplicationDelegate 协议 浅析
  8. gameUnity 网络游戏框架
  9. margin传递,子元素的上下margin会传递给父级
  10. codeforces--376D--376F(前缀和优化)