onCreate方法太过冗长了吧。
如果不是必须用onCreate,可以设置一下,只走onConfigurationChanged(Configuration newConfig)
如果不是必须用onCreate,可以设置一下,只走onConfigurationChanged(Configuration newConfig)
解决方案 »
- 用拖拽生成的ui代碼是不是錯了
- android 如何实现多级树形结构图(至少5级)
- Connection with adb was interrupted, and attempts to reconnect have failed.
- 请问大家在android里面如何绘制长度为1cm的线
- 请问Android中类似iphone的TableView控件是啥?
- android读取音频问题
- android NDK 编译的时候出错。
- 为什么APP连上WIFI就请求数据很慢!就算是3G网络都比WIFI快的多!
- 请教个安装SDK的问题
- 在包“android”中找不到属性“compileSdkVersion”的资源标识符
- Android带权限的操作,怎么判断是否被拒绝或者允许。
- MyEclipse 10.0 配置Android 开发环境
android:screenOrientation="portrait"