码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果
第五章,AsyncTask和ProgressBar的练习(Android)
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_par...
分类:移动开发   时间:2015-06-12 19:32:52    阅读次数:147
【Android】android图片轮播
第一步,先写布局文件 <com.main.util.SlideShowView android:id="@+id/slideshowView" android:layout_width="fill_parent" android:layout_height="300dp" ...
分类:移动开发   时间:2015-06-11 14:41:43    阅读次数:153
【Android】九宫格的实现
第一步,布局文件 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height=...
分类:移动开发   时间:2015-06-11 14:40:52    阅读次数:163
【Android】Tab页的实现,利用tabhost
第一步,布局文件 <TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@android:id/tabhost"...
分类:移动开发   时间:2015-06-11 14:39:00    阅读次数:118
Android中时间日期的使用TimePicker和DatePicker
首先介绍一下TimePicker的使用xml文件代码部分<TimePicker android:id="@+id/firsttime1" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <Button android:id="@+id/button" android:layout_width="fill_parent" android:layout_heigh..
分类:移动开发   时间:2015-06-10 01:22:05    阅读次数:176
Android进度条progressbar
xml文件代码部分<ProgressBar android:id="@+id/firstprobar" android:layout_width="match_parent" android:layout_height="wrap_content" android:max="200" android:progress="100" style="?android:attr/progressBarStyleHorizontal" /> <Button android:id="@+id..
分类:移动开发   时间:2015-06-10 01:20:51    阅读次数:127
Relativelayout登录界面以及获取验证码点击之后到倒计时按钮
xml文件<RelativeLayoutxmlns: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:paddingLeft="@dimen/activity_horizontal_margin"an..
分类:其他好文   时间:2015-06-09 14:13:45    阅读次数:194
android中九宫格布局与gridview
纵观现在的应用程序,九宫格是非常常见的一种布局方式。很多优秀的手机应用程序都采用了这一布局。下面就android中九宫格布局方式的实现和大家做一个简单的介绍。 首先在youxi.xml的布局     android:layout_width="match_parent"     android:layout_height="match_parent"     >       ...
分类:移动开发   时间:2015-06-07 09:37:52    阅读次数:187
实现Button控制ImageView显示下一张照片
话不多说,直接上码:xml文件,简单的线性布局<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="fill_parent"android:layout_height="fill_parent"android:orientation="vertical..
分类:其他好文   时间:2015-06-06 23:43:06    阅读次数:142
android:layout_weight属性详解
1. 按比例显示LinearLayout内各个子控件,需设置android:layout_width="0dp",如果为竖直方向的设置android:layout_height="0dp"。在这种情况下某子个控件占用LinearLayout的比例为:本控件weight值 / LinearLayout...
分类:移动开发   时间:2015-06-06 18:01:51    阅读次数:192
604条   上一页 1 ... 29 30 31 32 33 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!