添加ActionBar 只需要在AndroidManifest.xml中指定Application或Activity的theme即可: android:theme="@style/AppTheme"?> res/values/styles.xml指定AppTheme: <resources>
????<!--
????????B...
分类:
其他好文 时间:
2014-11-15 10:10:54
阅读次数:
218
隐藏最顶端的通知条(Top Notification Bar/ActionBar)本文地址: http://blog.csdn.net/caroline_wendyAndroid中, 视频播放等功能需要全屏播放, 就需要隐藏最上面的Notification Bar/ActionBar;最上面的Bar, 其实是与Theme有关, 在Theme中有些设计样式(style), 就可以隐藏这个”条".代码...
分类:
移动开发 时间:
2014-11-15 08:54:51
阅读次数:
165
在AndroidManifest.xml文件中,可以对每一个Activity设置android:themetheme的设置 可以设置为系统自带的格式,也可以自定义格式。A: 系统自带格式 1、android:theme="@android:style/Theme"默认状态,即如果theme这里不填任...
分类:
其他好文 时间:
2014-11-14 09:14:55
阅读次数:
1399
1、将MainActivity以对话框的形式显示,首先在AndroidManifest.xml 文件中,申明 activity 的主题使用自定义对话框样式。 2、res/values/styles.xml 样式文件中定义一个对话框主题样式,这里继承了 android:style/Theme.Dial...
分类:
移动开发 时间:
2014-11-14 00:01:28
阅读次数:
257
============问题描述============ values/styles.xml文件中:报错:Noresourcefoundthatmatchesthegivenname'android:Theme.Holo.Light;values-v11/styles.xml文件中:报错:Nores...
分类:
移动开发 时间:
2014-11-08 13:22:38
阅读次数:
163
1,文章写的挺好
http://www.oschina.net/translate/making-sublime-text-2-beautiful
可惜,没有写操作。
https://github.com/mrappleton/aqua-theme
相同的项目还有:
https://github.com/buymeasoda/soda-theme (最后使用的是这个)
还好...
分类:
系统相关 时间:
2014-11-07 23:37:45
阅读次数:
459
可根据选择的效果生成资源http://jgilfelt.github.io/android-actionbarstylegenerator/#name=example&compat=sherlock&theme=light&actionbarstyle=transparent&texture=0&h...
分类:
移动开发 时间:
2014-11-07 18:52:37
阅读次数:
233
1.首先 投票有一个挂件,vote_xxxx在_config.html中,上传一个图片,作为背景图片。在default.html中,"/> 图片的显示。因为,上传的时候图片仅仅是一个编号,通过stroager把它转换一下。在theme_widget_vote_autumn.php中,增加代码: .....
分类:
其他好文 时间:
2014-11-07 18:44:14
阅读次数:
212
摘要 Android平台定义的主题样式: android:theme="@android:style/Theme.Dialog" // 将一个Activity显示为对话框模式android:theme="@android:style/Theme.NoTitleBar" // 不显示应用程序标题栏android:theme="@android:style/Theme.NoTitleBar.Fulls...
分类:
移动开发 时间:
2014-11-07 11:24:47
阅读次数:
334
Android - 错误:"No resource found that matches the given name android:Theme.Material"本文地址: http://blog.csdn.net/caroline_wendy错误: "No resource found that matches the given name 'android:Theme.Material.L...
分类:
移动开发 时间:
2014-11-07 08:42:05
阅读次数:
172