码迷,mamicode.com
首页 >  
搜索关键字:horizontal    ( 575个结果
android控件属性
1、LinearLayout(线性布局):可以分为水平线性:android:orientation= " horizontal "和垂直线性:android:orientation= "vertical"2、RealtiveLayout(相对布局):(1)在相对布局中属性值为true或false的有...
分类:移动开发   时间:2015-04-27 16:47:39    阅读次数:241
c# sendmessage control to scroll
Declare some constants:private const int WM_SCROLL = 276; // Horizontal scrollprivate const int WM_VSCROLL = 277; // Vertical scrollprivate const int ...
分类:Windows程序   时间:2015-04-24 23:56:07    阅读次数:528
Android UI:ProgressBar 自定义进度条样式
以水平方向进度条为例,介绍如何自定义进度条。 1.在drawable文件夹下建立自己的进度条模版,右键drawable→new→Android XML file→layer list→自己起个名字(如progressBar_horizontal_1)代码如下 ...
分类:移动开发   时间:2015-04-15 19:10:20    阅读次数:156
Android开发之五种布局
一、LinearLayout线性布局 1、常见属性 android:orientation="horizontal":制定线性布局的排列方式     水平 horizontal     垂直 vertical gravity 控制当前控件内容显示区域 layout_gravity 当前控件在父元素的位置 Layout_weight 额外空间分配(权重) android:v...
分类:移动开发   时间:2015-04-15 09:43:52    阅读次数:202
Android开发之使用ProgressBar控件
ProgressBar类型:横向和旋转 旋转型的ProgressBar大小有三种,大、中、小。如果不对其指定大小,将默认显示中等大小。对其指定大小时,需要用到style属性. 例如: style="?android:attr/progressBarStyleHorizontal"或者 style="@android:style/Widget.ProgressBar.Horizontal" ...
分类:移动开发   时间:2015-04-13 19:03:14    阅读次数:154
android layout_gravity 、gravity、layout_margin、padding 之间的区别
android:orientation="horizontal" > android:layout_gravity="center_horizontal" layout表示相对父控件...
分类:移动开发   时间:2015-04-13 16:14:44    阅读次数:160
Android TextView 设置文字间距
搜索结果都不靠谱,基本上都说是android:textScaleX可以设置文字间距,也不知道你们到底有没有真正做过开发。Android开发文档里描述的很清楚:android:textScaleXSets the horizontal scaling factor for the text.这个东西是...
分类:移动开发   时间:2015-04-11 16:07:40    阅读次数:149
Android——ProgressDialog 进度条对话框
public class ProgressDialogActivity extends Activity { private Button btn_large_pd, btn_horizontal_pd; // 声明进度条对话框 ProgressDialog mProgressDialog; // ...
分类:移动开发   时间:2015-04-10 13:36:08    阅读次数:142
看文档要看仔细,英语要加强啊... cocos2d-x 的 API 和 对应版本的 cocos2d-js 的 API 没有完全对应
/*** Sets the X rotation (angle) of the node in degrees which performs a horizontal rotational skew.** The difference between `setRotationalSkew()` an...
分类:Windows程序   时间:2015-04-09 21:42:11    阅读次数:177
android:layout_centerHorizontal="true"和 android:gravity="center_horizontal"什么区别
android:layout_marginTop="20dp" android:layout_centerHorizontal="true" //个人中心的妙用和 marginTop一起的妙用 android:layout_centerHorizontal:用于相对布局(RelativeLayo.....
分类:移动开发   时间:2015-04-08 21:28:49    阅读次数:153
575条   上一页 1 ... 44 45 46 47 48 ... 58 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!