android mapview 学习总结
16lz
2021-01-23
mapview 和其他控件一起显示(原文http://lordhong.iteye.com/blog/143407)
main.xml
main.xml
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <view class="com.google.android.maps.MapView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" /> <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="输入查询地址" android:selectAllOnFocus="true"/> </LinearLayout>
更多相关文章
- 安卓开发10:常用控件-常用表单级别控件
- Android实现控件View移动控制。
- ImageView显示图像控件
- javafx控件的显示与隐藏
- View控件Edittext属性
- Android控件(TextView、EditView、ImageView、Button)
- 我的android 第7天 - 控件美化 和 编码性能优化
- 【Android】第7章(2)--布局控件常用的公共属性