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>

本文出自 “追随心的彼岸” 博客,谢绝转载!

更多相关文章

  1. Android Layout Tricks #3: Optimize with stubs(Android 布局技
  2. Android 关于显示键盘,布局错乱网上顶的问题
  3. android 开发 简单的页面布局
  4. RecyclerView竖直和水平的瀑布流布局
  5. Android适配底部虚拟键盘遮挡布局的解决方案
  6. Android参数设置父布局集体宽高
  7. Android 四大组件,五大存储,六大布局

随机推荐

  1. 细菌觅食算法-python实现
  2. Python网页静态爬虫
  3. Python学习系列(六)(模块)
  4. 校招录取之后前往公司实习,现在感觉自己前
  5. 如何将dict转换为spark map输出
  6. 当使用一个传送到另一个的python文件时,我
  7. matplotlib绘制符合论文要求的图片
  8. classmethod,staticmethod,还有类里面一般
  9. Python文件操作大全,随机删除文件夹内的任
  10. 获取错误“ValueError:int()的无效文字,基数