android 坐标布局 AbsoluteLayout
16lz
2021-01-23
坐标布局:所有控件的坐标都是指定的
<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 TextView控件属性列表
- android 常用控件一览(从底层分析,为自定义控件做下小铺垫)
- Android中日期和时间控件的使用
- Android 常用控件讲解
- Android给控件添加默认点击效果
- android控件常用属性区别
- Android常见控件初探
- Android中设置控件可见与不可见详…
- Android 自定义控件-SnakeLayout (仿gallery)