android第三天--AbsoluteLayout绝对布局
2014-12-06 00:00
615 查看
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>
: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第三天--AbsoluteLayout绝对布局
- android第三天--AbsoluteLayout绝对布局
- Android AbsoluteLayout绝对布局
- Android--五大布局(4)绝对布局AbsoluteLayout (实际中很少用到)
- Android学习-五布局之绝对布局(AbsoluteLayout)
- Android五布局——绝对布局AbsoluteLayout
- Android:控件布局(绝对布局)AbsoluteLayout
- Android学习第四天之AbsoluteLayout绝对布局
- Android开发7:布局管理器4(网格布局GridLayout,绝对布局AbsoluteLayout)
- Android零基础入门第31节:几乎不用但要了解的AbsoluteLayout绝对布局
- .Net程序员玩转Android开发---(9)绝对布局AbsoluteLayout
- Android AbsoluteLayout(绝对)、RelativeLayout(相对)、RTL(RightToLeth)(布局小结二)
- Android开发布局四_绝对布局(AbsoluteLayout)
- Android布局之绝对布局AbsoluteLayout详解
- Android绝对布局管理器AbsoluteLayout
- Android布局(5)--绝对布局(AbsoluteLayout)
- Android基础入门教程——2.2.6 AbsoluteLayout(绝对布局)
- 【Android 开发教程】AbsoluteLayout绝对布局
- .Net程序员玩转Android开发---(9)绝对布局AbsoluteLayout
- Android零基础入门第31节:几乎不用但要了解的AbsoluteLayout绝对布局