码迷,mamicode.com
首页 >  
搜索关键字:theme    ( 1906个结果)
创建Android项目时出错——No resource found that matches the given name 'Theme.AppCompat.Light'
创建Android项目时出错,error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 问题描述: 创建一个Android应用项目时, ...
分类:移动开发   时间:2016-05-11 01:11:08    阅读次数:1575
Android statusbar 透明后 toolbar与之重叠问题的解决方法
之前想要给statusbar和toolbar实现这样的效果: 为使得statusbar变为透明,在自定义theme中给statusbar添加了以下属性: true可是在statusbar变透明后界面却变成下图这个样子:(即toolbar悬浮在statusbar之后) 为了说明情况,我用另一个更明显的界面来解释: 起初我简单粗暴的为toolbar加了一...
分类:移动开发   时间:2016-05-08 21:15:51    阅读次数:336
我的Android进阶之旅------>解决错误:You need to use a Theme.AppCompat theme (or descendant) with this activity.
1、错误描述今天,想实现Activity不显示标题栏的效果,在项目的AndroidManifest.xml文件,对相应的Activity添加属性 android:theme="@android:style/Theme.NoTitleBar"具体代码如下:<activity android:name=".module.view.activity.KuwoMusicPlayActivity"...
分类:移动开发   时间:2016-05-07 07:04:15    阅读次数:281
android 夜间模式的实现
注:急速开发的人,可以直接看第三种实现方式 1:修改theme,重启activity(Google自家在内的很多应用都是采用此种方式实现夜间模式的) 优点:正儿八经的夜间模式,配色看着舒服 缺点:规模较大的应用,需要随theme变化的属性会很多,都需要逐一定义,有点麻烦,另外一个缺点是要使得新theme生效,一般需要restartActivity来切换UI,会导致切换主题时...
分类:移动开发   时间:2016-05-06 15:52:35    阅读次数:191
poj1743
Musical Theme Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 24835 Accepted: 8377 Description A musical melody is represented as a sequenc ...
分类:其他好文   时间:2016-05-05 14:22:48    阅读次数:199
androidstudio新建项目中在布局文件中不显示title的方法
在androidstudio新建项目的时候,在布局文件里有时候会出现如下情况: 上面的标题栏非常碍眼,要想隐藏标题栏的话,可以在Manifest文件的theme标签里进行配置,自定义一个theme,加上如下两句。或者直接在当前theme中添加 ...
分类:移动开发   时间:2016-05-03 20:06:24    阅读次数:225
记录知识点与技巧
记录android知识点 去掉ActionBar android:theme="@android:style/Theme.Holo.NoActionBar" actionBar = getActionBar(); //得到ActionBar actionBar.hide(); //隐藏ActionBar requestWindowFeature(Window.FEATURE_NO_TITLE) .... ..........
分类:其他好文   时间:2016-05-03 18:07:29    阅读次数:191
eclipse color theme 主题颜色
第一步,安装Eclipse Color Theme Help -> Eclipse Marketplace -> 搜索Eclipse Color Theme - > 第一个为:Eclipse Color Theme1.0.0 -> install 安装完成之后,会自动重启软件。 我也尝试过:Help ...
分类:系统相关   时间:2016-05-01 17:38:32    阅读次数:250
后缀数组 POJ 1743 Musical Theme
题目链接 题意:给定n个数字,求超过5个数字的,最长的,变化相同的,不相交的重复子串 分析:男人8题中的一题!数列相邻两项做差,形成新数列,即求数列中的最长重复子串(不可相交)。 后缀数组+二分答案。假如二分得到答案L,如何知道它是可行的呢? 因为对于排序后的后缀,Lcp ( Suffix ( Li ...
分类:编程语言   时间:2016-05-01 09:47:11    阅读次数:171
25 个精美的手机网站模板
Dossier Mobi Stickers Playlist Mobi Gringo mobi Classic Mobi Premium Mobile Website Templates and Layouts Restaurant Mobile Theme Meat&Recipes Signum ...
分类:移动开发   时间:2016-05-01 06:33:41    阅读次数:296
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!