码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果
【学习笔记】Android常用布局
一、LinearLayout线性布局(1)线性布局分为垂直和水平两个方向android:orientation="vertical" android:orientation="horizontal"(2)定义宽和高铺满父级容器:match_parent 根据内容自适应:wrap_contentandroid:layout_width="" android:layout_height=""(3)设置权重andr..
分类:移动开发   时间:2016-10-22 18:37:20    阅读次数:241
android的相对布局
<RelativeLayoutxmlns: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"tools:context=".MainActivity"><TextViewandroid:id="@+id/text..
分类:移动开发   时间:2016-10-18 23:37:43    阅读次数:225
android的线性布局
<LinearLayoutxmlns: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"android:orientation="vertical"tools:context=".MainActivity"><..
分类:移动开发   时间:2016-10-18 23:37:37    阅读次数:230
Android DatePickerDialog TimePickerDialog
1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="match_parent ...
分类:移动开发   时间:2016-10-17 14:21:07    阅读次数:149
Android Dialog AlertDialog
1、普通的对话框 1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="mat ...
分类:移动开发   时间:2016-10-17 11:19:31    阅读次数:323
Android BaseAdapter ListView (明星简介列表)
1、搭建布局 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="mat ...
分类:移动开发   时间:2016-10-17 11:08:20    阅读次数:258
Acitivity.xml
<?xml version="1.0"encoding="utf-8"?>-<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:orientation="vertical"android:layout_width="match_parent"android:layout_height="match_parent">-<LinearLayoutandroid:orientati..
分类:其他好文   时间:2016-09-28 19:58:03    阅读次数:163
android的布局练习
<TableLayoutxmlns: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"android:stretchColumns="1"tools:context=".MainActivity"><Tabl..
分类:移动开发   时间:2016-09-26 18:11:21    阅读次数:177
XListview的下拉刷新、上拉加载、用Pull解析XML
做之前需要导入XListview的文件,此是用第三方的xListview实现的,东西没写全。此是在Fragment中实现的 // XListView的布局 <me.XListView android:layout_width="fill_parent" android:layout_height=" ...
分类:其他好文   时间:2016-09-23 16:32:14    阅读次数:161
WebView网络请求
1 <WebView 2 android:id="@+id/webView" 3 android:layout_width="match_parent" 4 android:layout_height="wrap_content"></WebView> ...
分类:Web程序   时间:2016-09-20 18:07:47    阅读次数:139
604条   上一页 1 ... 10 11 12 13 14 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!