码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果
android基础(5):常用组件1
常用组件     android:layout_width="fill_parent"     android:layout_height="fill_parent"     android:orientation="vertical" >        android:layout_width="wrap_content"    android:id="@+id/textV...
分类:移动开发   时间:2015-08-08 00:04:40    阅读次数:126
ViewPager+Fragment 滑动菜单效果 实现步骤
1、xml中引用ViewPager                 android:id="@+id/viewPager"             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:layout_gravity="...
分类:其他好文   时间:2015-08-07 20:18:23    阅读次数:166
Android TextView滑动
1.XML <TextView android:id="@+id/tv_value" android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="5dp" android:scrollbars="v...
分类:移动开发   时间:2015-08-07 19:58:23    阅读次数:168
android学习笔记(3)Button控件的学习
对应若水老师的第六课 一,加入一个button并用外部类绑定事件 //XML文件: <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layou...
分类:移动开发   时间:2015-08-07 13:19:21    阅读次数:128
android基础(2):常用的布局方法
一:线性布局 LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"     android:layout_width="fill_parent"     android:layout_height="fill_parent"     android:background="@drawable/bac...
分类:移动开发   时间:2015-08-06 20:34:20    阅读次数:131
android基础(1):控制UI界面
一:xml布局文件控制UI界面 activity_main.xml FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"     android:layout_width="fill_parent"     android:layout_height="fill_parent" >     Tex...
分类:移动开发   时间:2015-08-06 20:33:57    阅读次数:164
StackView堆视图实现叠放效果
效果图:布局代码:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" andro...
分类:其他好文   时间:2015-08-04 11:17:14    阅读次数:143
Android布局中添加条横线
一个View添加点颜色就搞定了         android:layout_width="fill_parent"         android:layout_marginTop="10dp"         android:layout_height="1dp"         android:layout_marginLeft="5dp"         android...
分类:移动开发   时间:2015-08-02 23:29:23    阅读次数:215
自学Android笔记——Activity中的数据传递案例(用户注册)
1.创建程序activity_main: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientatio...
分类:移动开发   时间:2015-08-02 18:24:36    阅读次数:184
自学Android笔记——Activity中的回传数据案例(装备选择)
1.创建程序: <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-08-02 18:22:28    阅读次数:174
604条   上一页 1 ... 23 24 25 26 27 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!