<SeekBar
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/seek_bar"
/>private SeekBar seekBar;
seekBar=(SeekBar)findViewById(R.id.seek_bar);
seekBar.setMax(100);======================
就这么几句话,注释掉seekBar.setMax(100);
就能正常显示,否则就报错!
SDK是2.1的,这是为毛啊!为毛报错啊!
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/seek_bar"
/>private SeekBar seekBar;
seekBar=(SeekBar)findViewById(R.id.seek_bar);
seekBar.setMax(100);======================
就这么几句话,注释掉seekBar.setMax(100);
就能正常显示,否则就报错!
SDK是2.1的,这是为毛啊!为毛报错啊!
解决方案 »
- android Internal Server Error
- Android读取到了其他程序的私有文件,为什么呢?
- Android查看Proxy是否设置成功
- andriod service 监听按键
- android ScrollView滚动到底部和顶部的检测
- android 加载网络图片资源出现异常
- HttpGet抛出异常,不明白!求指导~
- 这个文件在什么地方? (/storage/emulated/0/Download/../update.zip)
- Android怎样在应用中启动另一个应用并放在后台运行?
- 软件在genymotion中总是停止运行,怎么办啊!
- android真的好用
- 控件的数组应用
android:max="100"
不知道为什么在java中会出错,奇怪.
最好还是贴上错误的log信息。