页面布局
android :layout_width= "match_parent"
android :layout_height= "match_parent"
android :orientation= "horizontal">
android :id= "@+id/img"
android :...
分类:
其他好文 时间:
2016-05-12 13:32:51
阅读次数:
275
本文主要讲解WebView的一些常用使用方法
代码如下:
xml文件:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_p...
分类:
移动开发 时间:
2016-05-12 11:46:37
阅读次数:
211
css如下: width: **px; // text-overflow: ellipsis; overflow: hidden; white-space: nowrap; ...
分类:
Web程序 时间:
2016-05-12 10:41:20
阅读次数:
255
首页: <h1>首页</h1><table width="100%" border="1" cellpadding="0" cellspacing="0"><tr><td>代号</td><td>姓名</td><td>性别</td><td>民族</td><td>生日</td></tr> <?php$d ...
分类:
其他好文 时间:
2016-05-12 09:12:45
阅读次数:
184
pch文件的导入 :$(SRCROOT)/项目名/pch文件名 pch文件 常用宏定义 屏幕大小 #define ViewWith [UIScreen mainScreen].bounds.size.width #define ViewHight [UIScreen mainScreen].boun ...
分类:
移动开发 时间:
2016-05-11 15:10:01
阅读次数:
142
px: pc端最常用的的单位,大小固定,不会随窗口的变化而变化 例子: .box{width:100px; height:100px; font-size: 16px; border:1px solid #000;} 设置此元素的长款各为100px(像素),边框为1px(像素) 实线 边框为黑色 元 ...
分类:
其他好文 时间:
2016-05-11 15:08:35
阅读次数:
123
1、单行 HTML: <span class="col_one_text">测试数据测试数据测试数据测试数据测试数据测试数据测试数据测试数据测试数据测试数据测试数据测试数据</span> CSS: .col_one_text{ display: inline-block; width: 70px; ...
分类:
其他好文 时间:
2016-05-11 15:05:25
阅读次数:
147
1、WebApp全屏模式: <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,minimal-ui"> ...
分类:
移动开发 时间:
2016-05-11 14:45:03
阅读次数:
244
设置UIButton的文字显示位置、字体的大小、字体的颜色 btn.frame = CGRectMake(x, y, width, height); [btn setTitle: @"search" forState: UIControlStateNormal]; //设置按钮上的自体的大小 //[ ...
分类:
其他好文 时间:
2016-05-11 11:24:00
阅读次数:
117
对图像(灰度图)进行直方图均衡化主要有一下几个步骤:1、计算各个灰度值(0-255)出现的次数2、计算各个灰度值的累积分布率2、根据累积分布率计算出原来各灰度值的均衡化之后的新的值%直方图均衡化
clear;
I = imread('1.bmp');
[height,width] = size(I);
figure
subplot(221)
imshow(I)%显示原始图像...
分类:
其他好文 时间:
2016-05-11 07:26:21
阅读次数:
122