1.activity_main.xml
<android.support.v4.view.ViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/viewpager"
android:layout_width="match_parent"
and...
分类:
其他好文 时间:
2016-05-12 14:02:28
阅读次数:
170
页面布局
android :layout_width= "match_parent"
android :layout_height= "match_parent"
android :orientation= "horizontal">
android :id= "@+id/img"
android :...
分类:
其他好文 时间:
2016-05-12 13:32:51
阅读次数:
275
本文主要讲解WebView的一些常用使用方法
代码如下:
xml文件:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_p...
分类:
移动开发 时间:
2016-05-12 11:46:37
阅读次数:
211
上一篇博文我们探讨了百度地图的SDK的环境集成与搭建,这篇文章将介绍如何在百度地图上进行标注。
1、在activity_main.xml中新建bmapView<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
andro...
分类:
移动开发 时间:
2016-05-11 07:18:51
阅读次数:
214
1.日历 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" andro ...
分类:
其他好文 时间:
2016-05-10 20:38:13
阅读次数:
324
1、碎片的动态切换: 1-1:页面填写 <FrameLayout android:id="@+id/fl_layout" android:layout_weight="1" android:layout_width="match_parent" android:layout_height="matc ...
分类:
其他好文 时间:
2016-05-08 19:43:58
阅读次数:
173
Toast的用法 新建工程Toast 资源文件添加Button按钮btnShowToast <Button android:id="@+id/btnShowToast" android:layout_width="fill_parent" android:layout_height="wrap_co ...
分类:
其他好文 时间:
2016-05-08 10:21:17
阅读次数:
184
效果图
类似格式,
listView_item.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
...
分类:
移动开发 时间:
2016-05-07 08:43:42
阅读次数:
177
这一篇是json解析的小案例,具体步骤如下:
第一步:写一个布局文件
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Ma...
分类:
Web程序 时间:
2016-05-07 08:43:11
阅读次数:
177
alert_dialog.Xml代码
xml version="1.0" encoding="utf-8"?>
RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
a...
分类:
移动开发 时间:
2016-05-07 08:19:23
阅读次数:
247