android 坐标布局 AbsoluteLayout
16lz
2021-12-04
坐标布局:所有控件的坐标都是指定的
<AbsoluteLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_x="10px"
android:layout_y="20px"
android:text="AbsoluteLayout" >
</TextView>
</AbsoluteLayout>
<AbsoluteLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_x="10px"
android:layout_y="20px"
android:text="AbsoluteLayout" >
</TextView>
</AbsoluteLayout>
更多相关文章
- android和ios button点击变暗效果
- Android程序员学IOS-UI篇
- Android(安卓)Emulator 模拟器使用方法
- 布局概述之相对布局RelativeLayout
- 系出名门 Android(安卓)系列文章索引
- Android中widget组件的开发流程
- android TextView控件属性列表
- Android之PopupWindow弹出对话框 Android之PopupWindow弹出对话
- android 常用控件一览(从底层分析,为自定义控件做下小铺垫)