1,Android FrameLayout的android:foreground属性可以设置单击时的前景色
<FrameLayout
android:id="@+id/poster_contanier"
android:layout_width="match_parent"
android:layout_height="match_pare...
分类:
移动平台 时间:
2014-09-16 12:42:40
收藏:
0 评论:
0 赞:
0 阅读:
331
compile the android source code one branch, android-4.4.3_r1.1...
分类:
移动平台 时间:
2014-09-16 12:41:10
收藏:
0 评论:
0 赞:
0 阅读:
245
/** * to judge if the net is available * 用户手机当前网络可用:WIFI、2G/3G/4G网络; * 用户打开与不打开网络,和是否可以用是两回事,打开了未必就可以上网 */ public static boolea...
分类:
移动平台 时间:
2014-09-16 12:37:10
收藏:
0 评论:
0 赞:
0 阅读:
299
//// MJViewController.m// 07-敲击(Tap)//// Created by apple on 14-4-20.// Copyright (c) 2014年 itcast. All rights reserved.//#import "MJViewController.h"...
分类:
移动平台 时间:
2014-09-16 12:35:50
收藏:
0 评论:
0 赞:
0 阅读:
245
使用Spinner遇到不少坑啊1.调用了setSelection()之后不会马上调用onItemSelected2.想调用setSelection之后不调用onItemSelected,需要写如下代码,注意顺序spinner.setSelection(spinnerItem, true);//这里必...
分类:
移动平台 时间:
2014-09-16 12:34:30
收藏:
0 评论:
0 赞:
0 阅读:
326
好久没写随笔了,最近在读《iOS 7byTutorials》,很不错,推荐给大家。 每一个好的程序员也都是一个设计师,不懂设计的程序员不是好的CTO。哈哈,开个小玩笑。 iOS 7设计的核心思想就是:-------->简洁。但在简洁的UI里面如何让用户发现当前界面的重点,对比度是我们最有力的...
分类:
移动平台 时间:
2014-09-16 12:30:00
收藏:
0 评论:
0 赞:
0 阅读:
284
什么是TabHost?TabHost组件的主要功能是可以进行应用程序分类管理,例如:在用户使用windows操作系统的时候,经常见到如图所示的图形界面。TabHost选项卡,说到这个组件,不得不先说一件事情,翻翻谷歌提供给我们的API,我们可以发现这样的一段话:它告诉我们,这个组件在安卓4.0之后已...
分类:
移动平台 时间:
2014-09-16 12:28:40
收藏:
0 评论:
0 赞:
0 阅读:
309
Intent updateIntent = new Intent(GetNoticeService.this,DetailGonggaoActivity.class);updateIntent.putExtra("type", "weidu");updateIntent.putExtra("titl...
分类:
移动平台 时间:
2014-09-16 12:28:20
收藏:
0 评论:
0 赞:
0 阅读:
1156
init.rc由许多的Action和Service组成。每一个语句占据一行,并且各个关键字被空格分开.由 # (前面允许有空格)开始的行都是注释行(comment)一个actions 或 services 的开始隐含声明了一个新的段,所有commands 或 options 属于最近的声明。在第一个...
分类:
移动平台 时间:
2014-09-16 12:27:50
收藏:
0 评论:
0 赞:
0 阅读:
263
//// MJViewController.m// 08-长按+轻扫//// Created by apple on 14-4-20.// Copyright (c) 2014年 itcast. All rights reserved.//#import "MJViewController.h"@i...
分类:
移动平台 时间:
2014-09-16 12:26:50
收藏:
0 评论:
0 赞:
0 阅读:
290
则在应用的时候, 类似代码如下
分类:
移动平台 时间:
2014-09-16 12:26:30
收藏:
0 评论:
0 赞:
0 阅读:
225
布局:在android中我们常用的布局方式有这么几种:1.LinearLayout (线性布局):(里面只可以有一个控件,并且不能设计这个控件的位置,控件会放到左上角) 线性布局分为水平线性和垂直线性二者的属性分别为: android:orientation="horizontal" android...
分类:
移动平台 时间:
2014-09-16 12:21:40
收藏:
0 评论:
0 赞:
0 阅读:
401
//// ViewController.m// zwj-手势识别-缩放和旋转//// Created by zwj on 14-9-16.// Copyright (c) 2014年 zwj. All rights reserved.//#import "ViewController.h"@inte...
分类:
移动平台 时间:
2014-09-16 12:18:10
收藏:
0 评论:
0 赞:
0 阅读:
261
第9章 Android动画效果Android系统提供了两种实现动画的方式,一种是补间动画(Tween Animation),另一种是帧动画(Frame Animation)。补间动画可以实现View组件的移动、放大、缩小以及渐变等效果,帧动画则提供了一种逐帧播放图片的动画方式。无论是补间动画还是帧动...
分类:
移动平台 时间:
2014-09-16 12:13:10
收藏:
0 评论:
0 赞:
0 阅读:
400
XE7 提交 App 后,在「Prerelease」里被提示了:Build 1.0.0 does not contain the correct beta entitlement. For more information, see the iTunes Connect Developer Guid...
分类:
移动平台 时间:
2014-09-16 12:12:50
收藏:
0 评论:
0 赞:
0 阅读:
362
1 phone:PhoneApplicationPage.ApplicationBar> 2 3 4 5 6 7 ...
分类:
移动平台 时间:
2014-09-16 12:10:00
收藏:
0 评论:
0 赞:
0 阅读:
302
IOS开发中经常要用到输入框,默认情况下点击输入框就会弹出键盘,但是必须要实现输入框return的委托方法才能取消键盘的显示,对于用户体验来说很不友好,我们可以实现点击键盘以外的空白区域来将键盘隐藏,以下我总结出了几种隐藏键盘的方法:首先说明两种可以让键盘隐藏的Method:1、[viewendEd...
分类:
移动平台 时间:
2014-09-16 12:08:10
收藏:
0 评论:
0 赞:
0 阅读:
320
由于手机银行目前还在推广阶段,因此目前大部分银行的手机银行转账都不收手续费。北京商报记者调查了京城10家银行,有7家银行的手机银行跨行异地转账手续费全免。另外,虽然有的银行收取一定的手续费,但也有优惠活动。因此,消费者若想在转账时更省钱,不妨趁现在的免费期使用手机银行。 据安卓资讯小编了解,京城1....
分类:
移动平台 时间:
2014-09-16 12:07:10
收藏:
0 评论:
0 赞:
0 阅读:
270
xaml: cs:myTranslateTransform.X = myTranslateTransform.X + 15;myTranslateTransform.Y = myTranslateTransform.Y...
分类:
移动平台 时间:
2014-09-16 12:05:20
收藏:
0 评论:
0 赞:
0 阅读:
261
近日发现启动tomcat的时候报如下警告:2014-9-16 10:25:26 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [] registered the JDB....
分类:
移动平台 时间:
2014-09-16 12:02:30
收藏:
0 评论:
0 赞:
0 阅读:
6359