章节:自动化基础篇——Robotium原理初步(第四讲)主要讲解内容与笔记:一、基于控件1、spinner——下拉菜单2、TabHost——左右滑动选择菜单,类似电话本3、Gallery——图形4、Progressbar——进度条5、DatePicker——日期与时间选择控件6、CheckBox——...
分类:
移动开发 时间:
2015-04-08 14:47:36
阅读次数:
383
1、XML文件2、ImageAdapterpublic class ImageAdapter extends BaseAdapter { // 定义context private Context context; // 定义整型数组,即图片源 private Integer[] imageIds =...
分类:
移动开发 时间:
2015-04-08 09:03:39
阅读次数:
131
摘要?转载http://www.trinea.cn/android/android-open-source-projects-view/,方便大家找到自己合适的资料 目录[-] 一、ListView 二、ActionBar 三、Menu 四、ViewPager 、Gallery 五、GridView 六、ImageView...
分类:
移动开发 时间:
2015-04-06 23:23:15
阅读次数:
670
第一部分 个性化控件(View)主要介绍那些不错个性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar、TextView、ScrollView、TimeView、TipView、FlipV...
分类:
移动开发 时间:
2015-04-03 11:08:55
阅读次数:
509
之前遇到过一个问题,就是发现我在程序中生成一个新的 Bitmap 之后,当我打开系统的 Gallery 查看时,并没有看到新生成的图像。然而打开文件浏览器,找到保存 Bitmap 所在的文件夹下,还能看到程序生成的 Bitmap 文件。也就是说,文件其实存在,但 Gallery 似乎并没有刷新。.....
分类:
移动开发 时间:
2015-04-02 01:05:29
阅读次数:
173
第一部分 个性化控件(View)主要介绍那些不错个性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、 GridView、ImageView、ProgressBar、TextView、ScrollView、TimeView、TipView、 Fli...
分类:
移动开发 时间:
2015-03-31 17:48:39
阅读次数:
192
BOOK STORE OPENCART 主题模板 ABC-0098 Features: Coding:?HTML5, CSS3, Semantic Code, jQuery Gallery Script: Accordion, Carousel, Slider Modules: Account, Affiliate, Banner, Bestsellers, Carousel, ...
分类:
其他好文 时间:
2015-03-28 15:53:35
阅读次数:
198
第一次翻译有诸多不正确的地方,还忘各位指正,谢谢!英文原文:http://www.bcgsoft.com/bcgcontrolbarpro.htmBCGControlBar是MFC的一个扩展库其英文全称是"Business Components Gallery ControlBar",它同意你去创建...
分类:
其他好文 时间:
2015-03-19 16:16:20
阅读次数:
175
ios 上没有发现与android gallery类似的控件,由于在项目上需要使用到.采用UICollectionView实现
ViewController.m
#import "ViewController.h"
#import "ImageCell.h"
#import "LineLayout.h"
@interface ViewController ()
@pro...
分类:
移动开发 时间:
2015-03-16 12:58:16
阅读次数:
272
题意:一个宽为2长为n的画廊,每个格子有一个值,问你关闭k个格子,使得画廊不堵塞且剩余值最大。解题思路:dp[i][j][0/1] 表示 第 i个位置 ,选取第 j个格子关闭 ,关闭i位置的k格子的最小值。解题代码: 1 // File Name: h.cpp 2 // Author: darkdr...
分类:
其他好文 时间:
2015-03-14 21:42:25
阅读次数:
556