码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
锐化效果
Bitmap bmp = new Bitmap(pictureBox1.Image); //创建Bitmap对象 Bitmap tmp = (Bitmap)bmp.Clone();//创建Bitmap对象 int height = tmp.Height;...
分类:其他好文   时间:2015-01-22 12:36:10    阅读次数:164
柔化效果
Bitmap bmp = new Bitmap(pictureBox1.Image); int Height = bmp.Height; int Width = bmp.Width; Bitmap tmp = (Bitmap)bmp...
分类:其他好文   时间:2015-01-22 12:30:18    阅读次数:230
安卓自定义Spinner 样式
首先在xml里面加一个Spinner控件<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" tools:context="${packageName}...
分类:移动开发   时间:2015-01-21 20:33:45    阅读次数:170
安卓--操作资源文件
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-21 18:13:34    阅读次数:134
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
[LeetCode] Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.思路:递归的思路。思路与重建二叉树类似。时间复杂度O(n), 空间复杂度O(logN) 1 /** 2 ....
分类:其他好文   时间:2015-01-20 22:00:43    阅读次数:170
css中百分比的不同参数
乘以包含块的宽度margin,padding,left,right,text-indent,width,max-width,min-width乘以包含块的高度top,bottom,height,max-height,min-height关于包含块(containing block)的概念,不能简单地...
分类:Web程序   时间:2015-01-20 21:57:28    阅读次数:234
安卓--图片切换(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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!