一个关于设置imagebutton的问题 本人菜鸟,求各位大牛帮忙啊!在xml中怎么设置俩个imagebutton并列一行,且各占一半啊!额。。还有个问题,在listview中添加item,比如添加文档,貌似默认的新建的在之前建的下面,怎么让新建的文档在之前建的文档上面呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <imagebutton android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1"/> <imagebutton android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1"/> </LinearLayout>先排下序,在绑定在listview上 第一个问题上面的已经回到了,我回答第二个,在activity里面,定义一个ArrayAdapter,使用数组给这个ArrayAdapter赋值,把你的新建的文档放在数字的前面,这样就可以了 急求!模拟器上能通过网络访问,在真机上就不能 android如何将 buffer显示视频 android中的logcat调试问题 Lucene3移植到Android下的疑问 CTS测试中遇到的问题 如何理解android多线程里的getLooper方法 Android老油条请进 android关于锁的问题 android修改默认时区 波兰时区谁知道呀 ? android传输参数,在webservice中是空值,求处理 初学android,请教登录构建好的model要储存在哪里? EditText控件多行问题
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<imagebutton
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<imagebutton
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"/>
</LinearLayout>先排下序,在绑定在listview上