LZ你是指下拉高度吗?你怎么拉伸的啊?
你可以用Adapter来配置XML , 从而设计你的下拉效果的。
LZ看看这个贴
http://www.eoeandroid.com/thread-23806-1-1.html
你可以用Adapter来配置XML , 从而设计你的下拉效果的。
LZ看看这个贴
http://www.eoeandroid.com/thread-23806-1-1.html
解决方案 »
- 在android 4.0上移植完重力感应驱动(bma150.c)之后,屏幕不能旋转
- java.lang.RuntimeException: Unable to instantiate application com.aaa.sc.app.bb
- 无法理解的onMeasure(int widthMeasureSpec, int heightMeasureSpec)
- editText失去焦点发送数据,进行验证,为什么吗没反应啊
- 看到很多文章说不能随便把Activity的this针传给其它类使用,说很容易造成GC对Activity回收不了,怎么解决
- Android中的io操作
- 为什么总说我这个intent方法有错呢
- 实现群聊功能,大侠给个思路
- 求android4.2.2的源码下载地址
- 关于移动开发的一些基础性问题
- 相册适配器属性问题
- Android, BREW中Observer(观察者)模式的两种表现
就是我们C++里的combobox那个东西 我把的height拉小一点,在模拟器上跑好像被切掉了一样
而且这个combobox里的字体很大 不知道怎么改小点 谢谢
private class MyArrayAdapter<String> extends ArrayAdapter<String> { public MyArrayAdapter(Context context, String[] resourceId,
int textViewResourceId) {
super(context, textViewResourceId, resourceId);
} public TextView getView(int position, View convertView, ViewGroup parent) {
TextView v = (TextView) super
.getView(position, convertView, parent);
Typeface tf =Typeface.createFromAsset(getAssets(), "fonts/samplefont.ttf");
v.setTypeface(tf);
v.setTextSize(30);
return v;
} public TextView getDropDownView(int position, View convertView,
ViewGroup parent) {
TextView v = (TextView) super
.getView(position, convertView, parent);
Typeface tf =Typeface.createFromAsset(getAssets(), "fonts/samplefont.ttf");
v.setTypeface(tf);
v.setTextSize(30);
return v;
} }