码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果)
ViewPager
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
SimpleAdapter使用案例
页面布局     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的使用方法介绍
本文主要讲解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
[Android]百度地图之地图标注
上一篇博文我们探讨了百度地图的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
Viewpaer+fragment
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和Notification的用法
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
Android中ListVIew高度自适应,解决ScrollView冲突问题以及Android表格
效果图 类似格式, 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解析
这一篇是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
android Activity实现从底部弹出或滑出选择菜单或窗口
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
共981条   上一页 1 ... 25 26 27 28 29 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!