码迷,mamicode.com
首页 >  
搜索关键字:theme    ( 1906个结果)
关于android 控件的默认属性问题
每个控件都有很多属性 而对于一些属性会有其默认值  而这些默认值是哪里来的? 我们会想到style或者theme 可往往我们使用TextView或者一些常用的控件的时候并没有声明 style属性 或者theme属性啊 下面以最常用的TextView来进行分析 我们知道 开发中缩写的xml 布局文件 最后都会被解析成为一个对象      势必会调用构造方法来创建对象 下面我们...
分类:移动开发   时间:2015-05-28 21:38:46    阅读次数:407
sublineText
https://github.com/thinkpixellab/flatland{"color_scheme":"Packages/Theme-Flatland/FlatlandDark.tmTheme","flatland_square_tabs":true,"font_face":"Sour....
分类:Web程序   时间:2015-05-28 19:46:02    阅读次数:204
Missing styles.Is the correct theme chosen for this laytout
最近用eclipse的时候,编辑xml文件会报这个错,后来搜了搜stackoverflow,找到了解决方案: 如图所示: 这样选择之后,就不会报错了。...
分类:其他好文   时间:2015-05-28 18:11:41    阅读次数:146
you need to use a theme.appcompat theme (or descendant) with this activity 解决办法
当你想隐藏 Androidmanifest.xml android:n...
分类:移动开发   时间:2015-05-28 12:41:53    阅读次数:170
Android Studio 注释模板
1、主题。 File->Settings, 搜索Theme, 点开Appearance, 在右边面板的Theme中选择Darcula。 2、注释快捷键。 File->Settings, 搜索keymap,点开Keymap,在右边面板上搜索,找到Other->Fix doc comment,双击,选...
分类:移动开发   时间:2015-05-28 11:03:51    阅读次数:466
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
Android夜间模式实现
查看我的全部开源项目【开源实验室】 欢迎加入我的QQ群:【201055521】,本博客客户端下载【请点击】 本文原创,转载请注明地址:http://blog.kymjs.com/最近在做一个Android夜间模式的功能,又重新研究了一下Theme机制。贯彻我的风格,以解决问题为目标,写了个小Demo,简单了实现了切换夜间模式,为大家讲解。 在Activity中有一个方法叫setTheme()...
分类:移动开发   时间:2015-05-27 12:26:26    阅读次数:197
手把手教你打造一个Material Design风格的App(一)
你应该听说过Android的Material Design,它是在Android 5.0(Lollipop)版本引入的。在Material Design中还引入了很多新东西,比如Material Theme,新的小部件,自定义的阴影,矢量图片及自定义动画等。如果你之前没有用过Material Design,那么本文将是一个很好的入门教程。 在这篇教程中,我们将会学习Material Design...
分类:移动开发   时间:2015-05-27 10:19:40    阅读次数:384
CORAU OPENCART 2.X 自适应主题模板 ABC-0567
CORAU OPENCART 2.X 自适应主题模板 ABC-0567 ?Corau is a new responsive and elegant OpenCart theme. It’s suitable for fashion, clothing,high fashion, jewelries, shoes, hats, accessories stores. It...
分类:其他好文   时间:2015-05-26 21:39:13    阅读次数:177
android 程序中res/values-v14/styles.xml报错的解决办法
从旧的ADT迁移的新的ADT时,android 程序中res/values-v14/styles.xml报错:error: Error retrieving parent for item: No resource found that matches the given name :Theme.A...
分类:移动开发   时间:2015-05-26 20:40:01    阅读次数:188
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!