码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果)
android开发之GestureDetector手势识别(调节音量、亮度、快进和后退)
写UI布局: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"...
分类:移动开发   时间:2015-07-05 01:00:23    阅读次数:329
SlidingPaneLayout
1. layout xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_...
分类:其他好文   时间:2015-07-04 19:49:02    阅读次数:292
DrawerLayout
1. main layout: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou...
分类:其他好文   时间:2015-07-04 16:45:14    阅读次数:150
android控件
TextView 显示文本框控件EditText输入文本框TextView的常用属性android:id---控件的idandroid:layout_width---控件的高度android:text ---文本内容android:textSize ---文本大小androidtextColor ....
分类:移动开发   时间:2015-07-04 09:33:20    阅读次数:130
WebView调用有道词典实现在线查词
WebView(网络视图)能加载显示网页,可以将其视为一个浏览器。它使用了WebKit渲染引擎加载显示网页,使用方法很简单,直接在XML文件中写入webview控件即可,主要代码如下: <AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"   android:layout_width="mat...
分类:Web程序   时间:2015-07-03 15:48:43    阅读次数:281
访问服务器(加载图片)
一丶一个简单的访问服务器(访问网易新闻客户端)点击加载新闻:首页的布局文件<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..
分类:其他好文   时间:2015-07-02 01:16:49    阅读次数:146
EditText如何设置滚动效果,字体满了继续输入可以滚动查看
当输入文字过多的时候,固定的高度,让字体可以滚动查看: <ScrollView android:id="@+id/ScrollView2" android:layout_width="fill_parent" android:layout_height="200px" android:layout_marginBottom="8d...
分类:其他好文   时间:2015-06-26 16:19:19    阅读次数:122
Eclipse布局文件添加两个TextView,为什么运行后置显示一个
下面是布局文件里的代码,有两个TextView,但是为什么运行后只显示第一个TextView?? 1 2 6 10 11 15 16 解决办法:android:layout_width="match_parent" android:layout_height="m...
分类:系统相关   时间:2015-06-26 16:15:11    阅读次数:167
android 指南针
<?xmlversion="1.0"encoding="utf-8"?> <FrameLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout android:id="@+id/view_compass" android:layout_..
分类:移动开发   时间:2015-06-26 15:09:20    阅读次数:219
Android中子线程网络查看器与Handler消息处理器
xml文件代码部分<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" > <Image..
分类:移动开发   时间:2015-06-25 21:23:55    阅读次数:170
共981条   上一页 1 ... 48 49 50 51 52 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!