码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果)
Android--标签组件(TabHost)小实例
tab.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical...
分类:移动开发   时间:2015-01-21 11:39:15    阅读次数:150
安卓--网格视图(GridView)实例
main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:移动开发   时间:2015-01-20 22:22:27    阅读次数:256
Chronometer组件实现计时器小程序
main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:其他好文   时间:2015-01-20 22:18:23    阅读次数:245
安卓--图片切换(ImageSwitcher)实例
main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:移动开发   时间:2015-01-20 17:58:30    阅读次数:420
安卓--拖动条(SeekBar)实例
main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:移动开发   时间:2015-01-20 15:50:38    阅读次数:175
安卓--信息提示框(Toast)实例
main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:移动开发   时间:2015-01-20 15:45:26    阅读次数:205
Android开发屏幕自适应方法
先来看一下效果图: 上图是通过设置layout_weight来解决Android多屏幕自适应。该属性的作用是决定控件在其父布局中的显示权重,一般用于线性布局中。 其值越小,则对应的layout_width或layout_height的优先级就越高,一般横向布局中,决定的是layout_width的优先级;纵向布局中,决 定的是layout_height的优先级。     传统的...
分类:移动开发   时间:2015-01-20 09:03:49    阅读次数:169
Android控件-TextView
Android的控件中有很多公共的属性,这些公共属性都将以TextView为例在进行记录。1 基本使用1.1 layout_width、layout_height android:layout_width与android:layout_height可以有三种值,介绍如下:1)fill_pare...
分类:移动开发   时间:2015-01-20 00:56:44    阅读次数:293
Dialog确定和删除按钮
main.xml代码下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical...
分类:其他好文   时间:2015-01-19 12:56:22    阅读次数:109
Android启动画面实现
在应用程序中经常用到启动画面,会启动一个后台线程为主程序的运行准备资源。 Android要实现启动画面可以这样做: 这是splash.xml布局文件的代码[code]   xmlns:android="http://schemas.android.com/apk/res/android"   android:layout_height="fill_parent" android:layou...
分类:移动开发   时间:2015-01-19 12:54:50    阅读次数:219
共604条   上一页 1 ... 43 44 45 46 47 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!