安卓
来源:互联网 发布:nginx配置端口 编辑:程序博客网 时间:2024/04/26 04:53
<RelativeLayout 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" >
<com.telemap.map.mobile.mapengine.widget.MapView
android:id="@+id/mv_main"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#FFFFFFFF" >
</com.telemap.map.mobile.mapengine.widget.MapView>
<EditText
android:id="@+id/city"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/search"
android:layout_alignParentLeft="true"
android:ems="10"
android:singleLine="true"
android:text="" />
<!--button控件靠textView控件右边,名字是搜索-->
<Button
android:id="@+id/btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_toRightOf="@id/city"
android:layout_weight="1"
android:text="搜索" />
<!--控件靠底部排列: android:layout_alignParentBottom="true" ,最小行数参数为minLine=3,设置文字从3行中的顶部开始写-->
<TextView
android:id="@+id/des"
android:layout_width="fill_parent"
android:layout_height="60dp"
android:layout_alignParentBottom="true"
android:minLines="3"
android:gravity="top"
android:text="abcdefg"
android:textSize="20dp"
/>
</RelativeLayout>
0 0
- 安卓
- 安卓
- 安卓
- 安卓
- 【安卓】
- 安卓
- 安卓
- 安卓
- 安卓
- 安卓
- 安卓
- 安卓
- 安卓
- 安卓学习-安卓环境布置
- 安卓开发-安卓启动过程
- 安卓开发-安卓与sqlite
- 安卓开发工具安卓
- 安卓断点续传支持安卓6.0
- Android横竖屏切换
- 一个很强的验证脚本
- HightStock加标签
- Linux 命令行快捷键
- 第六周第四章
- 安卓
- Insert OpenXmlElement after word bookmark in Open XML SDK
- 用Beautiful Soup抓取数据的小例子
- jquery serialize传中文乱码解决方法
- 从可空类型到基础类型的转换
- 10年程序员生涯带给了我什么?(2)
- cout是如何处理char和int的类型转换
- python setuptools安装
- 自定义事件的使用例程