android第三天--AbsoluteLayout绝对布局
16lz
2021-01-23
AbsoluteLayout绝对布局
:layout/activity_main.xml
<AbsoluteLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world"
android:layout_x="200dp"
android:layout_y="400dp"
/>
</AbsoluteLayout>
本文出自 “追随心的彼岸” 博客,谢绝转载!
更多相关文章
- Android Layout Tricks #3: Optimize with stubs(Android 布局技
- Android 关于显示键盘,布局错乱网上顶的问题
- android 开发 简单的页面布局
- RecyclerView竖直和水平的瀑布流布局
- Android适配底部虚拟键盘遮挡布局的解决方案
- Android参数设置父布局集体宽高
- Android 四大组件,五大存储,六大布局