码迷,mamicode.com
首页 >  
搜索关键字:styles    ( 1371个结果
compass 基础
/*! Welcome to Compass. * In this file you should write your main styles. (or centralize your imports) * Import this file using the following HTML or ...
分类:其他好文   时间:2015-06-07 01:00:48    阅读次数:139
Computed Styles
The styleobject offers no information about the styles that have cascaded from style sheets and affect the element. DOM Level 2 provide a method calle...
分类:其他好文   时间:2015-06-06 17:46:16    阅读次数:100
C++ MFC Tab Control控件的详细使用
1. 新建一个MFC工程, 取名MyTab, 选择Dialog based, 然后Finish.2. 删除对话框上默认添加的三个控件. 添加Tab Control控件并在Property属性中设置ID为IDC_TABTEST 在More Styles里勾上Bottom. 调速尺寸使其布满整个对话框,...
分类:编程语言   时间:2015-06-06 16:30:58    阅读次数:120
Android中自定义Activity和Dialog的位置大小背景和透明度等demo
1.自定义Activity显示样式先在res/values下建colors.xml文件,写入:[xhtml]view plaincopy#9000这个值设定了整个界面的透明度,为了看得见效果,现在设为透明度为56%(9/16)左右。再在res/values/下建styles.xml,设置程序的风格[...
分类:移动开发   时间:2015-06-04 09:40:55    阅读次数:178
actionbar tab字体颜色
In fact it is pretty easy.All you should do is defining an attribute like thisand thenadding these styles to your theme@style/tabtextcolor@style/tabte...
分类:其他好文   时间:2015-06-02 17:12:59    阅读次数:99
兔子-Android 项目中values-v11 values-v14
values-v11代表在API 11+的设备上,用该目录下的styles.xml代替res/values/styles.xml values-v14代表在API 14+的设备上,用该目录下的styles.xml代替res/values/styles.xml 其中API 11+代表android 3.0 + 其中API 14+代表android 4.0 +...
分类:移动开发   时间:2015-05-29 20:26:23    阅读次数:151
AcitonBar 自定义布局
Android系统中ActionBar默认的布局不美观且难于控制,通过为ActionBar自定义布局的方式可以灵活控制ActionBar。自定义Activity主题和ActionBar样式在新建的android工程的res/values/styles.xml添加自定义ActionBar样式的代码和自...
分类:其他好文   时间:2015-05-29 08:31:30    阅读次数:127
Missing styles.Is the correct theme chosen for this laytout
最近用eclipse的时候,编辑xml文件会报这个错,后来搜了搜stackoverflow,找到了解决方案: 如图所示: 这样选择之后,就不会报错了。...
分类:其他好文   时间:2015-05-28 18:11:41    阅读次数:146
Android中如何利用attrs和styles定义控件
一直有个问题就是,Android中是如何通过布局文件,就能实现控件效果的不同呢?比如在布局文件中,我设置了一个TextView,给它设置了 textColor,它就能够改变这个TextView的文本的颜色。这是如何做到的呢?我们分3个部分来看这个问题1.attrs.xml 2.styles.xml ...
分类:移动开发   时间:2015-05-28 17:45:21    阅读次数:321
android 自定义标题栏
首先给大家推荐2个不错的android UI设计图库网站:http://iconmonstr.com/,http://iconfont.cn/。用到的两个png图片是从上面找的: 首先是自定义theme,不能用默认的主题,会报错;you cannot combined....。修改res/values/styles.xml: <!-- Base applicat...
分类:移动开发   时间:2015-05-28 10:59:39    阅读次数:176
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!