05-29 21:23:28.406: E/AndroidRuntime(23636):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.***.Main}: java.lang.IllegalStateE...
分类:
其他好文 时间:
2014-05-30 21:14:57
阅读次数:
376
从现在开始,在博客园上记录自己遇到的所有android开发问题:布局文件内容:
错误信息:05-28 21:05:59.976: W/dalvikvm(4638): threadid=1: thread exiting with
uncaught exception (...
分类:
其他好文 时间:
2014-05-30 01:51:26
阅读次数:
337
actionbar 默认放在顶部,
如果在application或者activity中加入android:uiOptions="splitActionBarWhenNarrow"那么,actionbar将在底部显示。自定义属性,包括自定义actionbar的背景颜色
自定义a...
分类:
移动开发 时间:
2014-05-29 19:34:26
阅读次数:
644
假设程序支持API11下面的版本号,那么须要改动多个地方values-v14
和values-v11以下的styles中也要写上 也要写上 @style/MyActionBar
就是说高版本号也要引用你自己定义的style否则在高版本号下设置无效。
分类:
其他好文 时间:
2014-05-27 18:10:46
阅读次数:
258
pager.setOffscreenPageLimit(2);
就可以让ViewPager多缓存一个页面
分类:
其他好文 时间:
2014-05-26 18:08:31
阅读次数:
190
If you are supporting pre-3.0 with your application
be sure you put this version of the custom theme invalues-v11or similar.
分类:
其他好文 时间:
2014-05-26 17:54:46
阅读次数:
206
v4
fragmentfragmentTransaction.setCustomAnimations(R.anim.push_left_in,
R.anim.push_left_out, R.anim.push_left_in,
R.anim.push_left_out);fragment入栈时,先...
分类:
其他好文 时间:
2014-05-26 10:30:54
阅读次数:
390
1. 欢迎页面 1) 分析 2) 规则 (1)
在2.3没有titlebar,在4.x没有Actionbar OK (2) 第一次进入程序才显示 OK (3) 动画效果 ...
分类:
移动开发 时间:
2014-05-25 22:57:28
阅读次数:
240
弄个导航贴,把相关知识来个汇总。
CSDN Android的客户端的效果图:
分别通过以下博客进行详细的讲解:
1、Android
使用Fragment,ViewPagerIndicator 制作csdn app主要框架
主要使用ViewPageIndicator , FragmentPagerAdapter ,ViewPag...
分类:
移动开发 时间:
2014-05-24 22:00:48
阅读次数:
422