界面布局-RelativeLayout
来源:互联网 发布:双色球必中蓝球算法 编辑:程序博客网 时间:2024/06/06 12:26
res/layout/activity_my.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context=".MyActivity" > <TextView android:id="@+id/label" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/typehere" /> <EditText android:id="@+id/entry" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@+id/label" android:ems="10" android:inputType="text" > <requestFocus /> </EditText> <Button android:id="@+id/ok" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_below="@+id/entry" android:layout_marginLeft="10dp" android:text="@string/submit" /> <Button android:id="@+id/cancel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBaseline="@id/ok" android:layout_below="@+id/entry" android:layout_toLeftOf="@+id/ok" android:text="@string/cancel" /></RelativeLayout>
http://www.zhangjianghome.net
- 界面布局-RelativeLayout
- RelativeLayout布局制作登陆界面
- Android界面布局-----RelativeLayout(相对布局)
- Android界面布局二---------------RelativeLayout(相对布局)
- 【Android开发学习25】界面布局之相对布局RelativeLayout
- Android界面资料篇——RelativeLayout相对布局(转)
- 相对布局(RelativeLayout)写的QQ登录界面
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout 布局
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout布局
- JAVA-第三天
- hdu acmsteps 2-1-3相遇周期
- POJ-1005-I Think I Need a Houseboat
- 算法 快速排序
- ListView在滚动时 背景被遮盖的解决办法
- 界面布局-RelativeLayout
- poj3692----图论---二分图最大团
- 笔记
- ubuntu 12.04 安装后的一些配置记录
- python文件查重工具,基于文件大小和md5/sha1值
- Eclipse 安装Maven插件
- HTML中引入CSS的方法
- 网站建设质量与网站架构的合理安排
- 25_Android_网络通信之资讯客户端(上)