码迷,mamicode.com
首页 >  
搜索关键字:horizontal    ( 575个结果
【Android】画廊式的图片浏览器,使用HorizontalScrollView取代Gallery,OnClickListener的参数传递
本来,画廊式的图片浏览器,使用Android中的Gallery就能轻松完成,但是Google说Gallery每次切换图片时都要新建视图,造成太多的资源浪费,已经在安卓api 19之后被彻底废弃,Google推荐使用ViewPager或者HorizontalScrollView来实现Gallery的效果。网上对此的资料太杂,有部分资料写得太高深,完全看不懂。我搞了一个下午,才使用Horizontal...
分类:移动开发   时间:2015-06-29 10:18:05    阅读次数:276
sass中常用mixin
//设置字体大小@mixin font($s:14px,$h:1.5,$f:microsoft yahei){ font:$s/#{$h} $f;}//设置水平居中@mixin horizontal-center { margin-left: auto; margin-right: a...
分类:其他好文   时间:2015-06-29 06:08:15    阅读次数:171
二、Android应用的界面编程(六)ProgressBar及其子类[SeekBar、RatingBar]er
通常用于向用户显示某个耗时操作完成的百分比。Android支持几种风格的进度条,通过style属性可以为ProgressBar指定风格。该属性支持如下几个属性值。 # @android:style/Widget.ProgressBar.Horizontal; 水平进度条。 # @android...
分类:移动开发   时间:2015-06-25 16:55:44    阅读次数:1253
Bootstrap系列 -- 12. 水平表单
Bootstrap框架默认的表单是垂直显示风格,但很多时候我们需要的水平表单风格(标签居左,表单控件居右) 在Bootstrap框架中要实现水平表单效果,必须满足以下两个条件: 1、在元素是使用类名“form-horizontal”。 2、配合Bootstrap框架的网格系统。 在元...
分类:其他好文   时间:2015-06-24 22:29:19    阅读次数:153
RectGroup的用法
如图若完成以上列表功能且听我来细细道来: 1,工程目录新建image,其中添加组件Mask和ScrollRect(注scrollRect中Horizontal与Vertical是控制拖动方向的,如上图,应只勾选Vertical) 2,在image下面在新建子节点image,插入GridLayoutGroup与Content Size Fitter两个组件如下图 运行即可看到基本雏...
分类:其他好文   时间:2015-06-16 21:20:12    阅读次数:120
Relativelayout登录界面以及获取验证码点击之后到倒计时按钮
xml文件<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"android:paddingLeft="@dimen/activity_horizontal_margin"an..
分类:其他好文   时间:2015-06-09 14:13:45    阅读次数:194
QCustomPlot使用手册(三)
一、改变范围QCustomPlot *customplot; customplot->setInteraction(QCP::iRangeDrag,true);使控件能够拖拉。customplot->axisRect()->setRangeDrag(Qt::Vertical);// Qt::Horizontal使控件只能在某一方向上拖拉,默认是水平和垂直都支持。customplot->setInte...
分类:其他好文   时间:2015-06-09 06:15:46    阅读次数:495
Horizontal---ProgressBar
相当简单,直接贴 先看主界面布局activity_custom_progress_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" an...
分类:其他好文   时间:2015-06-08 19:38:29    阅读次数:145
Android中的五大布局
Android五大布局 1,LinearLayout 线性布局: 制定线性布局的排列方式:水平排列 horizontal、垂直排列 vertical eg: android:orientation="horizontal" 控制当前 控件的内容 的显示区域: eg: android:gravity="right|center_vertical" 控制当前控件在父元素的...
分类:移动开发   时间:2015-06-07 12:38:24    阅读次数:124
开源项目----转
android-pulltorefresh一个强大的拉动刷新开源项目,支持各种控件下拉刷新,ListView、ViewPager、WevView、ExpandableListView、GridView、ScrollView、Horizontal ScrollView、Fragment上下左右拉动刷新...
分类:其他好文   时间:2015-06-04 13:28:54    阅读次数:149
575条   上一页 1 ... 41 42 43 44 45 ... 58 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!