码迷,mamicode.com
首页 >  
搜索关键字:scroll bar    ( 8099个结果
android自定义View之(七)------自定义控件组合仿actionbar控件
我们前面写了6个自定义view的样例,这都是全新自已画的控件。在这个样例中,我们来用几个现有的控件来组合成一个新的控件。    效果图:    我们用二个Button和一个TextView组合来成为一个actionbar,下面先来一个效果图: 关键代码: (1)res/layout/custom_action_bar.xml----组合控件布局文件 <RelativeLayout...
分类:移动开发   时间:2015-02-03 21:25:16    阅读次数:216
jquery控制div随滚动条滚动效果
jquery div随滚动条滚动效果 $(function () { $(window).scroll(function () { var top = $(window).scrollTop() + 200; var left = $(window).scrollLeft()...
分类:Web程序   时间:2015-02-03 17:27:46    阅读次数:116
C语言动态调用库(转)
转自:http://cloverprince.iteye.com/blog/481309现有一个主程序用C语言写成。现在要允许第三方开发人员编写扩展的模块,约定第三方开发的模块必须提供一系列已知名称的函数(如 foo(),bar(),baz())。如果要求第三方的模块必须与主程序的二进制代码分开发布...
分类:编程语言   时间:2015-02-03 16:47:07    阅读次数:245
appium查看控件的方法
1.通过ID查找 查找1个:WebElement el=driver.findElement(By.id("com.aurora:id/aurora_action_bar_item")); 列表: List e3=driver.findElements(By.id("com.aurora:id/.....
分类:移动开发   时间:2015-02-03 14:56:31    阅读次数:218
通过Activity的ViewGroup添加ProgressBar
ProgressBar是一个常见的组件,我们可以通过多种方式来实现一个progressBar,有一种方式是通过一个Activity的的window来放置一个bar,因为android中大家都知道的关联关系是:Activity->Window->View[ViewGroup]  ,那我们通过当前Activity的window来加载一个progressBar,当我们把这个Activity作为一个基类的...
分类:其他好文   时间:2015-02-02 19:55:37    阅读次数:126
android-scroll 滑动条风格调整
修改滚动条样式
分类:移动开发   时间:2015-02-02 19:26:07    阅读次数:240
【leetcode】Trapping Rain Water(hard)
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:移动开发   时间:2015-02-02 17:34:58    阅读次数:282
[leetcode] Trapping Rain Water
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:移动开发   时间:2015-02-02 14:04:12    阅读次数:196
LeetCode[Array]: Trapping Rain Water
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.  For example,  Given [0,1,0,2,1,0,1,3,2,1,2,1],...
分类:移动开发   时间:2015-02-01 17:48:15    阅读次数:191
【学习ios之路:UI系列】(UISearchBar,UISearchDisplayController) 和UISearchController(iOS8新特性)
1.UISearchBar(效果如下:) ①创建UISearchBar对象 //初始化,定义frame UISearchBar *bar = [[UISearchBar alloc] initWithFrame:CGRectMake (0, 50, self.view.fra...
分类:移动开发   时间:2015-02-01 16:10:59    阅读次数:300
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!