码迷,mamicode.com
首页 >  
搜索关键字:android 动画    ( 113161个结果
解决布局北键盘顶的难题
注册文件里面写上这句代码就ok了!!!可能网上会有很多答案,但是经本人试验,这种靠谱。也许不同的情况下有不同的解决吧!!windowSoftInputMode属性设置值说明。attributes:android:windowSoftInputMode活动的主窗口如何与包含屏幕上的软键盘窗口交互。这个...
分类:其他好文   时间:2014-05-10 08:06:14    阅读次数:301
官方关于Dialog的介绍
将Activity显示成Dialog的形式:Tip: If you want a custom dialog, you can instead display an Activity as a dialog instead of using the Dialog APIs. Simply creat...
分类:其他好文   时间:2014-05-10 07:52:33    阅读次数:369
ActionBar Fragment的一个sample activity
public class MainActivity extends ActionBarActivity { private static ActivityManager am; private static List appList; private static List ta...
分类:其他好文   时间:2014-05-10 07:49:35    阅读次数:256
ios fix UIRefreshControl bug
NS_CLASS_AVAILABLE_IOS(6_0) UIRefreshControl 有个毛病有时会出bug 动画下拉就不动了,这里给出修复处理:@interface UICollectionView (FixRefreshControlJump)@end#import "UICollectio...
分类:移动开发   时间:2014-05-10 07:44:40    阅读次数:529
Eclipse使用Ant编译提示Class not found: javac1.8
今天用Ant打包Android,apk,运行出现了batch_build.xml Class not found: javac1.8的错误,后来上网查了一下是Ant版本太低,低于1.9,无法和java1.8兼容,因为我的java运行环境是1.8的,Ant版本也是1.8,所以就只有升级Ant版本了.....
分类:编程语言   时间:2014-05-10 07:43:43    阅读次数:391
C/C++ -- Gui编程 -- Qt库的使用 -- 使用图片与动画
QWidget工程 1 #include "mywidget.h" 2 #include "ui_mywidget.h" 3 #include 4 #include 5 #include 6 #include 7 8 MyWidget::MyWidget(QWidget *parent) ...
分类:编程语言   时间:2014-05-10 06:36:46    阅读次数:354
Android_Training
http://wiki.eoeandroid.com/Android_Training   Android小白成长之初级篇...
分类:移动开发   时间:2014-05-09 21:46:46    阅读次数:297
Android 获取剩余存储空间
获取android设备可用的本地存储空间剩余大小Filedatapath=Environment.getDataDirectory();StatFsdataFs=newStatFs(datapath.getPath());longsizes=(long)dataFs.getFreeBlocks()*(long)dataFs.getBlockSize();longavailable=sizes/((1024*1024));
分类:移动开发   时间:2014-05-09 21:29:46    阅读次数:427
Android应用程序启动过程——Launcher源码分析
当我们在Launcher界面单击一个应用程序图标时就会启动一个程序,那这一个过程究竟发生了些哪样呢?让我们跟踪Launcher源码来分析一下吧。先上流程图:step1、追踪Launcher从源码中我们可以发现Launcher其实也是一个程序,它继承于Activity。找到该文件中的onCreate()方法,代码..
分类:移动开发   时间:2014-05-09 21:22:25    阅读次数:497
android 控制手机音量的大小 切换声音的模式
(1)程序说明    在android API的AudioManager中,提供了调节手机音量的办法。 audioMa.adjustVolume(AudioManager.ADJUST_LOWER, 0);audioMa.adjustVolume(AudioManager.ADJUST_RAISE, 0);也可以调节手机声音的模式为震动或者静音 audioMa.setRingerMode(A...
分类:移动开发   时间:2014-05-09 20:54:59    阅读次数:464
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!