用代码实现将activity标题设置成图片。
01
@Override
02
public void onCreate(Bundle
icicle) {
03
super.onCreate(icicle);
04
Windo...
分类:
其他好文 时间:
2014-12-26 11:11:48
阅读次数:
199
1.super被引入的初衷 super()通常是被说成super函数,其实它是一个内置的类,是在Python2.2中新增加的,super()实例化一个super对象,这个super对象充当一个访问代理的角色,它帮助子类的对象访问父类,祖父类以及所有祖先类中被方法(尤其是访问那些被子类重写的方法)。 ...
分类:
编程语言 时间:
2014-12-25 14:25:36
阅读次数:
423
一、listviewpublicclassListViewForScrollViewextendsListView{publicListViewForScrollView(Contextcontext){super(context);}publicListViewForScrollView(Contextcontext,AttributeSetattrs){super(context,attrs);}publicListViewForScrollView(Contextcontext,AttributeS..
分类:
其他好文 时间:
2014-12-25 10:06:24
阅读次数:
158
编程小白一枚,如题,如何才能做到,我现在已经在app中添加了浮动的导航菜单,我希望在点击导航菜单的时候启动一个新的activity,但是下面的代码完成不了,请大神看一下
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentV...
分类:
移动开发 时间:
2014-12-24 18:08:17
阅读次数:
177
代码实现
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
//使用图片初始化背景色
self.view.backgroundColor = [UIColor colorWithPat...
分类:
移动开发 时间:
2014-12-24 18:02:30
阅读次数:
139
项目来源:http://blog.csdn.net/super_spy/article/details/9700815这个资源简直是无法更赞了。这个动画分析效果图如下:源码分析及注释:注:overridePendingTransition只支持android 2.0以上版本Android的动画效果分...
分类:
移动开发 时间:
2014-12-24 16:09:20
阅读次数:
301
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode == RESULT_OK) {
switch (requestC...
分类:
移动开发 时间:
2014-12-24 11:52:24
阅读次数:
233
public class EyeView extends FrameLayout {
private Paint paint;
private Bitmap bitmap;
public EyeView(Context context) {
super(context);
init();
}
public EyeView...
分类:
微信 时间:
2014-12-23 21:18:01
阅读次数:
488
public class ParamButton extends Button
{
// com.ts.factoryset.ParamButton
private int mParam;
public ParamButton(Context context)
{
super(context);
}
public ParamButton(Context contex...
分类:
移动开发 时间:
2014-12-23 19:30:00
阅读次数:
166
摘要:国产手机一直都有山寨手机的影子,iPhone 6 发布之后,国产手机就开始了新的模式。
尼采Super 6:依然耿直
就是这样的尼采,从来在抄袭,从来没超越的尼采;从iPhone 4就开始抄袭,从iPhone 4时代就抢占了乡镇手机营运市场的尼采。不过尼采相较别的厂商还是很“耿直”的,人家就是“做自己”,就是采用了那句“比逼格更逼格”的宣传语,就是这么任性!
小霸王X7:重视用户体...
分类:
其他好文 时间:
2014-12-23 15:34:38
阅读次数:
128